Jump to content

Adding the Kart (571) to vehicles.xml


Maxaxle

Recommended Posts

Posted

I tried to insert the Kart with ID 571 into vehicles.xml under the Freeroam gamemode, but attempting to spawn it accomplished nothing. I am working from my own computer, and here is what I modified:

<group name="Misc">
	<group name="Other">
		<vehicle id="485" name="Baggage" />
		<vehicle id="568" name="Bandito" />
		<vehicle id="424" name="BF Injection" />
		<vehicle id="504" name="Bloodring Banger" />
		<vehicle id="431" name="Bus" />
		<vehicle id="457" name="Caddy" />
		<vehicle id="437" name="Coach" />
		<vehicle id="532" name="Combine harvester" />			
		<vehicle id="588" name="Hotdog" />
        [b]<vehicle id="571" name="Kart"/>[/b]
		<vehicle id="434" name="Hotknife" />
		<vehicle id="494" name="Hotring racer" />
		<vehicle id="502" name="Hotring racer 2" />
		<vehicle id="503" name="Hotring racer 3" />
		<vehicle id="444" name="Monster" />
		<vehicle id="556" name="Monster 2" />
		<vehicle id="557" name="Monster 3" />
		<vehicle id="572" name="Mower" />
		<vehicle id="423" name="Mr. Whoopee" />
		<vehicle id="531" name="Tractor" />
		<vehicle id="583" name="Tug" />
		<vehicle id="539" name="Vortex" />

(Yes, I know the quotation marks are different, but bear with me; I copied them earlier)

Strangely enough, I can type "/cv 571" into chat and get the intended result. Help!

Posted
afair Kart is on the list by default o_O

But it doesn't spawn anything, and there is no corresponding line in the .xml file for the Kart. Spooky.

Posted
it was working for me afaik O_O

Huh. Can you show me the text of your vehicles.xml?

And BTW: This also seems to be the case on many servers I've visited.

Posted

I just checked and the problem is that there is indeed a kart entry, but just with a wrong model id.

<vehicle id="570" name="Kart" />

Just change that to a 571 and it should be fixed. And also remove your additional entry.

Btw, 570 is a train wagon.

Posted
I just checked and the problem is that there is indeed a kart entry, but just with a wrong model id.

<vehicle id="570" name="Kart" />

Just change that to a 571 and it should be fixed. And also remove your additional entry.

Btw, 570 is a train wagon.

THAT would explain it. And what do you mean, additional entry, the one I added?

Posted
And what do you mean, additional entry, the one I added?

Yup. I guess that the script can't cope with multiple entries (entries with the same vehicle name).

Posted
And what do you mean, additional entry, the one I added?

Yup. I guess that the script can't cope with multiple entries (entries with the same vehicle name).

Ingame, it only shows the first entry.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...