Inside3D!
     

quakec link to q3radiant

 
Post new topic   Reply to topic    Inside3d Forums Forum Index -> QuakeC Programming
View previous topic :: View next topic  
Author Message
jade_kick



Joined: 21 Apr 2006
Posts: 1

PostPosted: Fri Apr 21, 2006 4:34 pm    Post subject: quakec link to q3radiant Reply with quote

HI, sorry for my poor english but I'm french. I'm making a mod for nexuiz (darkplace engine, quakec language). And I got a little problem. I modified the .def files to create a new entity for my mod. I just need 2 informations for this entity, his location and his level.

the entity name is team_nature_base.

I create the function :

void team_nature_base(void)
{
entity base;
base = spawn();
setmodel(self, "models/nature_base.md2)
setorigin(self, self.origin)
self.Think = Base_Think;
self.Touch = Base_Touch;
}

It compile without problem, I got the model display in the world, but the model origin is 0,0,0 not the origin I assign in Q3radiant. I search for many hours on how resolve the problem without idea. The level value isn't the same than in q3radiant.

Do you have an Idea on how set the right origin?

Thanks a lot.

KICK
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Inside3d Forums Forum Index -> QuakeC Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2004 phpBB Group