Please post mod releases in the Mod Showroom
Please read the Official Modification Forum Rules & Procedures BEFORE posting!
The following topics contain extremely useful data relating to the editing of missions and mission scripting:
If you are a begininer to mission coding, then please read Tutorial Links and Mission Coding Information.
Requests are to be made in the pinned topic.
how to fight other gangs
Posted 08 April 2012 - 12:24 PM
Posted 09 April 2012 - 11:12 AM
0x96ab64 // current gang war stage PC
= 0: no war
= 1: war provoked
= 2: first wave
= 3: first wave passed
= 4: second wave
= 5: second wave passed
= 6: third wave
0A8D: 0@ = read_memory 0x96ab64 size 4 virtual_protect 0
if 0@ == 1 then change the gang for the war
There are two groups that spawn during the war. The gang groups can be the same or different.
4@ = 4 // Da Nang
5@ = 5 // Mafia
0A8C: write_memory 0x96ab84 size 4 value 4@ virtual_protect 0 // Attack/War Gang
0A8C: write_memory 0x96ab50 size 4 value 5@ virtual_protect 0 // War Gang 2
Something else to mess with is the gang strength. This is usually determined by the density of the war zone. A gang strength of 3 is not seen in an unmodded game.
strength digits :
00 = armed with bats, 9mm pistols, Micro-SMG, and SMG ( rival density of 1 to 14 )
01 = armed with 9mm pistols, Micro-SMGs, SMG, and AK-47 ( rival density of 15 to 29 )
02 = armed with Micro-SMGs, SMGs, and AK-47s ( rival density of 30 and above )
03 = armed with SMGs, AK-47s, and Desert Eagles ( not seen without modification )
04 and above will eventually crash the game
0A8C: write_memory 0x96ab58 size 4 value 3 virtual_protect 0 // Gang Strength
Posted 09 April 2012 - 05:54 PM
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users