General Discussion > Tutorials

How to add skins/vehicles into the configuration file

(1/12) > >>

VercettiG:
How to add skins/vehicles into the configuration file
Here's a little tutorial on editing or adding skins and vehicles to your configuration file. This is the configuration file every server uses for their gamemodes.

In this tutorial, we will be talking about the "config.vcmp.ini" file, that can be found inside the "VCMP" folder in the archive.

You can find it here:
Windows Server: http://vicecitymultiplayer.com/downloads/03z_r2/server0.3zr2(pawn)(win)(updated2).zip
Linux Server: http://vicecitymultiplayer.com/downloads/03z_r2/vc-mp-server0.3zr2(pawn)(linux)(updated2).zip
Anyway, let's get started...

Skin setup:
Try to open the "config" file in notepad, and go down to the place saying:


--- Code: ---<<<<< START OF CLASSES >>>>>
--- End code ---
This is where player skins are identified and set.

If you go down a bit, you'll see a text saying:


--- Code: ---ClassDescription = Working_Class
Class = -1 61 335.5701 -233.9047 29.6466 164.1848 1 1 17 250 21 100; constructionworker1
--- End code ---

This is the first skin of the server. It defines where the player is located when spawning, it defines the players weapons, and it defines the skin of the player.

This is how the syntax works:


--- Code: ---Class = (0 = team / -1 = independent) (skin id) (x spawn) (y spawn) (z spawn) (z angle) (weapon 1 ID) (weapon 1 ammo)  (weapon 2 ID) (weapon 2 ammo) (weapon 3 ID) (weapon 3 ammo)
--- End code ---

How do I insert a vehicle on my server?
It's pretty much the same thing for vehicles. You just don't need the weapon syntax!

I have edited my config file and would like to run it. How?
Be sure to rename your file to "config". The server will be looking for a file with that name. Also be sure you have set an admin password inside the config file!

How do I get coordinates?

--- Quote ---What is ?build mode? and how does it work?
Build mode is a part of VC-MP where you can get coords for specific vehicles and skins.
It comes with VC-MP, so you do not need to download it from anywhere.

To activate build mode: Rename your ?gta-vc? file into ?gta-vc -d?.
Double click it (like single player) and wait till you get through the loading screen.
When that's done, simply open the chat (by clicking T), and type: /build
This will activate build mode, and your camera will not be stuck anymore.
 
To spawn a vehicle in build mode, do: /vehicle <VehicleIDGoesHere>
Note: Do not use < and > in the syntax! This is just for demonstration usage.
When your vehicle has been spawned, please go into it and drive it to the place desired.

To select another skin (pedestrian), do: /skin <SkinIDGoesHere>
Note: Do not use < and > in the syntax! This is just for demonstration usage.
When found the desired skin, please go to the location you'd like to get coords from.

Saving vehicle and skin coordinates:
To get your coordinates, do: /save
This will save the coordinates for your vehicles and skins. They will be saved into a newly created file in your VC-MP directory (Usually Vice City directory).
The newly created file should be having the following name: ?savedpositions?
Ignore all the zeroes in the file. Just copy the coordinates and put them into the server configuration file, ?config?. Ofcourse you should know where to place them exactly, as vehicles and skins both have a specific syntax in the file.

Attention: After editing your ?gta-vc? file into ?gta-vc -d?, VC-MP will be unable to run. In order to make it run, change it back to default. ?gta-vc?, that is.
--- End quote ---

Where do I get the skin IDs and vehicle IDs?
Skin IDs: http://hunting-arena.in/files/vcmp/vcmp-skin-id-listing.pdf
Vehicle IDs: http://hunting-arena.in/files/vcmp/vcmp-vehicle-id-listing.pdf
Weapon IDs: http://hunting-arena.in/files/vcmp/vcmp-weapon-id-listing.pdf

If you have any further questions, then please ask me! I'll be more than happy to answer them!  ;)

Good luck!

Tanner:
Good job VercettiG, i think you'll not have any question ;-)

Gulk:
Nice job dude, /me makes a tutorial too. 

GIG:
Thank you for the ID's now it will be easy for my Clan to launch his own server.
 ;)

By the way: is it possible to insert the tank or the bf injection in game, because i haven't seen it on any server. Hope you can tell me.

Ps: Where can I find a list with weapon id's ??

Gulk:

--- Quote from: GIG on July 06, 2007, 02:18:18 pm ---By the way: is it possible to insert the tank or the bf injection in game, because i haven't seen it on any server. Hope you can tell me.

Ps: Where can I find a list with weapon id's ??

--- End quote ---

Yeah it's possible to add Tank and BF Injection, but the Tanks rocket turret is not synced.

Get weapon ID's - HERE

;)

Navigation

[0] Message Index

[#] Next page

Go to full version