[.98] Map07: Friendly NPC's

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: [.98] Map07: Friendly NPC's

by Graf Zahl » Mon Apr 10, 2006 4:00 pm

fixed

by Graf Zahl » Sat Jan 28, 2006 8:33 am

Well. That is the kind of cause I expected here. And actually it is a bug. The bot code sets the flags of the player actor when this variable changes - and it clears the MF_FRIENDLY flag in the process. As a result the player becomes hostile for all friendly monsters. Fixed in GZDoom.

(The bug is in line 150 of b_game.cpp.)

by Rachael » Sat Jan 28, 2006 7:08 am

After some more testing, with 96x, 98, and vanilla strife... this is not a ZD-strife problem at all. It is, in fact, a ZDoom problem, and a very minor one at that, and totally unrelated to what is being talked about here.

This problem, if you really want to know, is the 'bot_observer' cvar. It would appear that having this switched on and off is what was causing the problem - on any map -- this would then filter down into any map you entered. (Probably a player flag that was set or cleared). If this variable remains untouched, the rebels will remain friendly. Otherwise, they'll kill you.

And, thinking about it... I would not have reported this issue if I had known it was the bot_observer cvar, since it seems like bots (and this is obviously a bot function) are largely abandoned in ZDoom.

by Graf Zahl » Sat Jan 28, 2006 6:46 am

I have no idea what you are doing wrong. But you must do something wrong. I haven't managed yet to make the rebels attack me on MAP07 with any ZDoom version - ever!

If you mean MAP10 - which is the second stage of MAP07 - that's something different. If you do something stupid there the rebels *will* attack immediately.

by Rachael » Sat Jan 28, 2006 5:54 am

Tested on 96x.

The rebels attacked me outright with no provokation at all. Was repeatable.

I assume they aren't flagged as friendly, or there is no code for friendly monsters.

by Rachael » Fri Jan 27, 2006 9:35 pm

Thanks, got it. :)

by Enjay » Fri Jan 27, 2006 6:02 am

by dennisj1 » Thu Jan 26, 2006 10:32 pm

The link to the .96x Community Build is in the "New features (last update 8.8.2005)" thread (first page) in the Feature Suggestions forum.

by Rachael » Thu Jan 26, 2006 9:38 pm

Could you post a link?

I know it was posted on this forum before but I can't find the link to it anymore... it seems to have just disappeared.

by Graf Zahl » Mon Jan 23, 2006 3:49 am

Can you try to reproduce this with .96x? The target switching code in ZDoom has some serious bugs which I tried to fix there.

by Rachael » Sun Jan 22, 2006 9:21 pm

Well - it's odd - I can manage to reproduce the bug accidentally, but can never figure out how I did it. I do know that a lot of the rebel soldiers WILL attack you if they are in their spawn state and you fire your gun. This might actually be vanilla Strife (and it is for some maps) but it makes Map07 more difficult. Maybe that's what's happening in Map07, they're still in their spawn state when I fire my gun, like right when I enter.

by Rachael » Tue Jan 03, 2006 3:26 am

This isn't Vavoom this is ZDoom. I'll do some more testing on it to see if I can reproduce the bug.

by Deathlike2 » Mon Jan 02, 2006 4:33 am

SoulPriestess wrote:I dunno... maybe I'm just rambling... fact is one time in one saved game I was in Map07 and I was getting slaughtered by Order AND Rebels.
You sure you weren't you were experienced it in Vavoom? (1.18 and previous)

The only thing I can think of is that the the saved game doesn't remember the state of the soldiers... you'll have to test it further..

Either that.. or you can avoid being in the middle of crossfire... because the rebels and acolytes aren't afraid to deal friendly fire.

by Rachael » Mon Jan 02, 2006 3:07 am

Well... I saved my game... waltzed on in to Map07 from Map02. I don't know what exactly caused it, maybe I fired my gun too early, but boy did them rebels hate me...

If I never fired my gun, though, and went in, then there was nothing to worry about...

I HAVE noticed that friendly attacking NPC's, when they're in their look state, will attack you if you shoot a noisy gun. This applies to all of the game-types in ZDoom. Unfortunately, this IS a reproduction of original strife behavior - however - I do wonder if Original Strife maybe had something to block that effect in Map07?

I dunno... maybe I'm just rambling... fact is one time in one saved game I was in Map07 and I was getting slaughtered by Order AND Rebels.

by Belial » Tue Dec 27, 2005 4:15 am

Deathlike2 wrote:...Vavoom is a terrible port when it deals with Strife..in fact, most of the ammo pickup numbers are wrong...

...ZDoom reproduces the correct effect of vanilla Strife....
HEH ;)

Top