Forum

quakec link to q3radiant

Discuss programming in the QuakeC language.

Moderator: InsideQC Admins

quakec link to q3radiant

Postby jade_kick » Fri Apr 21, 2006 4:34 pm

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
jade_kick
 
Posts: 1
Joined: Fri Apr 21, 2006 4:32 pm

Return to QuakeC Programming

Who is online

Users browsing this forum: No registered users and 1 guest