Vice City: Multiplayer

Off-Topic => Off-Topic General => Topic started by: Kewun on Aug 23, 2016, 06:33 PM

Title: Invalid Definitino ( text object )
Post by: Kewun on Aug 23, 2016, 06:33 PM
hallo, its me again.

I have a problem with a text object, i created with gmax, text thingy  ( splines )

and im getting invalid definiton error in joingin server.. objects.xml.

   <object id="5">
      <flags value="0"/>
      <texture path="beachball.txd"/>
      <collision type="autogenerate" />
      <model path="JailText.dff" distance="300"/>
   </object>

help ? ;c
Title: Re: Invalid Definitino ( text object )
Post by: Kewun on Aug 23, 2016, 06:38 PM
Also, i tihnk onObjectBump(object,player) does not work

when i touch a object , i dont get messages
i did this:

function onObjectBump(object,player)
{
Message("test")
}

and no test message


forgot object.Bumpable or something like that, fixed.
Title: Re: Invalid Definitino ( text object )
Post by: Xmair on Aug 24, 2016, 09:49 AM
You need to allow the object to track bumps.
obj.TrackingBumps = true;
:edit: Didn't saw the last sentence.
Title: Re: Invalid Definitino ( text object )
Post by: KAKAN on Aug 24, 2016, 09:57 AM
Kewun, goto:-
%appdata%\vcmp\04beta
Open vcmp_config.txt and change the line game_showdebug 's value from 0 to 1. Alternatively, run VCMP and type: /setconfig game_showdebug 1 or /showdebug 1. After that, you will get the error line( i think so ). And mind uploading the objects so that someone can test it?
Title: Re: Invalid Definitino ( text object )
Post by: Kewun on Aug 24, 2016, 10:35 AM
okay, wait a bit. ill do what you said.
Title: Re: Invalid Definitino ( text object )
Post by: Kewun on Aug 24, 2016, 10:45 AM
[CUSTOMOBJ] Failed to load object 0

http://imgur.com/a/oQQv6

and dff file, http://www.mediafire.com/download/xfyyl1j8eo56nsb/policetext.dff
Title: Re: Invalid Definitino ( text object )
Post by: KAKAN on Aug 24, 2016, 01:21 PM
What about TXD file? Custom objects won't work without it.
Title: Re: Invalid Definitino ( text object )
Post by: Kewun on Aug 24, 2016, 01:23 PM
no no other objects work fine with random txd file ( i use male01.txd from gta3.img )

other objects work fine with it, this one doestn
Title: Re: Invalid Definitino ( text object )
Post by: KAKAN on Aug 24, 2016, 01:31 PM
Quote from: Kewun on Aug 24, 2016, 01:23 PMno no other objects work fine with random txd file ( i use male01.txd from gta3.img )

other objects work fine with it, this one doestn
Well, can you give us everything related to that object? I mean XML code, TXD file, DFF file, COL file for that object, so that someone who knows creating objects can help you?
Title: Re: Invalid Definitino ( text object )
Post by: Kewun on Aug 24, 2016, 03:18 PM
no collision file, autogenerate i use

and txd file can be any .-. well ok il upload the txd file

here http://www.filedropper.com/male01
Title: Re: Invalid Definitino ( text object )
Post by: Kewun on Sep 18, 2016, 10:44 AM
i fixed it

i had to put a very small box before using the text, and attaching it.