Ouchface
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > Getting killed by friendly sentry turret's projectiles
 
Author
All times are GMT. The time now is 03:13. Post New Thread    Post A Reply
D2Jk
Green Marine


Posts: 36
Registered: 03-13


Hello,

I'm making a sentry turret that shoots a mix of fast projectiles and small homing missiles. I've got it mostly worked out, but the only problem remaining is that the said projectiles can kill the player who gets in their way. :)

The sentry turret of course has +FRIENDLY propery set already. +DONTHURTSHOOTER doesn't really work here because it would only protect the turret itself, not the player.

Any ideas?

Old Post 03-31-13 18:53 #
D2Jk is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
BloodyAcid
Senior Member


Posts: 1301
Registered: 09-11


+MTHRUSPECIES
A missile with this flag passes through actors of the same species as the actor that shot it, if any.


With this, make the player the same species as the turret, or vice versa.

Old Post 03-31-13 19:00 #
BloodyAcid is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
D2Jk
Green Marine


Posts: 36
Registered: 03-13


Brilliant, thank you.

Old Post 03-31-13 19:22 #
D2Jk is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
printz
CRAZY DUMB ZEALOT


Posts: 8850
Registered: 06-06



D2Jk said:

Any ideas?

On MBF, the FRIEND flag makes them try their best to avoid shooting through you. Maybe it can be implemented in the ZDoom engine too? It's more realistic than projectiles which "ghostily" travel through you.

__________________
Automatic Wolfenstein - Version 1.0 - also on Android

Old Post 03-31-13 19:30 #
printz is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Enjay
ASK ME ABOUT FOOTBALL / STEAM / DEAD CELEBRITIES / THE BLAIR WITCH PROJECT


Posts: 6381
Registered: 12-00


You might be able to do something with the recently added A_CheckLOF.

Old Post 03-31-13 20:36 #
Enjay is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
D2Jk
Green Marine


Posts: 36
Registered: 03-13


For now I'm ok with the current implementation, but I will take a look at these suggestions. I'm thinking it might prove too complicated to improve this further, though. Since the shot projectiles do not travel instantaneously, it would be possible to step in front of them just after the line of fire check.

By the way, I was also wondering if it's possible to make a projectile that momentarily reduces the movement speed of hit monsters? I assume it's not possible, and the ice or freeze related functions and properties are probably just used for some weapon effects in some game other than Doom (Hexen?).

Old Post 03-31-13 21:46 #
D2Jk is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Cacowad
Member


Posts: 288
Registered: 07-12


yes, you can make a projectile reduce thes speed of an actor, but you need to mess with the actor properties using the decorate lump. this wad have a good example of slowing projectiles http://www.doomworld.com/vb/wads-mo...d-try-it-today/

Old Post 04-01-13 22:44 #
Cacowad is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 03:13. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > Getting killed by friendly sentry turret's projectiles

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.