PDA

View Full Version : General Reference


Ettans
03-30-2009, 01:03 PM
Online resources:

-The LUA Language v5.1 (LUA operators, functions and a lot more): http://thomaslauer.com/download/luarefv51single.pd f
-Vice City Online Wikipedia (Official VCO Wikipedia page): http://wiki.gtagaming.com/Main_Page
-Vice City Online Bugtracker (Report all bugs here): http://bugs.gtagaming.com/view_all_bug_page.php
-Pastebin.com (Paste your code here): http://vco.pastebin.com
-Useful functions and commands: http://www.gtagaming.com/forums/showthread.php?t=1 14503



Skin references:

[ Skin 0-50 ] (http://wiki.gtagaming.com/Skin_References_1) [ Skin 51-100 ] (http://wiki.gtagaming.com/Skin_References_2) [ Skins 101-150 ] (http://wiki.gtagaming.com/Skin_References_3) [ Skins 151-171 ] (http://wiki.gtagaming.com/Skin_References_4)


Vehicle references:

[ Vehicles A - L ] (http://wiki.gtagaming.com/Vehicle_References_1) [ Vehicles M - V ] (http://wiki.gtagaming.com/Vehicle_References_2) [ Vehicles W - Z ] (http://wiki.gtagaming.com/Vehicle_References_3)


Weather reference:


0 - Sunny
1 - Cloudy
2 - Rainy
3 - Foggy
4 - Hot and cloudless
5 - Thunderstorm

Wiki page: http://wiki.gtagaming.com/Weather_References


General limits:


Player limit - 100
Different vehicle models - 45
Vehicles - 500
Pickups - ?
Objects - ?
TextDraws - ?


Explosion types:


0 - An explosion is generated which only shakes your camera and produces an effect. Doesn't affect any damage to players.
1 - An explosion similar to that of a molotov cocktail is generated.
2 - A small explosion is generated.
3 - A small explosion is generated. Shortly after, sometimes, black smoke is generated. This type is used for vehicle explosions.
4 - A small explosion is generated. Shortly after, sometimes, black smoke is generated. This type is used for vehicle explosions.
5 - A small explosion is generated. Shortly after, sometimes, black smoke is generated. This type is used for vehicle explosions.
6 - An explosion larger in magnitude than type seven is generated.
7 - A massive and bright explosion is generated.
8 - An extremely small explosion is generated.
9 - A small explosion is generated.
10 - A small and dim explosion is generated, similar to that of a rocket launcher impact.
11 - A small and bright explosion is generated, similar to that of a gas pump explosion.
12+ - Anything above type eleven will generate an explosion which only shakes your camera and produces an effect. Doesn't affect any damage to players.

Wiki page: http://wiki.gtagaming.com/Explosion_References


Pickup types:


0 - SOMETIMES, this pickup type will not generate a bubble. When entered, the pickup does not disappear.
1 - The pickup will disappear when entered, the bubble remains, and respawns in 5 seconds. Displays a price text above the pickup (non-zero value with weapon models).
2 - The pickup will disappear when entered, but will not respawn.
3 - The pickup will disappear when entered, but will not respawn.
4 - The pickup will disappear when entered, but will not respawn.
5 - The pickup will disappear when entered, but will not respawn.
6 - Displays text "Hidden Package # of 3"; the pickup will disappear when entered, but will not respawn.
7 - Displays text "Out of Stock"; when entered, the pickup does not disappear.
8 - The pickup will disappear when entered, but will not respawn.
9 - When entered, the pickup does not disappear.
10 - When entered, the pickup does not disappear.
11 - When the object inside the pickup falls after approximately 10 seconds, an explosion occurs. When entered, the pickup does not disappear.
12 - When the object inside the pickup falls after approximately 10 seconds, an explosion occurs. When entered, the pickup does not disappear.
13 - The pickup's model falls while the pickup stays in place. When entered, the pickup does not disappear.
14 - When entered, the pickup does not disappear.
15 - The pickup will disappear when entered, but will not respawn.
16+ - When entered, the pickup does not disappear. type0.png

Wiki page: http://wiki.gtagaming.com/Pickup_References


Weapon reference:


0 - Fists / Unarmed
1 - Brass Knuckles
2 - Screwdriver
3 - Golf club
4 - Night stick
5 - Knife
6 - Baseball bat
7 - Hammer
8 - Meat Cleaver
9 - Machete
10 - Katana
11 - Chainsaw
12 - Grenades
14 - Tear gas
15 - Molotovs
17 - Colt 45
18 - Python
19 - Chrome Shotgun
20 - Spaz shotgun
21 - Stubby shotgun
22 - Tec 9
23 - Uzi
24 - Silenced ingram
25 - MP5
26 - M4
27 - Ruger
28 - Sniper rifle
29 - Laser sniper
30 - Rocket launcher
31 - Flame thrower
32 - M60
33 - Minigun
36 - Camera

Wiki page: http://wiki.gtagaming.com/Weapon_References


Radio station icon reference:


http://wiki.gtagaming.com/images/d/d7/RWildstyle.p ng 31 - Wildstyle
http://wiki.gtagaming.com/images/2/22/RFlash.png 32 - Flash FM
http://wiki.gtagaming.com/images/c/c0/RKchat.png 33 - KChat
http://wiki.gtagaming.com/images/b/ba/RFever.png 34 - Fever 105
http://wiki.gtagaming.com/images/2/26/RVRock.png 35 - VRock
http://wiki.gtagaming.com/images/4/48/RVCPR.png 36 - VCPR
http://wiki.gtagaming.com/images/3/39/REspantoso.p ng 37 - Espantoso
http://wiki.gtagaming.com/images/e/e1/REmotion.png 38 - Emotion 98
http://wiki.gtagaming.com/images/4/4e/RWave.png 39 - Wave 103

Wiki page: http://wiki.gtagaming.com/Icon_References



Big THANK YOU to the Wiki team for creating the Wikipedia page!

Ettans
03-30-2009, 01:04 PM
Map-Icon Reference (Pt. 1):


http://wiki.gtagaming.com/images/0/0c/Player.png 0 - Sizable and Colorable Blip
http://wiki.gtagaming.com/images/8/80/Radar_centre .png 1 - Radar Center
http://easytohide.info/imagehost/images/8e5jowafll 4gwsuerik.png 2 - Player Location
http://wiki.gtagaming.com/images/6/67/Radar_north. png 3 - North
http://wiki.gtagaming.com/images/6/69/Radar_avery. png 4 - Avery Carrington
http://wiki.gtagaming.com/images/1/1e/Radar_biker. png 5 - Biker
http://wiki.gtagaming.com/images/d/d0/Radar_cortez .png 6 - Colonel Cortez
http://wiki.gtagaming.com/images/7/75/Radar_diaz.p ng 7 - Ricardo Diaz
http://wiki.gtagaming.com/images/d/d8/Radar_kent.p ng 8 - Kent Paul
http://wiki.gtagaming.com/images/8/8a/Radar_lawyer .png 9 - Ken Rosenberg
http://wiki.gtagaming.com/images/d/db/Radar_phil.p ng 10 - Phil Cassady
http://wiki.gtagaming.com/images/e/ec/Bikers.png 11 - Greasy Chopper
http://wiki.gtagaming.com/images/f/fc/Boatyard.png 12 - Boat Yard
http://wiki.gtagaming.com/images/5/50/Club.png 13 - Malibu Club
http://wiki.gtagaming.com/images/e/e7/Cubans.png 14 - Cuban Gang (Café Robina)

Wiki page: http://wiki.gtagaming.com/Icon_References

Ettans
03-30-2009, 01:04 PM
Map-Icon Reference (Pt. 2):


http://wiki.gtagaming.com/images/9/95/Filmstudio.p ng 15 - Film Studio
http://wiki.gtagaming.com/images/3/32/Gun.png 16 - Ammunation
http://wiki.gtagaming.com/images/4/44/Haitians.png 17 - Haitian Gang (Auntie Poulet)
http://wiki.gtagaming.com/images/9/97/Hardware.png 18 - Tooled-Up
http://wiki.gtagaming.com/images/b/bf/Radar_save.p ng 19 - Safehouse
http://wiki.gtagaming.com/images/7/7b/Radar_strip. png 20 - Pole Position
http://wiki.gtagaming.com/images/c/c5/Icecream.png 21 - Cherry Poppers
http://wiki.gtagaming.com/images/4/41/Kcabs.png 22 - Kaufman Cabs
http://wiki.gtagaming.com/images/2/23/Lovefist.png 23 - Love Fist
http://wiki.gtagaming.com/images/6/66/Printworks.p ng 24 - Print Works
http://wiki.gtagaming.com/images/6/69/SunYard.png 26 - Sunshine Autos
http://wiki.gtagaming.com/images/2/25/Spray.png 27 - Pay n' Spray
http://wiki.gtagaming.com/images/0/02/Tshirt.png 28 - Clothing Store
http://wiki.gtagaming.com/images/6/68/Tommy.png 29 - Tommy Vercetti Gang
http://wiki.gtagaming.com/images/5/58/Phone.png 30 - Telephone

Wiki page: http://wiki.gtagaming.com/Icon_References

rappo
03-30-2009, 01:10 PM
I'm not sure I completely understand the purpose of copying and pasting all the info from the Wiki :P Maybe you can just provide links in the first post?

Ettans
03-30-2009, 01:12 PM
You can find them faster and easier here, so you don't need to click around on the wiki. :P

tuntis
03-30-2009, 01:15 PM
I'm not sure I completely understand the purpose of copying and pasting all the info from the Wiki :P Maybe you can just provide links in the first post?
I think the info is actually presented in a nicer form here :p

rappo
03-30-2009, 01:16 PM
I'd rather you don't make so many posts in a row to provide duplicated information, though. Especially since the nature of a wiki is so that it can be updated at any time, and it would be odd to have to update your posts each time with the new info.

Also there's a search bar at the top of the wiki so you can just search "malibu" and be taken to the Icon References page to see it. And if you've got suggestions for a better wiki layout - by all means, share!

Ettans
03-30-2009, 01:18 PM
I had to make several posts, because of the "max 15 images per post" rule, also, this information is unlikely to change anytime soon, if at all, since they are mostly ID's.

rappo
03-30-2009, 01:21 PM
yes I know about the rule :p anyway, if you are intent on still posting all that information, then please refrain from making multiple posts in a row.

tuntis
03-30-2009, 01:22 PM
I'd rather you don't make so many posts in a row to provide duplicated information, though. Especially since the nature of a wiki is so that it can be updated at any time, and it would be odd to have to update your posts each time with the new info.

Also there's a search bar at the top of the wiki so you can just search "malibu" and be taken to the Icon References page to see it. And if you've got suggestions for a better wiki layout - by all means, share!
The wiki registration isn't currently public, correct? Maybe that could be considered.

Getting a bit off-topic, but now that we're speaking of the wiki, I noticed something strange -

The page naming scheme currently goes like this:

Player_Functions/clearPlayerWeapons

MediaWiki's built-in categorization system is not utilized at all. Why have page names like this instead of just the plain function name, which would provide many benefits;

For example, currently if the user were to type clearPlayerWeapons to the search box, they would be taken to a search form instead of direct documentation for the function. If the functions were organized by the categorization system instead, this would not be a problem.

I'm pretty sure MediaWiki's categorization would be more flexible than the current system in any case.

rappo
03-30-2009, 01:28 PM
sorry to trash your thread, Ettans. feel free to make a new one :P i just hope you understand why i thought it was odd.. i mean, someone can just bookmark this page and its the same thing: http://wiki.gtagaming.com/References

thanks for the suggestions tuntis. the public/private registration is up to ReGeX since that was his request, but the URL thing is a good point. im not sure why we did it like that - maybe afraid of duplicate pages or something? but yeah it doesnt make sense for there to be duplicates since theyre all function names. i'll see how easy/difficult it is to change it now. may take a bit for all the pages to be changed though

Ettans
03-30-2009, 01:38 PM
It's okay, I understand your point of view too. :)

Knucis
03-30-2009, 05:11 PM
Hey, and what about Objects IDS?

Btw, thanks for the explosions ids :rolleyes:

Toiletduck
04-03-2009, 11:34 AM
I think that this is very helpful. Good job.

EDIT: I notice that you have written that the limit on car types is 45. Is this true? If so, that is quite useless.

Warr1or
04-10-2009, 09:39 PM
that's too bad

where's objects reference?
animations?
sounds?

Interiors?

Ammunations ? (they are not for me when enabled. Maybe someone will show me example code?)

why weapon pickups have no respawn?

Mantis
04-10-2009, 10:16 PM
Object ID's can be found using MooMapper (Select a model and get its ID) There are too many to list.
AnimationID's are being compiled (24 = sit down, 32 = dance) It's more about experimenting to find them.
Sounds are playing up atm! (Unless thats me) but I'll look it up.
InteriorID's can be found using MooMapper again, click on the interior, get it's ID.

Ammunations should become active when you toggle them on. I thought I posted a sample on the wiki (I'll check and post if not)

Weapon pickups can be respawned (Using the writing pickup id, I use 15, seems to reappear after sometime.)

The limit for vehicle TYPE is 47 (I've used 47 in the script I've been working on and it's fine.)

Warr1or
04-11-2009, 04:22 PM
Ok, as I can understand You mean "make it all by yorself". But for what wiki is?

I'll be glad if you help me with ammunations.

I'v got smthn like this:

toggleAmmunations(Enabled)

setAmmunationWeaponData ( 1, 3, 33, 300, 100 )
setAmmunationWeaponData ( 2, 3, 33, 300, 100 )

what's wrong? I've been at every ammu and there's no any checkpoints and icons on the map!

Mex
04-11-2009, 04:30 PM
what's wrong? I've been at every ammu and there's no any checkpoints and icons on the map!

change:
toggleAmmunations(Enabled)
to
toggleAmmunations(true)

If you wanted to disable them:
toggleAmmunations(false)


If it still doesn't work, try changing:
setAmmunationWeaponData ( 1, 3, 33, 300, 100 )
setAmmunationWeaponData ( 2, 3, 33, 300, 100 )
to
setAmmunationWeaponData ( 1, 1, 33, 300, 100 )
setAmmunationWeaponData ( 2, 1, 33, 300, 100 )

Tamas
04-11-2009, 05:38 PM
You have to place the icons/markers to yourself.

Warr1or
04-15-2009, 01:21 PM
ok, some errors.

toggleAmmunations(true) isn't correct. The correct is toggleAmmunations(1) - to toggle on and toggleAmmunations(0) - to off.

other toggles using the same way to make them work.

------------

the pickup reference isn't correct. The 2 type is respawning pickup after picking it up.

--------

the real weapon pickup reference you can find in gta vc/data/default.ide - the numbers from 258 - 292

try to create pickup: createGenericPickup(291,1,x,y,z) - that will create unique weapon: bomb with detonator (and it's work)

other generic pickups (contains health, armour etc):

briefcase - 335
money - 337
mine - 338 (iwhen using with pickup type 12 - it will blow your car)
info - 365
health - 366
adrenaline - 367
armour -368
bribe - 375
bonus GTAIII -376
camerpickup - 382
rampage - 383
blue house - 406
green house - 407
big dollar - 408
clothes - 409
save icon - 411

Jc18
06-20-2009, 07:31 PM
there are not Animation References can someone add them please?

Knucis
06-21-2009, 07:26 AM
there are not Animation References can someone add them please?
It's from ZaR

Animations:

* 35: Hands Up (repeat)
* 34: Seat'n'Sleep
* 32: Dance
* 31: Press Button
* 30: Deaths (forever freeze) (/kill & /spawn use)
* 29: Root
* 28: Hit
* 25: Action with weapon
* 24: Seat
* 23: Stand up from seat
* 21: Seat (bug)
* 20: Bend Down (repeat)
* 19: To talk (to wave by hands)
* 18: To be careful of the car (2)
* 17: Hands Up
* 16: "Taxi"
* 15: To be careful of the car
* 14: Seat'n'Fire (nice anim)
* 13: To arise into the combatant counter
* 12: Bend Down
* 11: To be struck and to comb head
* 10: Turn on 180 degrees (nice for screenshots)
* 9: To be struck against the wall
* 8: To arise into the combatant counter and to comb the head
* 4: To wave by head
* 3: Hands Up

Jc18
06-21-2009, 09:02 AM
oh thanks you :D