Objects.xml

Started by Finch Real, Jun 03, 2016, 07:04 AM

Previous topic - Next topic

Finch Real

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 :(
My Snipet Showroom

http://pastebin.com/5KKuU5cg

rww

Type in chat /setconfig game_showdebug 1 and send screenshot here.
Join to Irrelevant Club Discord: https://discord.gg/MsPPZ5uV4X

EK.IceFlake

Post %appdata%\VCMPbeta\debuglog.txt

rww

#3
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.
Join to Irrelevant Club Discord: https://discord.gg/MsPPZ5uV4X

karan20000000000

Wherever you've written <collision path="none" /> try changing it to <collision type="none" />
With regards,
KP
------------------------------------------

rww

<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"
Join to Irrelevant Club Discord: https://discord.gg/MsPPZ5uV4X

Finch Real

Then what i used in place of Txd or DFF ?\

My Snipet Showroom

http://pastebin.com/5KKuU5cg

Xmair

It says that the object has no collision defined.

Try using <collision type="autogenerate" />

Credits to Boystang!

VU Full Member | VCDC 6 Coordinator & Scripter | EG A/D Contributor | Developer of VCCNR | Developer of KTB | Ex-Scripter of EAD

Finch Real

#8
Now its Showing Model File is Invalid
My Snipet Showroom

http://pastebin.com/5KKuU5cg

Xmair

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

Credits to Boystang!

VU Full Member | VCDC 6 Coordinator & Scripter | EG A/D Contributor | Developer of VCCNR | Developer of KTB | Ex-Scripter of EAD

KAKAN

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"
oh no

Stormeus

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

Xmair

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

Credits to Boystang!

VU Full Member | VCDC 6 Coordinator & Scripter | EG A/D Contributor | Developer of VCCNR | Developer of KTB | Ex-Scripter of EAD