View previous topic :: View next topic |
Author |
Message |
redrum

Joined: 28 Mar 2007 Posts: 367 Location: Long Island, New York
|
Posted: Thu Jul 24, 2008 1:11 am Post subject: Scrag dies but doesn't "fall" |
|
|
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 |
|
 |
Electro
Joined: 29 Dec 2004 Posts: 241 Location: Brisbane, Australia
|
Posted: Thu Jul 24, 2008 2:33 am Post subject: |
|
|
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 |
|
 |
MeTcHsteekle
Joined: 15 May 2008 Posts: 397 Location: its a secret
|
Posted: Thu Jul 24, 2008 2:37 am Post subject: |
|
|
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  _________________ bah |
|
Back to top |
|
 |
Orion

Joined: 12 Jan 2007 Posts: 414 Location: Brazil
|
Posted: Thu Jul 24, 2008 1:16 pm Post subject: |
|
|
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 |
|
 |
redrum

Joined: 28 Mar 2007 Posts: 367 Location: Long Island, New York
|
Posted: Thu Jul 24, 2008 2:34 pm Post subject: |
|
|
ok, i'LL TRY ALL OF THOSE THINGS WHEN i GET HOME TOMORROW! (God damn caps lock)  _________________ Welcome to the Overlook Hotel 69.113.123.178:27500 |
|
Back to top |
|
 |
Spike
Joined: 05 Nov 2004 Posts: 944 Location: UK
|
Posted: Fri Jul 25, 2008 7:16 am Post subject: |
|
|
and remove the onground flag. _________________ What's a signature? |
|
Back to top |
|
 |
redrum

Joined: 28 Mar 2007 Posts: 367 Location: Long Island, New York
|
Posted: Fri Jul 25, 2008 8:34 pm Post subject: |
|
|
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!?!  _________________ Welcome to the Overlook Hotel 69.113.123.178:27500 |
|
Back to top |
|
 |
Orion

Joined: 12 Jan 2007 Posts: 414 Location: Brazil
|
Posted: Fri Jul 25, 2008 10:07 pm Post subject: |
|
|
So try putting that FL_FLY line before the gib check... _________________ There's no signature here. Stop looking for one. |
|
Back to top |
|
 |
MeTcHsteekle
Joined: 15 May 2008 Posts: 397 Location: its a secret
|
Posted: Fri Jul 25, 2008 10:40 pm Post subject: |
|
|
that bug sounds cool i would keep that in its like "muahahahaha" _________________ bah |
|
Back to top |
|
 |
Elite_Babe1990

Joined: 14 Aug 2008 Posts: 4
|
Posted: Mon Aug 25, 2008 5:52 am Post subject: |
|
|
check for the vertical quantities _________________ I may be cte but I can pwn u at halo! |
|
Back to top |
|
 |
redrum

Joined: 28 Mar 2007 Posts: 367 Location: Long Island, New York
|
Posted: Mon Aug 25, 2008 8:46 pm Post subject: |
|
|
huh? _________________ Welcome to the Overlook Hotel 69.113.123.178:27500 |
|
Back to top |
|
 |
Stealth Kill
Joined: 29 Dec 2006 Posts: 83
|
Posted: Mon Aug 25, 2008 9:04 pm Post subject: |
|
|
lol |
|
Back to top |
|
 |
|