Invalid Definitino ( text object )

Started by Kewun, Aug 23, 2016, 06:33 PM

Previous topic - Next topic

Kewun

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

Kewun

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

Xmair

You need to allow the object to track bumps.
obj.TrackingBumps = true;
:edit: Didn't saw the last sentence.

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

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

Kewun

okay, wait a bit. ill do what you said.


KAKAN

What about TXD file? Custom objects won't work without it.
oh no

Kewun

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

KAKAN

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

Kewun

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

Kewun

i fixed it

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