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!

Arenas FTW!

Posted

afair Kart is on the list by default o_O

Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online!

programista php rzeszów

Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting.

Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!

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.

Arenas FTW!

Posted

it was working for me afaik O_O

Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online!

programista php rzeszów

Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting.

Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!

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.

Arenas FTW!

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.

lss_ad_banner.png
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?

Arenas FTW!

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).

lss_ad_banner.png
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.

Arenas FTW!

Posted

Ahhh! So that's why if I press Kart on the freeroam menu, suddenly a train sound appear and not the kart. Thanks maddogg!

XX3 is gone. This is my new name. :3

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...