Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    2. News

    1. Red Dead Redemption 2

    1. GTA Online

      1. After Hours
      2. Find Lobbies & Players
      3. Guides & Strategies
      4. Vehicles
      5. Content Creator
      6. Help & Support
    2. Crews

      1. Events
      2. Recruitment
    1. Grand Theft Auto Series

    2. GTA Next

    3. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    4. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    5. GTA Chinatown Wars

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    9. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    10. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    12. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Forum Support

    2. Site Suggestions

Opius

Generic SA SCM Documentation

Recommended Posts

tomworld10

UPDATED on 16/01/06 thanks to DeeZire for filling the gaps

 

 

Hi

Due to the lack of completion of my first post i do an update, and that's not off-topic (well, not for me....)

I've added the ones found by [enforcA] (thanks to you for posting your findings wink.gif, and to spaceeinstein who kind of got into it wink.gif ), and added a few ones (actually a lot i think, it got way farer than i thought....yawn.gif ). Anyway, here they are. I've found strange/usefull ones which can make your skills increase faster (look stat 97, 98, 99, 100) and decrease some other stats faster (look stat 102, 104, 105), it might have kind of the same for the weapon in the same zone but i wasn't able to get them out of their safehouse !!!!, and for food, like increasing of starvation or some, but have'nt found it neither. Notice that it really seems to have 2 different stat for food in the stomach and fat (21 and 245) but I'm not really sure of the way it works yet. The descriptions might be inaccurate or totally wrong but i tried to get as close as possible and i'm totally open to any correction or/and additions. Hope it helps you :

 

