Vice City: Multiplayer

News & Announcements => Client Updates => Topic started by: maxorator on Jul 10, 2015, 10:15 PM

Title: Major Update for 0.4 Released (10 July)
Post by: maxorator on Jul 10, 2015, 10:15 PM
This version brings a new feature that requires both server and client to be updated for it to work, so the version is bumped to 04rel003.



Server and Client Update Released

Windows Server (x86) (http://v04.maxorator.com/server/VCMP04_server_v15_win32.zip)
Windows Server (x64) (http://v04.maxorator.com/server/VCMP04_server_v15_win64.zip)
Linux Server (x86) (http://v04.maxorator.com/server/VCMP04_server_v15_linux32.zip)
Linux Server (x64) (http://v04.maxorator.com/server/VCMP04_server_v15_linux64.zip)

The client update will automatically download and install upon joining an up-to-date 0.4 server.



Quick guide to custom vehicles

Each custom vehicle is one .7z archive (similar to .zip, but created with 7-Zip) in store/vehicles folder, where the file name format is v<modelid>_t<vehicletype>_p<maxpassengers>_<vehiclename>.7z. Model ID is the ID you will use to create vehicles that use this custom vehicle model. They have to be in the range 6400-6499. Vehicle type is a number, where 0 means a car (or a helicopter), 1 means a bike and 2 means a boat.

Archives can contain the following files (only the file extension matters):

This is what the .xml file looks like (this one is for PCJ 600):
[spoiler]<?xml version="1.0" encoding="ASCII"?>
<vehicle>
    <basic>
        <type>bike</type>
        <name>PCJ 600</name>
        <anims>bikes</anims>
        <comprules>0</comprules>
        <extraflags>0000</extraflags>
        <wheelrotangle>16</wheelrotangle>
        <wheelscale>0.670000</wheelscale>
        <immunity>0</immunity>
    </basic>

    <aidata>
        <class>motorbike</class>
        <freq>10</freq>
        <level>7</level>
    </aidata>

    <colors>
        <carcol>13,13</carcol>
        <carcol>22,22</carcol>
        <carcol>35,35</carcol>
        <carcol>38,38</carcol>
        <carcol>2,2</carcol>
        <carcol>3,3</carcol>
        <carcol>48,48</carcol>
        <carcol>51,51</carcol>
    </colors>

    <audio>
        <enginefarsample>287</enginefarsample>
        <enginenearsample>23</enginenearsample>
        <hornsample>0</hornsample>
        <hornfreq>27000</hornfreq>
        <sirensample>0</sirensample>
        <sirenfreq>9600</sirenfreq>
        <doorsounds>1</doorsounds>
    </audio>

    <handling>
        <mass>500.000000</mass>
        <percentsubmerged>103</percentsubmerged>
        <steeringlock>35.000000</steeringlock>
        <seatoffset>0.300000</seatoffset>
        <damagemultiplier>0.150000</damagemultiplier>
        <value>10000</value>
        <flags>00010102</flags>

        <dimensions>
            <x>0.800000</x>
            <y>1.800000</y>
            <z>1.200000</z>
        </dimensions>

        <centreofmass>
            <x>0.000000</x>
            <y>0.050000</y>
            <z>-0.090000</z>
        </centreofmass>

        <traction>
            <multiplier>1.600000</multiplier>
            <loss>0.900000</loss>
            <bias>0.480000</bias>
        </traction>

        <transmission>
            <numofgears>5</numofgears>
            <maxspeed>190.000000</maxspeed>
            <acceleration>50.000000</acceleration>
            <drivetype>R</drivetype>
            <enginetype>P</enginetype>
        </transmission>

        <brakes>
            <deceleration>15.000000</deceleration>
            <bias>0.500000</bias>
            <abs>0</abs>
        </brakes>

        <suspension>
            <forcelevel>0.850000</forcelevel>
            <dampening>0.150000</dampening>
            <upperlimit>0.150000</upperlimit>
            <lowerlimit>-0.160000</lowerlimit>
            <bias>0.500000</bias>
            <antidive>0.000000</antidive>
        </suspension>

        <lights>
            <front>1</front>
            <rear>1</rear>
        </lights>
    </handling>

    <bikehandling>
        <leanfwdcom>0.330000</leanfwdcom>
        <leanfwdforce>0.150000</leanfwdforce>
        <leanbackcom>0.280000</leanbackcom>
        <leanbackforce>0.150000</leanbackforce>
        <maxlean>44.999996</maxlean>
        <fullanimlean>38.000004</fullanimlean>
        <deslean>0.930000</deslean>
        <speedsteer>0.700000</speedsteer>
        <slipsteer>0.500000</slipsteer>
        <noplayercomz>0.100000</noplayercomz>
        <wheelieang>35.000008</wheelieang>
        <stoppieang>-40.000000</stoppieang>
        <wheeliesteer>-0.009000</wheeliesteer>
        <wheeliestabmult>0.700000</wheeliestabmult>
        <stoppiestabmult>0.600000</stoppiestabmult>
    </bikehandling>

</vehicle>
[/spoiler]

This feature is ported from the singleplayer modification Maxo's Vehicle Loader, so I won't be creating a separate thorough documentation for it right now. Here is the original modification: http://gtaforums.com/topic/477801-maxos-vehicle-loader/ . It contains .xml files for all the default VC vehicles and some documentation. In that thread you can find more specific explanation for various settings from the changelog (vehicle weapons are disabled in multiplayer though, and tuning parts cannot be controlled by the server). If you can't find an answer to your question about some xml field in there, feel free to ask here.

It also contains also links to applications and websites which help in creating the .xml files, for example by automatically converting handling file lines to .xml file handling format. One of these helping sites can be found here: http://almost610.ucoz.com/blog/welcome/2012-12-23-4 .

You can find existing vehicles already in the right format from GTAGarage and GTAInside sites (search with MVL as keyword). If you decide to use any of those for your server, make sure to ask the authors for permission if possible. You should also add a <author> line to the .xml file (in the <basic> section) which contains the original author of the vehicle - it will be shown to players when they enter that vehicle.
Title: Re: Update for 0.4 Released (10 July)
Post by: DizzasTeR on Jul 10, 2015, 10:23 PM
Great
Title: Re: Major Update for 0.4 Released (10 July)
Post by: Sebastian on Jul 11, 2015, 12:42 AM
Just: Woah !
Title: Re: Major Update for 0.4 Released (10 July)
Post by: ℛḝξ☂ on Jul 11, 2015, 05:09 AM
Wow custom vehicles!
Title: Re: Major Update for 0.4 Released (10 July)
Post by: kokia on Jul 11, 2015, 05:22 AM
Quote from: sseebbyy on Jul 11, 2015, 12:42 AMJust: Woah !
@seby seby seby plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz make a tutorial for it too.
Title: Re: Major Update for 0.4 Released (10 July)
Post by: MacTavish on Jul 11, 2015, 05:26 AM
yay yay wohoo my dream ;D
Title: Re: Major Update for 0.4 Released (10 July)
Post by: Xmair on Jul 11, 2015, 05:27 AM
ITS AWESOME JUST AWESOME!
But there's one problem for me.
I added custom vehicles, But whenever I want to sit in it. The player goes near it but don't sit.
This is the name of my file "v6401_t1_p4_voodoopol"
And I've the following files:
voodoo.cof
voodoopol.dff
voodoopol.txd
voodoopol.xml
Title: Re: Major Update for 0.4 Released (10 July)
Post by: KAKAN on Jul 11, 2015, 05:38 AM
Great!
Title: Re: Major Update for 0.4 Released (10 July)
Post by: maxorator on Jul 11, 2015, 07:55 AM
Quote from: XuXu on Jul 11, 2015, 05:27 AMITS AWESOME JUST AWESOME!
But there's one problem for me.
I added custom vehicles, But whenever I want to sit in it. The player goes near it but don't sit.
This is the name of my file "v6401_t1_p4_voodoopol"
And I've the following files:
voodoo.cof
voodoopol.dff
voodoopol.txd
voodoopol.xml
The name of your file should be v6401_t0_p4_voodoopol, because it's a car, not a bike.
Title: Re: Major Update for 0.4 Released (10 July)
Post by: Xmair on Jul 11, 2015, 08:25 AM
Quote from: maxorator on Jul 11, 2015, 07:55 AM
Quote from: XuXu on Jul 11, 2015, 05:27 AMITS AWESOME JUST AWESOME!
But there's one problem for me.
I added custom vehicles, But whenever I want to sit in it. The player goes near it but don't sit.
This is the name of my file "v6401_t1_p4_voodoopol"
And I've the following files:
voodoo.cof
voodoopol.dff
voodoopol.txd
voodoopol.xml
The name of your file should be v6401_t0_p4_voodoopol, because it's a car, not a bike.
Thanks I forgot that thing.
And another thing whenever I enter that vehicle it says you've entered vehicle name : (null 0x0000000).
Title: Re: Major Update for 0.4 Released (10 July)
Post by: [VSS]Shawn on Jul 11, 2015, 08:28 AM
yahooo i am dizziling Great Stormy
Title: Re: Major Update for 0.4 Released (10 July)
Post by: EK.IceFlake on Jul 11, 2015, 08:28 AM
Quote from: XuXu on Jul 11, 2015, 08:25 AM
Quote from: maxorator on Jul 11, 2015, 07:55 AM
Quote from: XuXu on Jul 11, 2015, 05:27 AMITS AWESOME JUST AWESOME!
But there's one problem for me.
I added custom vehicles, But whenever I want to sit in it. The player goes near it but don't sit.
This is the name of my file "v6401_t1_p4_voodoopol"
And I've the following files:
voodoo.cof
voodoopol.dff
voodoopol.txd
voodoopol.xml
The name of your file should be v6401_t0_p4_voodoopol, because it's a car, not a bike.
Thanks I forgot that thing.
And another thing whenever I enter that vehicle it says you've entered vehicle name : (null 0x0000000).
You need to make a wrapper because custom vehicle names aren't included in GetVehicleName(FromModel?)
Title: Re: Major Update for 0.4 Released (10 July)
Post by: EK.IceFlake on Jul 11, 2015, 08:29 AM
@maxorator You forgot to update server updates
Title: Re: Major Update for 0.4 Released (10 July)
Post by: Sebastian on Jul 11, 2015, 10:10 AM
Quote from: kokia on Jul 11, 2015, 05:22 AM
Quote from: sseebbyy on Jul 11, 2015, 12:42 AMJust: Woah !
@seby seby seby plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz make a tutorial for it too.

Not pretty sure when I will do that, hope it will be soon.
I'm kinda busy "upgrading" to university. :)
Title: Re: Major Update for 0.4 Released (10 July)
Post by: EK.IceFlake on Jul 11, 2015, 11:44 AM
In that time, I have already made my tut :P I'm going to upload it soon
Title: Re: Major Update for 0.4 Released (10 July)
Post by: MacTavish on Jul 11, 2015, 01:49 PM
Quote from: XuXu on Jul 11, 2015, 08:25 AM
Quote from: maxorator on Jul 11, 2015, 07:55 AM
Quote from: XuXu on Jul 11, 2015, 05:27 AMITS AWESOME JUST AWESOME!
But there's one problem for me.
I added custom vehicles, But whenever I want to sit in it. The player goes near it but don't sit.
This is the name of my file "v6401_t1_p4_voodoopol"
And I've the following files:
voodoo.cof
voodoopol.dff
voodoopol.txd
voodoopol.xml
The name of your file should be v6401_t0_p4_voodoopol, because it's a car, not a bike.
Thanks I forgot that thing.
And another thing whenever I enter that vehicle it says you've entered vehicle name : (null 0x0000000).


add this

onPlayerEnterVehicle(player, vehicle, door)
{
if (GetVehicleNameFromModel(vehicle.Model)== null ) MessagePlayer("Entered in "+NameFromCID(vehicle.Model)+"",player);
else MessagePlayer("Entered In "+GetVehicleNameFromModel(vehicle.Model)+"",player);
}

function NameFromCID(model)
{
switch(model)
{
case 6400: return "Your first car name";
case 6401: return "Your sec car name";
// you can create more like this and then
default: return "Name not specified";
}
}


@maxorator sometimes it cause an error

Quote[VEHICLE]Failed to load model ModelID for vehicle VehiceID. (BAD)
i tried 2, 3 car but same
Title: Re: Major Update for 0.4 Released (10 July)
Post by: [VSS]Shawn on Jul 11, 2015, 02:07 PM
yaar extrmely good but i m facing bugs in bike custom
Title: Re: Major Update for 0.4 Released (10 July)
Post by: maxorator on Jul 11, 2015, 03:25 PM
Quote from: [VSS]Shawn on Jul 11, 2015, 02:07 PMyaar extrmely good but i m facing bugs in bike custom
There are indeed some problems with bikes at the moment, will be fixing it soon.
Title: Re: Major Update for 0.4 Released (10 July)
Post by: EK.IceFlake on Jul 11, 2015, 03:54 PM
Is there any way to make cars/planes able to shoot?
Title: Re: Major Update for 0.4 Released (10 July)
Post by: Gulk on Jul 11, 2015, 04:51 PM
http://www.gta-downloads.com/en/gta-vice-city/bikes/6373-pcj-39-cc-mini-moto.html
Title: Re: Major Update for 0.4 Released (10 July)
Post by: Stormeus on Jul 11, 2015, 05:52 PM
Quote from: NE.CrystalBlue on Jul 11, 2015, 03:54 PMIs there any way to make cars/planes able to shoot?
Quote from: maxorator on Jul 10, 2015, 10:15 PM(vehicle weapons are disabled in multiplayer though, and tuning parts cannot be controlled by the server)
Title: Re: Major Update for 0.4 Released (10 July)
Post by: maxorator on Jul 11, 2015, 07:28 PM
Boats and bikes are now fixed.
Title: Re: Major Update for 0.4 Released (10 July)
Post by: EK.IceFlake on Jul 11, 2015, 09:08 PM
Quote from: Stormeus on Jul 11, 2015, 05:52 PM
Quote from: NE.CrystalBlue on Jul 11, 2015, 03:54 PMIs there any way to make cars/planes able to shoot?
Quote from: maxorator on Jul 10, 2015, 10:15 PM(vehicle weapons are disabled in multiplayer though, and tuning parts cannot be controlled by the server)
Why are they disabled? They are so amazing!
Title: Re: Major Update for 0.4 Released (10 July)
Post by: Murdock on Jul 11, 2015, 11:26 PM
Quote from: NE.CrystalBlue on Jul 11, 2015, 09:08 PMWhy are they disabled? They are so amazing!

I can just imagine driving this heavily-armed Comet through the streets of Downtown :D
Title: Re: Major Update for 0.4 Released (10 July)
Post by: Honey on Jul 12, 2015, 08:36 AM
Works like a charm :D

Some Screens :

[spoiler]

Picture 1 :
[spoiler]
(http://i.imgur.com/MJdnB6o.jpg) (http://imgur.com/MJdnB6o)
[/spoiler]

Picture 2 :
[spoiler]
(http://i.imgur.com/9v8kJia.jpg) (http://imgur.com/9v8kJia)
[/spoiler]

Picture 3 :
[spoiler]
(http://i.imgur.com/zsD86tY.jpg) (http://imgur.com/zsD86tY)
[/spoiler]

Picture 4 ( Door Animation ) :
[spoiler]
(http://i.imgur.com/9UlhCPx.jpg) (http://imgur.com/9UlhCPx)
[/spoiler]
[/spoiler]
Title: Re: Major Update for 0.4 Released (10 July)
Post by: [VSS]Shawn on Jul 12, 2015, 10:45 AM
honey this car link? :P
Title: Re: Major Update for 0.4 Released (10 July)
Post by: Honey on Jul 12, 2015, 11:22 AM
Google my friend,
Title: Re: Major Update for 0.4 Released (10 July)
Post by: KAKAN on Jul 12, 2015, 01:06 PM
Its not working with me, help me!
Title: Re: Major Update for 0.4 Released (10 July)
Post by: Sebastian on Jul 12, 2015, 01:08 PM
Quote from: KAKAN on Jul 12, 2015, 01:06 PMIts not working with me, help me!

WHAT DID YOU DO    ? ? ?
WHAT's THE ERROR YOU GET    ? ? ?
WHAT's NOT WORKING WITH YOU    ? ? ?
WHY DON'T YOU GIVE US MORE INFO SO WE CAN TRY TO HELP YOU     ? ? ?

PS: "Sorry for Caps-Lock."



This is not a chat, where you can just write as fast as you can "Its not working with me, help me!", then wait for others to answer "what happened ?", and just after that, give the info !
It's a forum, where you have to explain the problem in the same post, and give as much info as you can !
Title: Re: Major Update for 0.4 Released (10 July)
Post by: Thijn on Jul 12, 2015, 01:50 PM
Please make a new topic in the support board if you're having problems.
Title: Re: Major Update for 0.4 Released (10 July)
Post by: KAKAN on Jul 12, 2015, 04:11 PM
Already created, if u really need my file, then tell me in PM, I'll give it to u
Btw here is the link to that topic
http://forum.vc-mp.org/?topic=990.0 (http://forum.vc-mp.org/?topic=990.0)
Title: Re: Major Update for 0.4 Released (10 July)
Post by: Stormeus on Jul 18, 2015, 08:18 PM
Quote from: NE.CrystalBlue on Jul 11, 2015, 09:08 PM
Quote from: Stormeus on Jul 11, 2015, 05:52 PM
Quote from: NE.CrystalBlue on Jul 11, 2015, 03:54 PMIs there any way to make cars/planes able to shoot?
Quote from: maxorator on Jul 10, 2015, 10:15 PM(vehicle weapons are disabled in multiplayer though, and tuning parts cannot be controlled by the server)
Why are they disabled? They are so amazing!

They've yet to be synced so they'd generally be useless.

Also

Quote from: Kratos_ on Dec 31, 2014, 05:15 AMStormeus mentioned that VC:MP devs haven't  planned to add custom vehicles to 0.4 final release.
This might be in the future versions but not in 0.4.

ayy lmao
Title: Re: Major Update for 0.4 Released (10 July)
Post by: Kratos_ on Jul 19, 2015, 04:05 AM

Quote from: Stormeus on Jul 18, 2015, 08:18 PMAlso
Quote from: Kratos_ on Dec 31, 2014, 05:15 AMStormeus mentioned that VC:MP devs haven't  planned to add custom vehicles to 0.4 final release.
This might be in the future versions but not in 0.4.
ayy lmao

This might be planned recently since 0.5 is no longer to come . :D

Quote from: Stormeus on Jul 06, 2015, 01:38 PMWe're probably going to be on 0.4 forever now that we can just push incremental updates.
Title: Re: Major Update for 0.4 Released (10 July)
Post by: kokia on Jul 19, 2015, 09:33 AM
now plz add custom models and skins too
Title: Re: Major Update for 0.4 Released (10 July)
Post by: maxorator on Jul 19, 2015, 11:19 AM
Quote from: kokia on Jul 19, 2015, 09:33 AMnow plz add custom models and skins too
Custom models are already supported.
Title: Re: Major Update for 0.4 Released (10 July)
Post by: kokia on Jul 19, 2015, 11:59 AM
how to use them i mean by custom models that i want bots playing in my server with me like zombies
Title: Re: Major Update for 0.4 Released (10 July)
Post by: Thijn on Jul 19, 2015, 12:08 PM
Quote from: kokia on Jul 19, 2015, 11:59 AMhow to use them i mean by custom models that i want bots playing in my server with me like zombies
Lol, that's not the definition of models. Those are NPCs.
A model is an object.
Title: Re: Major Update for 0.4 Released (10 July)
Post by: [VSS]Shawn on Jul 19, 2015, 02:40 PM
Thijn like in VC there are peoples how can i add them on my server?
Title: Re: Major Update for 0.4 Released (10 July)
Post by: Mashreq on Jul 19, 2015, 02:44 PM
Quote from: [VSS]Shawn on Jul 19, 2015, 02:40 PMThijn like in VC there are peoples how can i add them on my server?
You cannot currently add them, since its not possible to add.
Title: Re: Major Update for 0.4 Released (10 July)
Post by: EK.IceFlake on Jul 19, 2015, 08:30 PM
Quote from: Mashreq on Jul 19, 2015, 02:44 PM
Quote from: [VSS]Shawn on Jul 19, 2015, 02:40 PMThijn like in VC there are peoples how can i add them on my server?
You cannot currently add them, since its not possible to add.
Idk how many times I have said it, but you can freaking simulate NPCs with custom objects!
Title: Re: Major Update for 0.4 Released (10 July)
Post by: Stormeus on Jul 19, 2015, 11:54 PM
Quote from: NE.CrystalBlue on Jul 19, 2015, 08:30 PM
Quote from: Mashreq on Jul 19, 2015, 02:44 PM
Quote from: [VSS]Shawn on Jul 19, 2015, 02:40 PMThijn like in VC there are peoples how can i add them on my server?
You cannot currently add them, since its not possible to add.
Idk how many times I have said it, but you can freaking simulate NPCs with custom objects!

Please don't do this.
Title: Re: Major Update for 0.4 Released (10 July)
Post by: Fuzzie on Jul 20, 2015, 12:43 AM
I'd rather wait for official NPC support then to add characters as custom objects. I can only imagine the horror.
Title: Re: Major Update for 0.4 Released (10 July)
Post by: maxorator on Jul 20, 2015, 04:23 AM
Quote from: Stormeus on Jul 19, 2015, 11:54 PM
Quote from: NE.CrystalBlue on Jul 19, 2015, 08:30 PM
Quote from: Mashreq on Jul 19, 2015, 02:44 PM
Quote from: [VSS]Shawn on Jul 19, 2015, 02:40 PMThijn like in VC there are peoples how can i add them on my server?
You cannot currently add them, since its not possible to add.
Idk how many times I have said it, but you can freaking simulate NPCs with custom objects!

Please don't do this.
Says the person who invented the Tomminator. :P
Title: Re: Major Update for 0.4 Released (10 July)
Post by: DeViL_JiN on Jul 20, 2015, 06:21 AM
Quote from: Stormeus on Jul 19, 2015, 11:54 PM
Quote from: NE.CrystalBlue on Jul 19, 2015, 08:30 PM
Quote from: Mashreq on Jul 19, 2015, 02:44 PM
Quote from: [VSS]Shawn on Jul 19, 2015, 02:40 PMThijn like in VC there are peoples how can i add them on my server?
You cannot currently add them, since its not possible to add.
Idk how many times I have said it, but you can freaking simulate NPCs with custom objects!

Please don't do this.
i just did .

(http://i62.tinypic.com/k30sir.png)
Title: Re: Major Update for 0.4 Released (10 July)
Post by: [VSS]Shawn on Jul 20, 2015, 08:16 AM
whats new in it Devil?
Title: Re: Major Update for 0.4 Released (10 July)
Post by: DeViL_JiN on Jul 20, 2015, 10:17 AM
Quote from: [VSS]Shawn on Jul 20, 2015, 08:16 AMwhats new in it Devil?
my friend, i think you should go for "EYE" checkup.
Title: Re: Major Update for 0.4 Released (10 July)
Post by: KAKAN on Jul 20, 2015, 06:43 PM
lol, Shawn should go for a I.C.U
Title: Re: Major Update for 0.4 Released (10 July)
Post by: :P on Sep 18, 2015, 11:35 AM
Bump
and for 32 bit will release or never release 32 bit
Title: Re: Major Update for 0.4 Released (10 July)
Post by: hotdogcat on Sep 18, 2015, 12:16 PM
There is already 32 bit version, just download x86
Title: Re: Major Update for 0.4 Released (10 July)
Post by: :P on Sep 18, 2015, 01:37 PM
SORRY and Thanks hotdog i didnt understand they write x86 so :P :P