MBF dog behavior
Moderator: GZDoom Developers
-
- Posts: 1026
- Joined: Fri Sep 05, 2003 12:49 pm
MBF dog behavior
Is it possible to extend the friendly flag to emulate the dogs behavior from mbf, where a friendly actor will loyally follow the player while attacking other non-friendly monsters?
This could be useful for say, special forces type mods or anything that wants the player to have a group of actors on their side.
This could be useful for say, special forces type mods or anything that wants the player to have a group of actors on their side.
-
- Lead GZDoom+Raze Developer
- Posts: 47986
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
-
- Posts: 4607
- Joined: Fri Apr 16, 2004 1:41 pm
-
- Posts: 1026
- Joined: Fri Sep 05, 2003 12:49 pm
I know thats been sought after for quite some time. Wouldn't that use the same relative logic as the mbf dogs?Nmn wrote:Something like A_Follow would be good. Chase the player, but don't hurt him, and attack opponents.
graf zhal wrote:Besides, I always found it annoying.
Maybe a kitty would have been more to your liking?
-
- Lead GZDoom+Raze Developer
- Posts: 47986
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
-
- Posts: 274
- Joined: Mon Aug 30, 2004 10:54 am
- Location: Ontario, Canada
-
- Posts: 1026
- Joined: Fri Sep 05, 2003 12:49 pm
-
- Lead GZDoom+Raze Developer
- Posts: 47986
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
-
- Posts: 4607
- Joined: Fri Apr 16, 2004 1:41 pm
I believe the only thing would be some sort of recognizing targets that are being chased by the follower. He chases player but recognizes him as player and doesn't hurt him/her, but once the foe is spotted they open fire. Once the foe is dead they get back on chasing the player..
For some reason I believe, smartly, this could be done somehow without complex AI rewritage. It may only be me tough.
Otherwise one will have to satisfy himself with a follower that doesn't attack his enemies. Scripted marines chase the player but they don't hurt him, tough they DO make the attack state. Cut that out and You have a follower who chases the player (Doom:Arcade had this done pretty well),
http://www.doomworld.com/doomarcade/ (hidden map: Marine Lemings)
but doesn't hurt him. This could serve as a guided gatekeeper/laboratory survivor who has to open some door/do things in the destination You have to guide them to. Just had to add a bit of creativity.
For some reason I believe, smartly, this could be done somehow without complex AI rewritage. It may only be me tough.
Otherwise one will have to satisfy himself with a follower that doesn't attack his enemies. Scripted marines chase the player but they don't hurt him, tough they DO make the attack state. Cut that out and You have a follower who chases the player (Doom:Arcade had this done pretty well),
http://www.doomworld.com/doomarcade/ (hidden map: Marine Lemings)
but doesn't hurt him. This could serve as a guided gatekeeper/laboratory survivor who has to open some door/do things in the destination You have to guide them to. Just had to add a bit of creativity.

-
- Lead GZDoom+Raze Developer
- Posts: 47986
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
-
- Posts: 4220
- Joined: Tue Jul 15, 2003 5:07 pm
- Location: Nottingham, UK
-
- Posts: 4607
- Joined: Fri Apr 16, 2004 1:41 pm
-
- Posts: 598
- Joined: Fri Jun 24, 2005 3:19 am
- Location: Makin tracks with jetboots
-
- Posts: 863
- Joined: Sun Aug 29, 2004 6:15 am
- Location: Sydney, Australia
Hey Ant, bit of free advice for you. Next time, before you post, ask yourself this question:ant1991331 wrote:Yes they do follow the player, but not 'close' following as you wanted, they just realy slowly follow the player
"Do I have any idea what I'm talking about?"
If the answer is "no," probably best not to make that post.
And just to make your life easier, I'll go right ahead and inform you that the answer is always going to be "no."
-
- Posts: 4607
- Joined: Fri Apr 16, 2004 1:41 pm