stat  0 Score (x1000)stat  2 Furthest Hoopstat  3 way done on footstat  4 way done by carstat  5 way done by motorbikestat  6 Distance travelled by boatstat  7 Distance travelled by golf cartstat  8 Distance travelled by helicopterstat  9 way done by flying vehiclestat  10 Longest Wheelie distancestat  11 Longest Stoppie distancestat  12 Longest 2 wheels distancestat  13 Weapon Budgetstat  14 Fashion Budgetstat  15 Money spent in propertystat  16 money spent in spray'n paintstat  17 Longest Wheelie timestat  18 Longest Stoppie timestat  19 Longest 2 wheels timestat  20 money spent on foodstat  21 fat only (food in stomach= stat  245)stat  22 staminastat  23 musclestat  24 Health ??stat  25 weird? damage of vehicles (and (maybe) temporary "damage" of cj when he lost energy for example like by swimming under water for too long, it's a bit curious)stat  26 way done by fast (with pressed SHIFT key) swimming, over and under waterstat  27 way done by bike/bicyclestat  28 way done on the gym treadmillstat  29 way done on the gym bikestat  30 money spent at the tattooshopstat  31 money spent at the barbershopstat  32 girlfriend budget (money spent, maybe unused)stat  33 money spent on street whoresstat  34 furniture budget (money spent, maybe unused)stat  35 money spent gamblingstat  36 money made from pimpingstat  37 money won gamblingstat  38 Biggest gambling winstat  39 Biggest gambling lossstat  40 Largest burglary swagstat  41 money made from burglarystat  42 money spent building property (obsolete)stat  44 time spent on the gym treadmillstat  45 time spent on the gym bikestat  46 heavyest weight lifted up on the gym bench big dumbbellstat  47 heavyest weight lifted up on the gym little dumbbellstat  48 Best time in 8-Trackstat  49 BMX race best timestat  50 lightest weightstat  51 Longest chase time with 5 or more stars  stat  52 Last chase time with 5 or more starsstat  53 Wage billstat  54 money spent in strip-teasestat  55 money spent in mod-garagesstat  56 time spent shoppingstat  57 time spent gamblingstat  58 time spent on longest missionstat  59 time spent on quickest missionstat  60 average mission timestat  61 drugs budget (money spent, maybe unused)stat  62 money spent for cj's appearance (barbershop, tattooshop, clothes store)stat  63 time spent underwaterstat  64 total respectstat  65 girlfriend respectstat  66 clothes respectstat  67 fitness respectstat  68 respect or hits (by gun shots and by fist fight / close combat) that killed enemies (cops, enemy gangmembers and so on..)stat  69 Weapon skill: pistolstat  70 Weapon skill: SILENCEDstat  71 Weapon skill: DESERT EAGLEstat  72 Weapon skill: SHOTGUNstat  73 Weapon skill: SAWNOFFstat  74 Weapon skill: SPAS12stat  75 Weapon skill: MICRO UZIstat  76 Weapon skill: MP5stat  77 Weapon skill: AK47stat  78 Weapon skill: M4stat  79 Weapon skill: SNIPERRIFLEstat  80 Sex appealstat  81 gambling skillstat  97 distance traveled by car needed to increase driving skill (smaller it is faster you improve your driving skill, default is around a billion)stat  98 distance traveled by flying vehicle needed to increase flying skill (smaller it is faster you improve your flying skill, default is around a billion)stat  99 distance traveled by bicycle needed to increase bicycle skill (smaller it is faster you improve your bicycle skill, default is around a billion)stat  100 distance traveled by bike needed to increase bike skill (smaller it is faster you improve your bike skill, default is around a billion)stat  102 physical effort (distance traveled walking, running, swimming-underwater only- and cycling) needed to decrease your body fat or muscle, and probably the food in your stomach stat_245 (default is around a billion)stat  104 distance traveled underwater needed to increase your lung capacity (default is around a billion)stat  105 physical effort (distance traveled walking, running, swimming-underwater only- and cycling) needed to increase your max health (default is around a billion)stat  120 people (as well as cj himself) killed by othersstat  121 people killed by cjstat  122 destroyed vehiclesstat  123 destroyed boatsstat  124 destroyed helicoptersstat  125 cost of property damagedstat  126 fired bulletsstat  127 kg of explosives usedstat  128 bullets/gunshots that hit their targetstat  129 destroyed tiresstat  130 number/amount of headshotsstat  131 total number/amount of police wanted stars earned/received during gameplaystat  132 total number/amount of police wanted stars you were able to get rid of during gameplaystat  133 number of how many times you were caught/busted by policestat  134 days passed in-gamestat  135 visits at the hospitalstat  136 number of how many times you have saved your gamestat  137 number/amount of used cheatsstat  138 number/amount of paintings/paint jobs (visits at the pay'n'spray)stat  139 maximum insane jump distancestat  140 maximum insane jump heightstat  141 maximum insane jump flipsstat  142 maximum insane jump rotationstat  143 best insanity stunt -> "1" for "insanity stunt" and "0" for "insanity stunt not done yet"stat  144 number of monsterstunts foundstat  145 number of monsterstunts donestat  146 started missions / missions startedstat  147 successfully ended missions / missions done/finishedstat  148 total number of missions in gamestat  149 Cash made in a Taxistat  150 Passengers dropped offstat  151 people saved on paramedic missionsstat  152 criminals killed on Vigilantestat  153 fires extinguishedstat  154 packages delivered (Courier missions)stat  155 Assassinationsstat  156 last dance scorestat  157 Highest Vigilante Mission levelstat  158 Highest Paramedic Mission levelstat  159 Highest Firefighter Mission levelstat  160 driving skillstat  161 Number of Truck missions passedstat  162 Money made in Truckstat  163 recruited gang members killed (according to DeeZire) or Max health (according to me, i can't remember but seems weird because i thought being sure of this one)stat  164 armorstat  165 energystat  166 Photo taken (not only the one to collect, all)stat  167 rampages attemptedstat  168 rampages passedstat  169 flight timestat  170 Number of times drownedstat  171 Number of girls pimped stat  172 Best position in 8-Trackstat  173 time on Jetpackstat  174 Shooting range levels passedstat  175 Most cars parked on 'Valet Parking'stat  176 Kills since last checkpointstat  177 Total legitimate killsstat  178 bloodring Kills since last checkpointstat  179 something to do with bloodringstat  180 No more hurricanes Flagstat  181 islands unlockedstat  182 Number of Police bribesstat  183 Burgular status (according to DeeZire) or Number of cars stolen (according to me)stat  184 Current number of girlfriendsstat  185 Number of disastrous datesstat  186 Number of girls datedstat  187 Number of times scored with a girlstat  188 Number of successful datesstat  189 Number of girls dumpedstat  190 Number of prostitutes visitedstat  191 Number of houses burgledstat  192 Number of safes cracked stat  194 Number of stolen items soldstat  195 Number of eight balls in poolstat  196 Total number of wins playing poolstat  197 Total number of losses playing poolstat  198 visits at the gymstat  199 body typestat  200 Number of meals eatenstat  201 Money made in Quarrystat  202 Time taken to Complete Quarrystat  203 number of furniture items purchased (obsolete)stat  204 favourite console gamestat  205 Highest civilian peds killed on Rampagestat  206 Highest police peds killed on Rampage  stat  207 Highest civilian vehicles destroyed on Rampagestat  208 Highest police vehicles destroyed on Rampagestat  209 Highest number of tanks destroyed on Rampagestat  210 Pimping level  stat  211 Kickstart best scorestat  212 Best lap time in 8-Trackstat  213 cars exportedstat  214 cars importedstat  215 Highest basketball scorestat  216 Fires startedstat  217 Amount of drugs soldstat  218 Amount of drugs boughtstat  219 Best lap time in dirt trackstat  220 Best time in dirt trackstat  221 Best position in dirt trackstat  222 NRG-500 best timestat  223 FLYING SKILLstat  224 respect missionstat  225 lung capacitystat  226 game gore ratingstat  227 game sex ratingstat  228 respect mission totalstat  229 BIKE SKILLstat  230 CYCLE SKILLstat  231 snapshots taken (the ones to collect)stat  232 Number of snapshots to collectedstat  233 Luckstat  234 Territories taken overstat  235 Territories loststat  236 Territories heldstat  237 Highest number of territories heldstat  238 Gang members recruitedstat  239 Enemy gang members killedstat  240 Friendly gang members killedstat  241 horshoes collectedstat  243 oysters collectedstat  244 Number of oysters to collected stat  245 calories, food in your stomachstat  246 2Player Rampage best timestat  247 2Player Car Rampage best timestat  248 2Player On Foot Rampage best timestat  249 2Player Chopper Rampage best timestat  250 2Player Bike Rampage best timestat  251 'Keepie Uppy' best time (unused?)stat  252 progress with denisestat  253 progress with michelstat  254 progress with helenstat  255 progress with barbarastat  256 progress with katiestat  257 progress with milliestat  258 Best position in Lowrider Racestat  259 Best time in Lowrider Racestat  260 Best position in Little Loopstat  261 Best time in Little Loopstat  262 Best position in Backroad Wandererstat  263 Best time in Backroad Wanderestat  264 Best position in City Circuitstat  265 Best time in City Circuitstat  266 Best position in Vinewoodstat  267 Best time in Vinewoodstat  268 Best position in Freewaystat  269 Best time in Freewaystat  270 Best position in Into the Countrystat  271 Best time in Into the Countrystat  272 Best position in Badlands Astat  273 Best time in Badlands Astat  274 Best position in Badlands Bstat  275 Best time in Badlands Bstat  276 Best position in Dirtbike Dangerstat  277 Best time in Dirtbike Dangerstat  278 Best position in Bandito Countystat  279 Best time in Bandito Countystat  280 Best position in Go-Go-Kartstat  281 Best time in Go-Go-Kartstat  282 Best position in San Fierro Fastlanestat  283 Best time in San Fierro Fastlanestat  284 Best position in San Fierro Hillsstat  285 Best time in San Fierro Hillsstat  286 Best position in Country Endurancestat  287 Best time in Country Endurancestat  288 Best position in SF to LVstat  289 Best time in SF to LVstat  290 Best position in Dam Riderstat  291 Best time in Dam Riderstat  292 Best position in Desert Tricksstat  293 Best time in Desert Tricksstat  294 Best position in LV Ringroadstat  295 Best time in LV Ringroadstat  296 Best time in World War Acesstat  297 Best time in Barnstormingstat  298 Best time in Military Servicestat  299 Best time in Chopper Checkpointstat  300 Best time in Whirly Bird Waypointstat  301 Best time in Heli Hellstat  302 Sweet's mission accomplishedstat  303 Management Issues mission accomplishedstat  304 maybe 555 WE TIP mission accomplishedstat  305 Yay Ka-Boom-Boom mission accomplishedstat  306 Fish in a Barrel mission accomplishedstat  307 Breaking the Bank at Caligula's mission accomplishedstat  308 A Home In The Hills mission accomplishedstat  309 maybe set riot modestat  310 Ryder's mission Robbing Uncle Sam accomplishedstat  311 Mike Toreno mission accomplishedstat  312 Architectural Espionage mission accomplishedstat  313 Jizzy mission accomplishedstat  314 Reuniting the Families mission accomplishedstat  315 Catalina 3 mission accomplishedstat  316 Photo Opportunity mission accomplishedstat  317 Don Peyote mission accomplishedstat  318 Catalina 2 mission accomplishedstat  319 Badlands mission accomplishedstat  320 Monster mission accomplishedstat  321 Wear Flowers in your Hair mission accomplishedstat  322 maybe Cesar races missions accomplished (Wu Zi Mu / Farewell, my love...)stat  323 maybe The Green Sabre mission accomplished or all first Los Santos missions accomplishedstat  324 Deconstruction mission accomplishedstat  325 Verdant Meadows mission accomplishedstat  326 Highjack mission accomplishedstat  327 maybe Car stealing (wangs car owned) missions accomplishedstat  328 The Meat Business mission accomplishedstat  329 Saint Mark's Bistro mission accomplishedstat  330 Interdiction mission accomplishedstat  331 Learning to Fly (flying school) mission accomplishedstat  332 Black Project mission accomplishedstat  333 Green Goo mission accomplishedstat  334 Home Coming mission accomplishedstat  335 Riot mission accomplished 1stat  336 maybe 555 WE TIP mission accomplished 2stat  337 House Party mission accomplishedstat  338 Are you going to San Fierro? mission accomplishedstat  339 High Noon mission accomplishedstat  340 maybe all first Los Santos missions accomplished or The Green Sabre mission accomplishedstat  341 Catalina 1 mission accomplishedstat  342 maybe Stade and infernal races missions accomplished (Race Tournament / 8-track / Dirt Track

 

 

For the sake of explanation of the research (it might not mean what i think it means but anyway, i got no better way to say it), i proceed a very simple way, i've just set the unknown/understood stat to their number with opcode 0629 for all them, then start the game and save the stat file. And after i just have to see which stat is set to it's number (you might have to change language to have distance in meter or just divide by about 3.33) like

Weapon Budget $13.00

Fashion Budget $14.00

Property Budget $15.00

Auto Repair and Painting Budget $16.00

I now know that

 

stat_13 = Weapon Budgetstat_14 = Fashion Budgetstat_15 = Money spent in propertystat_16 = money spent in spray'n paint 

 

because before in my main.scm i've added

 

0629: change_stat  14  () to  140629: change_stat  15  () to  150629: change_stat  16  () to  16

 

 

worked different for (97, 98, 99, 100, 102, 104, 105) because it was a funny thing when i spawned, in just doing a few meters running i've got the max health going up and being full right there, and the same driving skill, and again flying, underwater, cycling and fat and muscle, first i thought i f*cked up somewhere but after a few search i understood and finally spotted them, they were in the ones from 82 to 119, this big "hole" was bothering me anyway....

 

That's it !!!!!

 

Have fun people

 

on 16/01/06 thanks to DeeZire coz now there isn't much stat unknown left and you should find the stat you're looking for or the one you didn't even thought it exist so you can replace it by the one you're creating...

Have fun

Edited by tomworld10

Share this post


Link to post
Share on other sites
ceedj

Ok fellas, this is a map from the weapons ID's (graciously provided by Opius - you da man!) to which model is used, so you don't have to keep bouncing back and forth between this list and the deafult.ide to figure out which ID is related to which model.

 

 

 

0 - Unarmed1 - Brass Knuckles  - model 3312 - Golf Club - model 3333 - Night Stick - model 3344 - Knife - model 3355 - Baseball Bat - model 3366 - Shovel - model 3377 - Pool cue - model 3388 - Katana - model 3399 - Chainsaw - model 34110 - Purple Dildo - model 32111 - White Dildo - model 32212 - Long White Dildo - model 32313 - White Dildo 2 (really a black one, but details, ya know?) - model 32414 - Flowers - model 32515 - Cane - model 32616 - Grenades - model 34217 - Tear Gas - model  34318 - Molotovs - model 34419 - Missile (crashes if you try to fire) - model 34520 - Missile (crashes if you try to fire) - model 34521 - Missile (crashes if you try to fire) - model 34522 - Pistol - model 34623 - Silenced Pistol - model 34724 - Desert Eagle - model 34825 - Shotgun - model 34926 - Sawn Off Shotgun - model 35027 - Combat Shotgun - model 35128 - Micro Uzi (Mac 10) - model 35229 - MP5 - model 35330 - AK47 - model 35531 - M4 - model 35632 - Tec9 - model 37233 - Rifle - model 35734 - Sniper Rifle - model 35835 - RPG - model 35936 - Missile Launcher - model 36037 - Flame Thrower - model 36138 - Minigun - model 36239 - Sachet Charges - model 36340 - Detonator - model 36441 - Spray Paint - model 36542 - Fire Extinguisher - model 36643 - Camera - model 36744 - Nightvision Goggles - model 36845 - Thermal Goggles - model 36946 - Parachute - model 371

 

Share this post


Link to post
Share on other sites
Bigun
Eh, man, sorry to tell you (im actually helping but meh), if you put the IDEs in same folder as Builder (like the link in my sig) you can specify models by #NAME (for example: #M4,#CHROMEGUN,#SAWNOFF,#SNIPER) and Builder will automatically detect and compile with the right ID. Still a somewhat useful list but you may want to add the model names as they're easier to remember and read.

Share this post


Link to post
Share on other sites
ceedj
Eh, man, sorry to tell you (im actually helping but meh), if you put the IDEs in same folder as Builder (like the link in my sig) you can specify models by #NAME (for example: #M4,#CHROMEGUN,#SAWNOFF,#SNIPER) and Builder will automatically detect and compile with the right ID. Still a somewhat useful list but you may want to add the model names as they're easier to remember and read.

True, but this is mainly for people (like me) who aren't using MB to compile.

Share this post


Link to post
Share on other sites
Bigun
Oh. Fair enough. Whichever builder you're using, maybe you could suggest the author to include that feature. hehe.

Share this post


Link to post
Share on other sites
Y_Less

He writes missions in a highly customised version of the SCM hook, i.e. in C/C++. He didn't write it but did alot of the modifications himself so yeah, bit hard (or easy) for him to get the authour to add something.

Share this post


Link to post
Share on other sites
Un3462

if you use c(++), you can just #define these lists, no?

Share this post


Link to post
Share on other sites
Y_Less
if you use c(++), you can just #define these lists, no?

Err, oh yeah, bugger.

Share this post


Link to post
Share on other sites
ceedj

 

if you use c(++), you can just #define these lists, no?

See, I never understood the point of using #defines for MB equivalents, when I can just look up a list (like that one) and grab the number I want.

 

Oh well, I guess I just like doing things the hard way.

 

Speaking of doing things the hard way, here is list of all the animations referenced by the SCM, grouped and with descriptions. Should be approved by tomorrow I guess. Note that I've only got about half the descriptions; I should have the rest finished by the end of the week.

 

Why you can't upload a simple text file without zipping it is beyond me, but whatever. confused.gif

 

San An Animation List

 

EDIT: It's now approved. That was quick. wow.gif

Edited by ceedj

Share this post


Link to post
Share on other sites
Demarest
I think it's still worth posting the list regardless of whether the tool automates it just because variables can contain numbers and you might want it to call upon a model by a variable. All the cars can be called by name, but when I wrote Car Spawn, I used a number to make the entire code smaller by incrementing a variable and calling for it by the number in the variable.

Share this post


Link to post
Share on other sites
K-Dawgg007
Yeah, I was toying around wit tha stats y'all posted, and stat 24 has nuthin to do wit health @ all. It tells u how many GS members you killed

Share this post


Link to post
Share on other sites
Demarest
Yeah, I was toying around wit tha stats y'all posted, and stat 24 has nuthin to do wit health @ all. It tells u how many GS members you killed

Check original code. Stat 24 is only read/written during the passing of Paramedic, the reward of which is your max health going up by 50%.

Share this post


Link to post
Share on other sites
K-Dawgg007
My bad. I'm a noob coder and i was toying around with the stats and I actually don't know what statID set the # of GS you killed but I knew y'all said that stat had sumthing to do wit health, because I was trying to set the max health to be 500 instead of teh normal 176, problem is it didn't do it and I chk'd the stats menu and it said: "GS members killed: 500" and I never killed a soul when I chk'd it either! Weird... confused.gif

Share this post


Link to post
Share on other sites
kornman00

 

if you use c(++), you can just #define these lists, no?

An enum would be better IMO, as the compiler determines the value of the enum member for you (the first member is always 0, unless you explicity mark it otherwise) tounge.gif.

 

And using a name with a constant provides greater readability in your code. For you and anyone else who may be reading it (ie, people who are trying to help you figure out a bug).

Share this post


Link to post
Share on other sites
DeeZire

A few additions/corrections for the stats listing;-

 

 

stat  32 girlfriend budget (money spent, maybe unused)stat  34 furniture budget (money spent, maybe unused)stat  36 money made from pimpingstat  40 largest burglary swagstat  41 money made from burglarystat  42 money spent building property (obsolete)stat  50 lightest weightstat  56 time spent shoppingstat  57 time spent gamblingstat  58 time spent on longest missionstat  59 time spent on quickest missionstat  60 average mission timestat  61 drugs budget (money spent, maybe unused)stat  63 time spent underwaterstat  65 girlfriend respectstat  66 clothes respectstat  67 fitness respectstat  68 respectstat  125 cost of property damagedstat  127 kg of explosives usedstat  139 maximum insane jump distancestat  140 maximum insane jump heightstat  141 maximum insane jump flipsstat  142 maximum insane jump rotationstat  148 total number of missions in gamestat  152 criminals killed on Vigilantestat  154 packages delivered (Courier missions)stat  156 last dance scorestat  163 recruited gang members killedstat  164 armorstat  167 rampages attemptedstat  168 rampages passedstat  169 flight timestat  173 time on Jetpackstat  178 number of Bloodring killsstat  179 total time in Bloodringstat  180 No more hurricanes Flagstat  181 city unlockedstat  183 burgular statusstat  199 body typestat  203 number of furniture items purchased (obsolete)stat  204 favourite console gamestat  224 respect missionstat  226 game gore ratingstat  227 game sex ratingstat  228 respect mission totalstat  245 caloriesstat  251 'Keepie Uppy' best time (unused?)

 

Edited by DeeZire

Share this post


Link to post
Share on other sites
tomworld10

Hi,

Thanks a million Deezire for handing in all that work done it fills heaps hole and correct some of my mistakes. I've updated the last list i've done (one page back, no need for a link just the need for speed colgate.gif (and to wait to the next one coz it was a pretty to become da most wanted smile.gif and nothing much to mod to expand to fun cryani.gifsuicidal.gif ...) because there is no use to repost it.

Well people, never ever forget

 

HAVE FUN

 

And by the way, happy new year, be in good health and all that....

Share this post


Link to post
Share on other sites
tomworld10

Hi,

 

I'm sorry double posting but I think this worth a new post here. It should come handy for people.

 

 

Sick of looking for the name string in scm which correspond to a gxt text entry ?

It'll be all easy now, an example will speak for itself :

 

 

'FLATBED'// Flatbed'FLEV'// LEVEL'FLINTC'// Flint County'FLINTI'// Flint Intersection'FLINTR'// Flint Range'FLINW'// Flint Water'FLSAE'// Alien Exhaust'FLSAFF'// Alien Front Bumper'FLSARF'// Alien Rear Bumper'FLSARV'// Alien Roof Vent'FLSAS'// Alien Spoiler'FLSASI'// Alien Side Skirts'FLSCE'// X-Flow Exhaust'FLSCFF'// X-Flow Front Bumper'FLSCRF'// X-Flow Rear Bumper'FLSCRV'// X-Flow Roof Vent'FLSCS'// X-Flow Spoiler'FLSCSI'// X-Flow Skirts

 

 

Now if you don't change the name enties you won't even need a gxt editor.

 

It's not really my work because I've used AleX AciD's file (thank to him -read his post here-) which is the base of it. And then I used Sanny to make them corresponding. We should thank Seeman and his team about it because it's them who got it working. By the way : Thanks Seeman and his team sigh.gif .

 

Because it's a pretty big file (13200 entries) get it here or view it here.

Mirrored to get it here and to view it here.

 

Well now it'll get verry easy finding the name of the text string you're looking for.

 

I understand that anyone could do the same file for themself (took me actually less than 3 minute !!!!!, Sanny did it all) but now it's done and posted here to the reach of anyone. Oh, and I nearly forgot, I've got to say thanks to Microsoft wow.gif because with their weird unknown tool named Excel it's been really really fast... tounge.gif .

 

People, Have fun

 

PS : I Hope Sanny's authors are alright with posting it. Don't think they wouldn't but...

PPS : The gxt are about 17000 entries long, so if you find the file is not complete enough, there is still about 4000 left to find, have fun...

Edited by tomworld10

Share this post


Link to post
Share on other sites
Cro man

Sorry about off topic but im new here.

 

How can I edit main.scm

I want to add car wash script and my question is what i must do to input that code and where i must insert it ???

 

Thank you

Share this post


Link to post
Share on other sites
Y_Less

There should be instructions in the readme that came with the mod, if not, there are plenty of topcs around with that information in, just search a bit, this really isn't the right topic for new starters.

Share this post


Link to post
Share on other sites
spaceeinstein

Some pointless things I did.

03E7: flash_hud

-1 = flash nothing

3 = " armor

4 = " health

8 = " radar

10 = " breath meter

 

I wonder what the other numbers are for... Those didn't do anything.

Share this post


Link to post
Share on other sites
PLPynton
I wonder what the other numbers are for... Those didn't do anything.

i believe that can be second part of the hud not visible in default game. i was screwing around a bit once and seen there are parts of script with jump instruction before them, somewhere in beginning of mission scripts. if you avoid jumping you can see like 2 player hud. speaking of weird things did someone encounter execution of 2 main.scm at the same time? you play 2 actors at the same time and you controll them both. even every thread is doubled and so on.

Share this post


Link to post
Share on other sites
spaceeinstein

Yea, that happened to me so many times when I was making missions. If you start a non-existant mission, that happens.

Share this post


Link to post
Share on other sites
azzza

What are the weather id's? I know there are new ones with sa. When i look up the weather opcode at the opcode database for sa (Weather opcode's), it just showed the vice city ones. Can someone post the weather id's, please?

Share this post


Link to post
Share on other sites
Demarest

Back from a long hiatus. Maybe we'll be lucky and you'll actually put forth some effort this time and not make the same mistakes over and over again.

 

If you want to know, write a routine that with a particular keypress, will increment a variable and force the weather to that variable. Document your findings and post. As much as you screwed with us in the past, you have no business asking for MORE help, especially when you can help yourself. Let's see if you can construct a proper if check this time.

Share this post


Link to post
Share on other sites
spaceeinstein

deleted

Edited by spaceeinstein

Share this post


Link to post
Share on other sites
ceedj

Someone above asked about the weather stuff, which I happen to have as part of San An Studios (I had to cut the text strings in the mod because I ran out of code space). This can be found in timecyc.dat, but here's the list anyway.

 

Use with 01B6: set_weather int (int = number referenced below)

 

 

0 - Extra Sunny LS1 - Sunny LS2 - Extra Sunny/Smog LS3 - Sunny/Smog LS4 - Cloudy LS5 - Sunny SF6 - Extra Sunny SF7 - Cloudy SF8 - Rainy SF9 - Foggy SF10 - Sunny LV11 - Extra Sunny LV12 - Cloudy LV13 - Extra Sunny Country14 - Sunny Country15 - Cloudy Country16 - Rainy Country17 - Extra Sunny Desert	18 - Sunny Desert19 - Sandstorm Desert20 - Underwater21 - Extra Colors 122 - Extra Colors 2

 

 

mercie_blink.gif

Share this post


Link to post
Share on other sites
Bigun

@Space: Not meaning to be rude or unthankful, thanks for compiling the list, but can you give examples where it could come in use? Just wondering.

Also maybe host it in a TXT file and edit the link in, it's a bit too long for a forum.

Share this post


Link to post
Share on other sites
spaceeinstein

You can reuse the variables if you are using the same thing. Or you can use it to see what the variables are for in the code.

 

For anyone who wants to know what the garages are, here it is.

 

2056.6, -1835.9, 12.5443, sprLAe - Idlewood Pay n Spray

cjsafe - CJ's Ganton garage

CEsafe1 - CJ's Muholland garage

mul_lan - Downtown Los Santos garage used in Life's a Beach

imp_la - Los Santos impound lot

duf_LAS - El Corona garage used in Los Desperados

lasbomb - Los Santos bomb shop

modgLAS - Cesar's garage

carlas1 - CJ's El Corona garage

burg_lk - Los Santos burglary garage

modlast - Loco Low Co

spLAw2 - Verona Beach Pay n Spray

beacsv - CJ's Santa Maria Beach garage

bodLAwN - Los Santos Transfender

1021.81, -1018.71, 30.9081, sprLAe - Temple Pay n Spray (for some reason has the same name as above)

 

-1694.78, 1033.15, 44.1937 - no name, garage for yay ka boom boom

-1794.15, 1429.69, 4.37321, - no name, garage for stealing manana

fdorsfe - Wu Zi's garage

michdr - Michelle's garage

sav1sfe - cj's windy road grg

imp_sf - San Fierro impound lot

mds1SFS - Wheels Arch Angel

tbon - garage a block south of wheels of arch

svgsfs1 - CJ's Hashbury garage

mdsSFSe - San Fierro Transfender

sprsfse - Downtown San Fierro Pay n Spray

brgSFSE - San Fierro burglary garage

LCKSfse - CJ's San Fierro garage grg

hbgdSFS - CJ's San Fierro garage building

sprsfw - Juniper Hollow Pay n Spray

sav1sfw - CJ's Paradiso garage

 

vgElock - Las Venturas Pay n Spray

timy1 - Las Venturas unused Pay n Spray (it sprays! but the door doesn't work)

vEcmod - Las Venturas Transfender

vEsvgrg - CJ's Rockshore West garage

imp_lv - Las Venturas impound lot

vgshngr - AT 400 hangar

blob2 - welding and wedding bomb shop

blob1 - Redsands East Pay n Spray

blob6 - CJ's Redsands West garage

blob69 - CJ's Prickle Pine garage

blob7 - CJ's Whitewood Estates garage

 

CN2spry - Fort Carson Pay n Spray

cn2gar1 - CJs fort carson's garage

cn2gar2 - CJ's Verdant Meadoqws garage

ghostdr - garage used in interdiction

dhangar - CJ's Verdant Meadows hangar

CEspray - Dillimore Pay n Spray

burbdoo - CJ's Palomino Creek garage

burbdo2 - CJ's Dillijmore garage

CNspray - El Quebrados Pay n Spray

amumis - Angel Pine Ammunation garage

 

The descriptions are not finished but all the garages are there.

Edited by spaceeinstein

Share this post


Link to post
Share on other sites
DeeZire

@space & ceedj, thanks for those, they really helped smile.gif

 

In case anyones interested, you can fix the 'timy1' Pay N Spray in LV (the one that partially worked on the PS2 version) by using Tonywobs IPL editor. Just rotate the garage door by 180 degrees so it faces the opposite way when closed, then make a radar icon for it in the main.scm - works perfectly then.

Share this post


Link to post
Share on other sites
Demarest
Where is that? I've never heard of it.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.