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.
Generic SA SCM Documentation
Posted 26 February 2007 - 07:26 AM
You could build up your own list through the Sanny Builder console.
Posted 03 March 2007 - 05:58 PM
Posted 05 March 2007 - 12:15 PM
2: -item pickup, respawn time 30s, respawn distance 15m
3: -item pickup, does not respawn.
4: -item picked-up, does not respawn.
5: -item pickup, does not respawn.
8: -item picked-up, does not respawn.
9: -proximity bomb?, selfdestruct when player driving in proximity 20m, explodes upon contact with vehs
10: -proximity bomb?, selfdestruct when player driving in proximity 20m, explodes upon contact with vehs
11: -proximity bomb?, selfdestruct when player driving in proximity 20m, explodes upon contact with vehs
12: -proximity bomb?, selfdestruct when player in proximity 40m, explodes upon contact with vehs
13: -item photo-op, fake pickup drops slowly down, real visible when photographed.
14: -vehicle pickup, drive thru it to make it dissapear, does not respawn.
15: -item pickup, respawns after time.
16: -unpickable, (originally property)
17: -shows cancel popup. (originally property)
18: -paycash pickup, pay amount to make it dissapear. (originally property)
19: -getcash pickup, get amount to make it dissapear.
20: -snapshot pickup, photograph it to make it dissapear, adds 1 snapshot collected.
21: -2nd player pickup, press second controller to make it dissapear.
i haven't seen anything like that here so: that is what i gathered until now. it shows a small bit of how you can mess around with this opcode in future- like special pickups only for vehicles... yet, much to discover please contribute.
Posted 18 April 2007 - 08:15 PM
Seemann, some of the used-only-once variables aren't useless (like weapon pickups and money pickups). Can you also list all variables that doesn't appear in the file?
Edited by spaceeinstein, 19 April 2007 - 04:47 PM.
Posted 03 August 2007 - 01:46 AM
i looking for animation ids... is there such a thing?
Posted 03 August 2007 - 09:23 AM
In case anyone is looking for the VC list, here it is:
Vice City Animation List
Edited by ceedj, 03 August 2007 - 11:07 AM.
Posted 18 August 2007 - 03:45 PM
This is very interesting topic but has also raised a question for me to ask about changing the player gang weapons including the "All 100 Tags" sprayed when they get the pistol and tec-9 weapons replaced with:
Weapon ID - 4 (Knife)
Weapon ID - 24 (Desert Eagle)
Weapon ID - 29 (MP-5)
I wonder if anyone would know how to change these weapons over to some more deadly weapons that I would like to use which are
Weapon ID - 8 (Katana)
Weapon ID - 31 (M4)
Weapon ID - 37 (Flamethrower)
If someone could show me how this is done or could send me a main.scm file with this mod in already. I would be very pleased because this would be cool to use in gang wars ne . But if I have to start a fresh game again then this won't matter to me .
Posted 26 August 2007 - 01:33 PM
2=front left door
3=front right door
4=rear left door
5=rear right door
Posted 27 August 2007 - 05:24 AM
|QUOTE (1stgenLX-Turbo @ Aug 26 2007, 22:33)|
|Car Component ID|
|10 = windshield|
11 = front bumper
12 = rear bumper
Posted 11 December 2007 - 11:24 PM
Posted 17 December 2007 - 01:43 AM
One non-radio note regarding those stats:
stat 337 "Territory Under Control" just controls the display of that statistic (set to 1 so that it appears, 0 so that it doesn't) rather than containing the actual number or pct of territories.
Posted 27 December 2007 - 03:14 AM
These are the buttons ids for use with texts commands. Example:
|03E5: text_box 'NITROH1'|
Where "NITROH1" is in GXT file "Press ~k~~PED_FIREWEAPON~ to activate the car's nitrous." where in game is displayed "Press LMB to activate the car's nitrous."
Edited by Rapier, 29 September 2008 - 08:54 AM.
Posted 02 January 2008 - 07:31 PM
|0776: create_objects_in_object_group "CRACK" //Truths Farm v2|
0776: create_objects_in_object_group "countryw_stream5" //Crack v2
0776: create_objects_in_object_group "sfse_stream0" //Barriers1 v2
0776: create_objects_in_object_group "sfse_stream1" //Barriers2 v2
0776: create_objects_in_object_group "vegasn_stream2" //Carter v2
Police Trigger Types
- 1 - On Foot with 1 star spawns 2 cop cars moving slowly
- 2 - In Vehicle with 2 stars spawns 1 cop car moving quickly
- 3 - In Vehicle with 2 stars spawns 1 cop car at medium speed
- 4 - On Foot with 1 star spawns 1 cop pedestrian
- 5 - On Foot with 1 star spawns 2 cop pedestrians
- 6 - In Vehicle with 2 stars spawns 2 cop cars moving quickly before hitting breaks
- 7 - In Vehicle with 2 stars spawns 2 cop cars moving quickly
- 8 - On Foot with 1 star spawns 2 cop cars at medium speed
This bit belongs in the coding section, but is included here for completeness. The 1st line is the standard format from Sanny, the other two lines are clarifications I am considering.
|04F8: unknown_crossroad_type 3 if_player_with_wanted_level_in_car_in_rectangleA 2435.2 -1741.0 2454.9 -1723.4 unknown_rectangleB 2481.0 -1707.0 2480.0 -1732.0 unknown_rectangleC 2481.0 -1707.0 2480.0 -1732.0 |
04F8: define_police_trigger_type 6 if_player_with_wanted_level_in_rectangle 1846.25 -2493.75 1839.25 -2509.75 spawn_policeA_at 1780.0 -2575.0 headed_towards 1780.0 -2510.0 spawn_policeB_at 1789.0 -2479.0 headed_towards 1774.0 -2493.0
04F8: define_police_trigger_type 6 if_player_with_wanted_level_in_rectangle 1846.25 -2493.75 1839.25 -2509.75 spawn_policeA_along_ray 1780.0 -2575.0 1780.0 -2510.0 spawn_policeB_along_ray 1789.0 -2479.0 1774.0 -2493.0
- Police Triggers are a special zone consisting of a rectangle defined by 2 ends of the rectangle diagonal, and two rays defined by a starting point and point along the ray indicating the initial direction of travel.
- When the player is in the police trigger rectangle and meets the requirements of the police trigger type, then a cop will spawn at the endpoint of ray A headed in the direction of the 2nd defined point.
- If the police trigger type includes 2 police, then a cop will also spawn along ray B.
- The police are not bound to continue in the specified direction after their initial spawn.
- In order to trigger In Vehicle trigger types the vehicle must be moving.
- Police trigger zones are activated only once per 40 seconds (the first field is used to control this).
- Police trigger zones can be created using opcode [[04F8]]
Posted 22 April 2008 - 03:28 PM
|SA Save format (Global Variable Space))|
Stat 598 Desert/LV CRASH Total Missions passed
Stat 599 Mission Madd Dog passed
Stat 1060 Vehicle No. 1 exported from current list
Stat 1061 Vehicle No. 2 exported from current list
Stat 1062 Vehicle No. 3 exported from current list
Stat 1063 Vehicle No. 4 exported from current list
Stat 1064 Vehicle No. 5 exported from current list
Stat 1065 Vehicle No. 6 exported from current list
Stat 1066 Vehicle No. 7 exported from current list
Stat 1067 Vehicle No. 8 exported from current list
Stat 1068 Vehicle No. 9 exported from current list
Stat 1069 Vehicle No.10 exported from current list
Stat 1489 Mission fire fighter passed
Stat 1861 Highest number of shooting challenges passed
Stat 1900 Mission Valet parking passed
Stat 2201 Bike school passed
Stat 2301 Little Loop Won
Stat 2302 Backroad Wanderer Won
Stat 2303 City Circuit Won
Stat 2304 Vinewood Won
Stat 2305 Freeway Won
Stat 2306 Into the Country Won
Stat 2307 Badlands A Won
Stat 2308 Badlands B Won
Stat 2309 Dirtbike Danger Won
Stat 2310 Banito County Won
Stat 2311 Go-Go Carting Won
Stat 2312 San Fierro Fastlane Won
Stat 2313 San Fierro Hills Won
Stat 2314 Country Endurance Won
Stat 2315 San Fierro to Las Venturas Won
Stat 2316 Dam Rider Won
Stat 2317 Desert Tricks Won
Stat 2318 Las Ventuars Ringroad Won
Stat 2319 World War Aces Won
Stat 2320 Barnstorming Won
Stat 2321 Military Service Won
Stat 2322 Chopper Checkpoint Won
Stat 2323 Whirly Bird Waypoint Won
Stat 2324 Heli Hell Won
Stat 2325 8-Track Won
Stat 2326 Dirt Track Won
Stat 5272 Shooting range all levels passed
Stat 8153 Moves Learnt (LS Gym)
Stat 8154 Moves Learnt (SF Gym)
Stat 8158 Moves Learnt (LV Gym)
Stat 8239 Freight Train Total levels passed
Note : For Stat 1060 to 1069 vehicle sequence I have given randomly.
Edited by hmvartak, 05 May 2008 - 04:47 AM.
Posted 09 July 2008 - 05:03 PM
|Stat 1 People Wasted by Others|
Stat 2 People you've wasted
Stat 3 Road Vehicles destroyed
Stat 4 Boats destroyed
Stat 5 Planes & Helicopters destroyed
Stat 6 Cost of property damaged
Stat 10 Tires popped with gunfire
Stat 11 Number of headshots
Stat 15 Days passed in game
Stat 17 Safehouse visits
Stat 55 Shooting range levels passed
Stat 56 Most cars parked on 'Valet Parking'
Stat 58 Total legitimate kills
Stat 81 Number of meals eaten
Stat 133 Progress with Denise
Stat 134 Progress with Michelle
Stat 135 Progress with Helena
Stat 136 Progress with Barbara
Stat 137 Progress with Katie
Stat 139 Progress with Millie
Stat 140 Best time in Lowrider Race
Stat 141 Best position in Little Loop
Stat 142 Best time in Little Loop
Stat 143 Best position in Backroad Wanderer
Stat 144 Best time in Backroad Wanderer
Stat 145 Best position in City Circuit
Stat 146 Best time in City Circuit
Stat 147 Best position in Vinewood
Stat 148 Best time in Vinewood
Stat 149 Best position in Freeway
Stat 150 Best time in Freeway
Stat 151 Best position in Into the Country
Stat 152 Best time in Into the Country
Stat 153 Best position in Badlands A
Stat 154 Best time in Badlands A
Stat 155 Best position in Badlands B
Stat 156 Best time in Badlands B
Stat 157 Best position in Dirtbike Danger
Stat 158 Best time in Dirtbike Danger
Stat 159 Best position in Bandito County
Stat 160 Best time in Bandito County
Stat 161 Best position in Go-Go-Kart
Stat 162 Best time in Go-Go-Kart
Stat 163 Best position in San Fierro Fastlane
Stat 164 Best time in San Fierro Fastlane
Stat 165 Best position in San Fierro Hills
Stat 166 Best time in San Fierro Hills
Stat 167 Best position in Country Endurance
Stat 168 Best time in Country Endurance
Stat 169 Best position in SF to LV
Stat 170 Best time in SF to LV
Stat 171 Best position in Dam Rider
Stat 172 Best time in Dam Rider
Stat 173 Best position in Desert Tricks
Stat 174 Best time in Desert Tricks
Stat 175 Best position in LV Ringroad
Stat 176 Best time in LV Ringroad
Stat 177 Best time in World War Aces
Stat 178 Best time in Barnstorming
Stat 179 Best time in Military Service
Stat 180 Best time in Chopper Checkpoint
Stat 181 Best time in Whirly Bird Waypoint
Stat 182 Best time in Heli Hell
Edited by hmvartak, 09 July 2008 - 05:06 PM.
Posted 20 August 2009 - 08:15 AM
Edited by spaceeinstein, 21 August 2009 - 06:45 AM.
Posted 21 August 2009 - 03:05 AM
Edited by Seemann, 21 August 2009 - 03:13 AM.
Posted 21 August 2009 - 10:00 AM
Posted 04 July 2010 - 01:00 PM
Posted 04 July 2010 - 01:04 PM
|QUOTE (dingleman @ Jul 4 2010, 14:00)|
|I know this is a bit of a bump but I'm in need of a list of radar icon ID's.. does anyone have a link to one?|
Open Sannybuilder help>SCM DOCUMENTATION> San Andreas / Vice City >Radar icons
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users