Inside3D!
     

Scrag dies but doesn't "fall"

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



Joined: 28 Mar 2007
Posts: 367
Location: Long Island, New York

PostPosted: Thu Jul 24, 2008 1:11 am    Post subject: Scrag dies but doesn't "fall" Reply with quote

Guys,
I added a wizard "scrag" to my QW mod.
When it dies, it doesn't fall to the ground.
He just goes through his death animation in mid-air?
How can I get him to drop to the ground?
Thanks.
_________________
Welcome to the Overlook Hotel 69.113.123.178:27500
Back to top
View user's profile Send private message Send e-mail
Electro



Joined: 29 Dec 2004
Posts: 241
Location: Brisbane, Australia

PostPosted: Thu Jul 24, 2008 2:33 am    Post subject: Reply with quote

before dying you could remove the original monster, make a duplicate entity that is just for dying, and set the movetype to MOVETYPE_TOSS

or change the movetype on the fly? maybe.
_________________
Unit reporting!
http://www.bendarling.net/
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
MeTcHsteekle



Joined: 15 May 2008
Posts: 397
Location: its a secret

PostPosted: Thu Jul 24, 2008 2:37 am    Post subject: Reply with quote

my idea, might not work but,

make it gib at 0 health

do throw gib and make it thrrow scrag?

so it will fall, but it might just fall,

or it could just swirl round in air as it flutters to the ground hmmm Question
_________________
bah
Back to top
View user's profile Send private message AIM Address
Orion



Joined: 12 Jan 2007
Posts: 414
Location: Brazil

PostPosted: Thu Jul 24, 2008 1:16 pm    Post subject: Reply with quote

Try this:

In its dying function, put this after the gib check:

Code:

self.flags = self.flags - (self.flags & FL_FLY);


and it might work.
_________________
There's no signature here. Stop looking for one.
Back to top
View user's profile Send private message
redrum



Joined: 28 Mar 2007
Posts: 367
Location: Long Island, New York

PostPosted: Thu Jul 24, 2008 2:34 pm    Post subject: Reply with quote

ok, i'LL TRY ALL OF THOSE THINGS WHEN i GET HOME TOMORROW! (God damn caps lock) Mad
_________________
Welcome to the Overlook Hotel 69.113.123.178:27500
Back to top
View user's profile Send private message Send e-mail
Spike



Joined: 05 Nov 2004
Posts: 944
Location: UK

PostPosted: Fri Jul 25, 2008 7:16 am    Post subject: Reply with quote

and remove the onground flag.
_________________
What's a signature?
Back to top
View user's profile Send private message Visit poster's website
redrum



Joined: 28 Mar 2007
Posts: 367
Location: Long Island, New York

PostPosted: Fri Jul 25, 2008 8:34 pm    Post subject: Reply with quote

Orion, I tried yours first and it worked! Thanks.
Thank you to everyone else too!

But, something weird was happening.
Now, if I gib the scrag sometimes one of the gibs is floating in the air and following ne around!?! Shocked
_________________
Welcome to the Overlook Hotel 69.113.123.178:27500
Back to top
View user's profile Send private message Send e-mail
Orion



Joined: 12 Jan 2007
Posts: 414
Location: Brazil

PostPosted: Fri Jul 25, 2008 10:07 pm    Post subject: Reply with quote

So try putting that FL_FLY line before the gib check...
_________________
There's no signature here. Stop looking for one.
Back to top
View user's profile Send private message
MeTcHsteekle



Joined: 15 May 2008
Posts: 397
Location: its a secret

PostPosted: Fri Jul 25, 2008 10:40 pm    Post subject: Reply with quote

that bug sounds cool i would keep that in its like "muahahahaha"
_________________
bah
Back to top
View user's profile Send private message AIM Address
Elite_Babe1990



Joined: 14 Aug 2008
Posts: 4

PostPosted: Mon Aug 25, 2008 5:52 am    Post subject: Reply with quote

check for the vertical quantities
_________________
I may be cte but I can pwn u at halo!
Back to top
View user's profile Send private message
redrum



Joined: 28 Mar 2007
Posts: 367
Location: Long Island, New York

PostPosted: Mon Aug 25, 2008 8:46 pm    Post subject: Reply with quote

huh?
_________________
Welcome to the Overlook Hotel 69.113.123.178:27500
Back to top
View user's profile Send private message Send e-mail
Stealth Kill



Joined: 29 Dec 2006
Posts: 83

PostPosted: Mon Aug 25, 2008 9:04 pm    Post subject: Reply with quote

lol
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