Cerbera Ben 'Cerbera' Millard
- Joined: Feb '03
- Posts: 1,800
| Here's the code for a normal tank kill frenzy:Code:
14100 DISABLE 15001 14130 0 0 0 14101 KICKSTART 14113 0 -1 -1 -1 14102 MESSAGE_BRIEF 0 14126 0 0 2503 14103 FRENZY_SET 14106 0 -1 -1 0 14104 KICKSTART 14106 0 -1 -1 -1 14105 KICKSTART 14107 -1 -1 -1 -1
14106 FRENZY_CHECK 10000 14120 14106 0 0
14107 KF_BRIEF_TIMED 0 0 0 120 2502 14108 SURVIVE 0 0 0 2400 0 14109 MESSAGE_BRIEF 0 0 0 0 2504 14110 RESET_KF 0 -1 -1 -1 0
14113 DEAD_ARRESTED 666 0 14113 -1 0 14115 MESSAGE_BRIEF 0 0 0 0 2504 14116 KF_CANCEL_BRIEFING 14107 0 0 0 0 14117 RESET_KF 0 -1 -1 -1 0
14120 MESSAGE_BRIEF 0 0 0 0 2505 14121 KF_CANCEL_BRIEFING 14107 0 0 0 0 14122 ADD_A_LIFE 0 0 -1 -1 0 14123 RESET_KF 0 0 -1 -1 0 14124 DROP_WANTED_LEVEL 0 0 0 0 0 14125 DECCOUNT 20020 17000 -1 0 0
14126 FRENZY_BRIEF 0 14103 -1 0 2516 14130 KF_PROCESS 0 0 -1 -1 0 14131 DECCOUNT 20010 0 0 0 0 14132 KICKSTART 14135 14101 -1 -1 -1
14135 IS_PED_IN_CAR 666 14135 14115 -1 0 The limits they have are: You run out of time. You reach the target score. Therefore we need to remove both these aspects of the code.
14104 starts 14106, this is checking the score. 14105 starts 14107, this is checking the time. So, delete lines 14104 and lines 14105 it it should continue until you die or get out. :)
To find Tank Kill Frenzies in other mission files: Search the file "mission.INI" for "PARKED 37" - this is the modelID of a Tank. Search in chapters [102] [103] [202] and [203] as these are San Andreas and Vice City. Once you find a PARKED 37, you should get a bit of code like this: Code:
15000 1 (125,133,4) PARKED 37 768 15001 1 (125,133,4) CARTRIGGER 14100 15000 15050 1 (125,133,4) DUMMY 0 0 This is creating a tank (modelID 37) at those co-ords. The CARTRIGGER means that when you get into object 15000 (the line the tank is declared at) the code jumps to 14100... if you remeber 14100 is where the tank code started in the example up there. So then, if you search mission.INI and find a PARKED 37 with those sorts of lines underneath, do another search for the number just after the CARTRIGGER. This takes you to the commands that the tank will be using. I'm pretty sure they all use the same basic format, so delete the last 2 KICKSTART commands in the first paragraph of code and it should stop it waiting till you get the points or run out of time.
Wow, been a good year since I did any mission.INI work... guess you never lose it! :D
EDIT: All the 'D' chacaters turned into smilies!! ------------------
|
|---|