|
 |
|
|
|
|
|
GTA Modification Forums
How to move the mission "Doberman" to #1 mission Need help!
 |
|
 |
| |
OrionSR  |
Posted: Tuesday, Apr 24 2012, 20:22
|
Chain Game Development Team

Group: Members
Joined: May 23, 2007


|
To create completely new zones you would need to alter info.zon. However, I suspect that isn't really what you are after. To change the gang density of a zone use: | CODE | | 076C: set_zone 'ELCO1' gang 2 density_to 40 |
You may also want to change the zone peds to include groups with gang members (see popcycle.dat). | CODE | | 0874: set_zone 'CHC1A' popcycle_group_for_peds_to 9 |
pdescobar's zone map might come in handy. Snippet that allows the game scripts to unlock all clothes shops and make all properties except for Wang's Autos and the airstrip available for purchase. | CODE | :sub_CG_Debug_TempStore // we need to change these for the OpenUp routine, so we save them now and restore later (@sub_CG_Debug_TempRestore) 0652: 8@ = integer_stat 181 // cities unlocked 008B: 9@ = $23 // internal OPENUP helper var
:sub_CG_OpenUpProperty //PDE: Late-game Clothes shops and safehouses from OPENUP thread 00D6: if 0038: $174 == 0 004D: jump_if_false @sub_CG_OpenUpProperty_End $ONMISSION = 1 // must be on mission before unlocking cities or mobile phone script may end too soon 0629: change_stat 181 to 4 0004: $23 = 1
:sub_CG_OpenUpProperty_Wait 0001: wait 250 ms 0AAA: 0@ = thread 'OPENUP' pointer // checks if OPENUP thread is active 00D6: if 0039: 0@ == 0 // OPENUP thread not active i.e. thread has ended 004D: jump_if_false @sub_CG_OpenUpProperty_Wait
0001: wait 50 ms // lots of extra time for next line to unlock the door 0004: $174 = 1 // Flag Didier Sachs as marked and open (doesn't matter, thread has ended) :sub_CG_OpenUpProperty_End
:sub_CG_Debug_TempRestore // restore the temp stuff we saved earlier (@sub_CG_Debug_TempStore) 0629: change_integer_stat 181 to 8@ // cities unlocked 008A: $23 = 9@ // internal OPENUP helper var $ONMISSION = 0 |
Another method to unlock interiors. | CODE | 07FB: set_interior 'AMMUN1' access 1 // Ammu-Nation 07FB: set_interior 'AMMUN2' access 1 // Ammu-Nation 07FB: set_interior 'AMMUN3' access 1 // Ammu-Nation 07FB: set_interior 'AMMUN4' access 1 // Ammu-Nation 07FB: set_interior 'AMMUN5' access 1 // Ammu-Nation 07FB: set_interior 'BARBERS' access 1 // Barber 07FB: set_interior 'BARBER2' access 1 // Barber 07FB: set_interior 'BARBER3' access 1 // Barber 07FB: set_interior 'FDPIZA' access 1 // Pizza Stack 07FB: set_interior 'FDCHICK' access 1 // Cluckin' Bell 07FB: set_interior 'FDBURG' access 1 // Burger Shot 07FB: set_interior 'TATTOO' access 1 // Tattoo Parlor 07FB: set_interior 'CSCHP' access 1 // Binco 07FB: set_interior 'CSSPRT' access 1 // Pro-Laps 07FB: set_interior 'LACS1' access 1 // Sub Urban 07FB: set_interior 'CLOTHGP' access 1 // Zip 07FB: set_interior 'CSDESGN' access 1 // Victim 07FB: set_interior 'CSEXL' access 1 // Didier Sachs
07FB: set_interior 'GYM1' access 1 // Ganton Gym 07FB: set_interior 'GYM2' access 1 // Cobra Martial Arts 07FB: set_interior 'GYM3' access 1 // Below the Belt Gym
07FB: set_interior 'CARLS' access 1 // The Johnson House 07FB: set_interior 'PDOMES' access 1 // The Pleasure Domes 07FB: set_interior 'PDOMES2' access 1 // The Pleasure Domes 07FB: set_interior 'MADDOGS' access 1 // Madd Dogg's Crib 07FB: set_interior 'MDDOGS' access 1 // Madd Dogg's Crib 07FB: set_interior 'GANG' access 1 // Vagos Gang House 07FB: set_interior 'RCPLAY' access 1 // Zero's RC Shop 07FB: set_interior 'PAPER' access 1 // Planning Department 07FB: set_interior 'ABATOIR' access 1 // Sindacco Abattoir 07FB: set_interior 'LACRAK' access 1 // Crack Den |
Yet another method to unlock properties. | CODE | | 09B4: set_object_property_at $X_PROPERTY_TO_BUY[8] $Y_PROPERTY_TO_BUY[8] radius 10.0 bitmask 16384 flag 1 // Palomino Creek |
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
Track this topic
Receive email notification when a reply has been made to this topic and you are not active on the board.
Subscribe to this forum
Receive email notification when a new topic is posted in this forum and you are not active on the board.
Download / Print this Topic
Download this topic in different formats or view a printer friendly version.
| |
 |
|
 |
|
|
|
|