I have made a multiplayer map with two gangs.
But the respect doesn´t chance when i kill gang members.
The respect only changes when i destroy or steal a gang car.
Can someone tell me how to script?
This is my script:
SET_GANG_INFO ( russgang , 10 , pistol , shotgun , machine_gun , 7 , 246.5 , 22.5 , 2.0 , 10 , buick , 28 )
SET_GANG_INFO ( krisgang , 9 , pistol , molotov , flame_thrower , 6 , 156.5 , 10.5 , 2.0 , 10 , krsnabus , -1 )
SET_GANG_KILL_REACTION ( russgang , krisgang , 10 )
SET_GANG_KILL_REACTION ( krisgang , russgang , 10 )
What is wrong?
Problem to script a gang
-
- Jaywalker
- Posts: 9
- Joined: 14 Feb 2010, 19:52
- GH nick: Steve
- Lantyz
- Psycho
- Posts: 71
- Joined: 14 Apr 2009, 08:20
- GH nick: Lantyz
- Location: The Netherlands
- Contact:
Re: Problem to script a gang
Welcome at GTAMP, Steve! I see LEVELSTART and LEVELEND are missing in your example. Make sure the SET_GANG_KILL_REACTION commands are placed after LEVELSTART, and the SET_GANG_INFO commands before LEVELSTART. The rest of your code looks fine. See also Creating gangs (GTA2) at WikiGTA.
-
- Lunatic
- Posts: 456
- Joined: 19 Jul 2008, 14:14
- GH nick: Razor, R
- Location: Poland / Szczecin
- Contact:
Re: Problem to script a gang
also if you paste a script from gta use that tags: [code][/code]
-
- Jaywalker
- Posts: 9
- Joined: 14 Feb 2010, 19:52
- GH nick: Steve
Re: Problem to script a gang
Thank you for your very fast help.
Now it works.
Is there a list with all Gang IDs where i can see what icon they have?
Now it works.
Is there a list with all Gang IDs where i can see what icon they have?
- Gustavob
- Immortal
- Posts: 407
- Joined: 18 May 2009, 21:40
- GH nick: Gustavob
|Gustavob| - Location: Nowhere.
- Contact:
Re: Problem to script a gang
http://en.wikigta.org/wiki/Code_lists_% ... ter_remaps
remaps 5-13 are gang remaps, but all of those remaps can be used in "outfit" parameter.
remaps 5-13 are gang remaps, but all of those remaps can be used in "outfit" parameter.
You just lost the game.
-
- Immortal
- Posts: 334
- Joined: 15 Apr 2012, 08:26
Re: Problem to script a gang
The value that in SET_GANG_KILL_REACTION command that you wrote is wrong. This value must be 1 through 5.SET_GANG_INFO ( russgang , 10 , pistol , shotgun , machine_gun , 7 , 246.5 , 22.5 , 2.0 , 10 , buick , 28 )
SET_GANG_INFO ( krisgang , 9 , pistol , molotov , flame_thrower , 6 , 156.5 , 10.5 , 2.0 , 10 , krsnabus , -1 )
SET_GANG_KILL_REACTION ( russgang , krisgang , 10 )
SET_GANG_KILL_REACTION ( krisgang , russgang , 10 )
Re: Problem to script a gang
- Old School GTA2 Mapper and Scripter.
- Creator of the original GTA2 Scripting tutorials hosted by Ben Millard.
Re: Problem to script a gang
A medic ped raising a thread would be more suitable.
Re: Problem to script a gang
It's Friday here, plus I like the look of it too
- Old School GTA2 Mapper and Scripter.
- Creator of the original GTA2 Scripting tutorials hosted by Ben Millard.