Vice City: Multiplayer

Server Development => Scripting and Server Management => Topic started by: Finch Real on Jun 03, 2016, 07:04 AM

Title: Objects.xml
Post by: Finch Real on Jun 03, 2016, 07:04 AM
Well Hello i have added this on my objects.xml

<?xml version="1.0" encoding="ASCII"?>
<objectlist>
<object id="0">
<flags value="0" />
<texture path="door1.txd" />
<collision path="none" />
<model path="none" distance="200" />
</object>
<object id="1">
<flags value="0" />
<texture path="door2.txd" />
<collision path="none" />
<model path="none" distance="200" />
</object>
<object id="2">
<flags value="0" />
<texture path="none" />
<collision path="door3.col" />
<model path="door3.dff" distance="200" />
</object>
<object id="3">
<flags value="0" />
<texture path="hi_cutbnkrecpt.txd" />
<collision path="bgate.col" />
<model path="bnk_maindr1.dff" distance="200" />
</object>
<object id="4">
<flags value="0" />
<texture path="hi_cutbnkrecpt.txd" />
<collision path="bgate.col" />
<model path="bnk_maindr2.dff" distance="200" />
</object>
</objectlist>
But when i run my Server and join it kicks me for reason: invalid definition of objects.xml :(
Title: Re: Objects.xml
Post by: rww on Jun 03, 2016, 08:04 AM
Type in chat /setconfig game_showdebug 1 and send screenshot here.
Title: Re: Objects.xml
Post by: EK.IceFlake on Jun 03, 2016, 08:04 AM
Post %appdata%\VCMPbeta\debuglog.txt
Title: Re: Objects.xml
Post by: rww on Jun 03, 2016, 08:11 AM
Quote from: ext-d.CrystalBlue on Jun 03, 2016, 08:04 AMPost %appdata%\VCMPbeta\debuglog.txt

In debuglog.txt will not nothing about missing objects or something else. This file with debugging objects have too much size, when for example, use LCS map with 3k objects.
Title: Re: Objects.xml
Post by: karan20000000000 on Jun 03, 2016, 08:14 AM
Wherever you've written <collision path="none" /> try changing it to <collision type="none" />
Title: Re: Objects.xml
Post by: rww on Jun 03, 2016, 08:17 AM
<object id="0">
<flags value="0" />
<texture path="door1.txd" />
<collision path="none" />
<model path="none" distance="200" />
</object>

model and texture path can't be "none"
Title: Re: Objects.xml
Post by: Finch Real on Jun 03, 2016, 10:37 AM
Then what i used in place of Txd or DFF ?\

(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FLxHWTU0.jpg&hash=7ccd54de414e85bc892cc1ffca5317575482525a)
Title: Re: Objects.xml
Post by: Xmair on Jun 03, 2016, 11:25 AM
It says that the object has no collision defined.

Try using <collision type="autogenerate" />
Title: Re: Objects.xml
Post by: Finch Real on Jun 03, 2016, 11:27 AM
Now its Showing Model File is Invalid
Title: Re: Objects.xml
Post by: Xmair on Jun 03, 2016, 11:45 AM
Quote from: Finch Real on Jun 03, 2016, 11:27 AMNow its Showing Model File is Invalid
Because:
<model path="none" distance="200" />Try changing it to: <model path="door1.dff" distance="200" />or show me a picture of your custom object's 7zip.
Title: Re: Objects.xml
Post by: KAKAN on Jun 03, 2016, 12:35 PM
Quote from: Finch Real on Jun 03, 2016, 11:27 AMNow its Showing Model File is Invalid
that means you don't have a DFF file. Read @Xmair's post and then, find the DFF file and copy its name then paste it in the place of "none"
Title: Re: Objects.xml
Post by: Stormeus on Jun 03, 2016, 07:58 PM
Quote from: Xmair on Jun 03, 2016, 11:25 AMIt says that the object has no collision defined.

Try using <collision type="autogenerate" />

It's allowed to have an object with no collision, and <collision type="none" /> is valid. However, his mistake was using <collision path="none" />.
Title: Re: Objects.xml
Post by: Xmair on Jun 04, 2016, 03:09 AM
Quote from: Stormeus on Jun 03, 2016, 07:58 PM
Quote from: Xmair on Jun 03, 2016, 11:25 AMIt says that the object has no collision defined.

Try using <collision type="autogenerate" />

It's allowed to have an object with no collision, and <collision type="none" /> is valid. However, his mistake was using <collision path="none" />.
I actually know that but he will later come up with 'I can go through the door'.