Forum

my first "help me" topic

Discuss programming in the QuakeC language.

Moderator: InsideQC Admins

my first "help me" topic

Postby ajay » Sun Oct 31, 2004 5:09 pm

My mod's 3rd person.
The player.mdl is set in client.qc in setmodel(self, "progs/player.mdl") etc.
I'm trying to change it to a different model, part way through a level, by a function that does an if ...... setmodel(self, "progs/different.mdl") etc.
All that happens is that it flickers, going through alternate original model, then new, then original, then new etc., etc., etc.

It's like it needs to cancel the old model (like my technical qc speak?) before the new one will "take".

Any ideas?

And yes, coding is fun.

cheers, ajay.
User avatar
ajay
 
Posts: 559
Joined: Fri Oct 29, 2004 6:44 am
Location: Swindon, UK

Postby FrikaC » Mon Nov 01, 2004 1:01 am

Do you still have the old id self.modelindex = modelindex_player; garbage in the code?
FrikaC
Site Admin
 
Posts: 1026
Joined: Fri Oct 08, 2004 11:19 pm

Postby ajay » Mon Nov 01, 2004 10:19 am

I don't now.
Thank you :)
User avatar
ajay
 
Posts: 559
Joined: Fri Oct 29, 2004 6:44 am
Location: Swindon, UK


Return to QuakeC Programming

Who is online

Users browsing this forum: No registered users and 1 guest