Page 7 of 7
Re: Collection of gta scripting and map weirdness
Posted: 23 Dec 2015, 17:31
by T.M.
B-$hep wrote:Is it just me or this really makes miss2 crash because of the "CHECK_MULTIPLIER_GREATER" ??
[mis]player_ped p1 = ( 44.5 , 102.0 , 2.0 ) 25 0
LEVELSTART
CHECK_MULTIPLIER_GREATER ( p1 , 7 )
LEVELEND[/mis]
Oh yeah, we really need a common paper with all the knowledge... its too widespread. Im surprised Sektor even remembered that bug!
Re: Collection of gta scripting and map weirdness
Posted: 24 Dec 2015, 02:55
by Sektor
I had to search the forum for that command to find the post but it did seem familiar. Thanks for volunteering to clean up all the GTA2 documentation
Re: Collection of gta scripting and map weirdness
Posted: 26 Jan 2016, 07:05
by B-$hep
I noticed in hex editor that miss2 puts silently "END" string into .scr file. After declaration like this:
[mis]OBJ_DATA rocket1 = (88.0, 110.0) 0 COLLECT_02 15[/mis]
Did you knew?
Docs say that its used only for ex:
[mis]name = CREATE_OBJ ( float X , float Y ) rotation model END[/mis]
NEW CHANGE: certain commands must have an ‘end’ at the end of the line.
Another undocumented stuff?
Re: Collection of gta scripting and map weirdness
Posted: 11 Dec 2023, 13:27
by valps
Adding a player (e.g. p1) to a gang with
ADD_CHAR_TO_GANG (p1, any_gang)
causes him to lose control of his char if taken out of his car by another char (cop or another player), and to attack this char until he dies. Meanwhile, you be able only to jump or change your weapon.
It's funny because this bug allow you (actually your possessed char) to kill people by punching, which is normally impossible. And it happens in multiplayer as well!