problem with custom vehicle

Started by KAKAN, Jul 11, 2015, 01:32 PM

Previous topic - Next topic

KAKAN

I have this files in my custom car
pcj-700.xml
pcj-700.txd
pcj-700.dff
pcj-700.col

And my file name is
v6400_t1_p2_pcj-700.7z

And thus when I try it, it gives me this type of error
Click!
oh no

Thijn

Mind uploading the file somewhere so we can actually test this?

jayant

I have the same problem, I added a bike with all the requirements and it displayed a message like this - failed to load model 6401 for vehicle 117.. I successfully added one humvee in server.

MacTavish

Quote from: jayant on Jul 11, 2015, 01:50 PMI have the same problem, I added a bike with all the requirements and it displayed a message like this - failed to load model 6401 for vehicle 117.. I successfully added one humvee in server.
i tested same problem but added 4 cars

Dodge charger srt8
Mistubishi lancer
Shelby GT500
Mustang GT

but the fact is that these all are designed for gta sa, i tested some cars those made for gtavc but those threw that error, it means we are only able to add only gtasa cars

Grand Hunting Project
Join #SLC, #KAKAN, #Doom, #GHP @LUnet

Retired VC:MP Player/Scripter :P

Sebastian

For vehicles made for Vice City, you need .dff .txd .col .xml at least.
For vehicles made for San Andreas, you need .dff .txd .xml at least. (the colision is part of .dff)

Some vehicles are not working for me too, but I guess there should be something with the model.

Thijn

It's all great you post that some models aren't working, but can you at least upload the fucking 7z archives so we can debug the problem...

MacTavish

Quote from: Thijn on Jul 11, 2015, 02:35 PMIt's all great you post that some models aren't working, but can you at least upload the fucking 7z archives so we can debug the problem...

@Thijn you can use this the .xml is not included you can write that your self :p

Grand Hunting Project
Join #SLC, #KAKAN, #Doom, #GHP @LUnet

Retired VC:MP Player/Scripter :P

Thijn

#7
Quote from: Beztone on Jul 11, 2015, 02:40 PM
Quote from: Thijn on Jul 11, 2015, 02:35 PMIt's all great you post that some models aren't working, but can you at least upload the fucking 7z archives so we can debug the problem...

@Thijn you can use this the .xml is not included you can write that your self :p
Im not going to write a XML to debug a problem you guys are having, be happy I'm willing to use my time to help you. Give me everything or find a solution yourself.


Edit:
Downloaded a PCJ-700 mod from the interwebs and it spawns "okay". Although it has it's wheels missing, and I'm unable to enter it.

MacTavish

[spoiler]<?xml version="1.0" encoding="ASCII"?>
<vehicle>
<basic>
<type>car</type>
<name>Audi Quatro GT</name>
<anims>null</anims>
<comprules>12272</comprules>
<extraflags>0000</extraflags>
<wheelmodel>250</wheelmodel>
<wheelscale>0.700000</wheelscale>
<immunity>0</immunity>
</basic>

<aidata>
<class>executive</class>
<freq>10</freq>
<level>6</level>
</aidata>

<colors>
<carcol>62,62</carcol>
<carcol>90,90</carcol>
<carcol>42,42</carcol>
<carcol>32,32</carcol>
<carcol>38,30</carcol>
<carcol>36,36</carcol>
<carcol>22,34</carcol>
</colors>

<audio>
<enginefarsample>269</enginefarsample>
<enginenearsample>5</enginenearsample>
<hornsample>1</hornsample>
<hornfreq>9500</hornfreq>
<sirensample>0</sirensample>
<sirenfreq>9800</sirenfreq>
<doorsounds>1</doorsounds>
</audio>

<handling>
<mass>1400.000000</mass>
<percentsubmerged>75</percentsubmerged>
<steeringlock>30.000000</steeringlock>
<seatoffset>0.250000</seatoffset>
<damagemultiplier>0.600000</damagemultiplier>
<value>35000</value>
<flags>00002103</flags>

<dimensions>
<x>1.900000</x>
<y>4.700000</y>
<z>1.600000</z>
</dimensions>

<centreofmass>
<x>0.000000</x>
<y>0.100000</y>
<z>-0.300000</z>
</centreofmass>

<traction>
<multiplier>1.100000</multiplier>
<loss>0.900000</loss>
<bias>0.500000</bias>
</traction>

<transmission>
<numofgears>5</numofgears>
<maxspeed>200.000000</maxspeed>
<acceleration>28.000000</acceleration>
<drivetype>4</drivetype>
<enginetype>P</enginetype>
</transmission>

<brakes>
<deceleration>11.000000</deceleration>
<bias>0.450000</bias>
<abs>0</abs>
</brakes>

<suspension>
<forcelevel>2.000000</forcelevel>
<dampening>0.150000</dampening>
<upperlimit>0.280000</upperlimit>
<lowerlimit>-0.160000</lowerlimit>
<bias>0.500000</bias>
<antidive>0.300000</antidive>
</suspension>

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

</vehicle>
[/spoiler]


here is the .xml

Grand Hunting Project
Join #SLC, #KAKAN, #Doom, #GHP @LUnet

Retired VC:MP Player/Scripter :P

maxorator

Quote from: Thijn on Jul 11, 2015, 02:58 PMDownloaded a PCJ-700 mod from the interwebs and it spawns "okay". Although it has it's wheels missing, and I'm unable to enter it.
I'm aware of the issue and I'm working on it.

MacTavish

bump @Thijn have you tried? i posted the xml too look in spoiler

i tried 2 bikes but that makes me crash

Grand Hunting Project
Join #SLC, #KAKAN, #Doom, #GHP @LUnet

Retired VC:MP Player/Scripter :P

Honey

I was getting the same error today, For me I forgot to load the .xml file in the 7z archive but if you want to know why it isn't loading goto : %AppData%/VCMP/04Beta/debuglog.txt

It will show you why the vehicle is not spawning.

Omar

Bikes are a pain to add. I added a Dodge Tomahawk and it took me a lot of time to figure it out. Try to use the original PCJ 600 XML as a guide and you should be good. Also, Thanks to Honey for that very helpful comment. It really helped me to debug the problem.

KAKAN

I saw the debuglog and I tried to add a car from SA, and this was the result
Error in CMvlVehicle::ParseArchive: Could not load 7zip archive 'unknown'.
Error in CMvlVehicle::LoadFromArchive: Parsing vehicle archive failed.
Error in CVehicleHandler::LoadVehicleArchiveToSlot: Could not load vehicle archive 'unknown'.
oh no

Honey

Clearly you can see that the server is having problems loading the archive, It could be due to wrong name format or wrong files inside or anything else wrong with the archive.