make barney hostile Created 8 years ago2016-06-23 07:39:19 UTC by Dallas Dallas

Created 8 years ago2016-06-23 07:39:19 UTC by Dallas Dallas

Posted 8 years ago2016-06-23 07:39:19 UTC Post #330562
Is there any way to make barney hostile to the player without the player damaging him? (for vanilla HL1 goldsource)

I'd like to have a barney who will attack the player on sight.
Posted 8 years ago2016-06-23 08:44:44 UTC Post #330564
In vanilla HL1, you can't.

For custom mods, just set the "provoked" bit to "on".
Posted 8 years ago2016-06-23 09:33:27 UTC Post #330567
Spirit can also do it easily, but vanilla? I don't believe there's a way.
Jessie JessieTrans Rights <3
Posted 8 years ago2016-06-23 09:35:58 UTC Post #330568
Yeah, not without coding... so basically not Vanilla HL.
monster_urby monster_urbyGoldsourcerer
Posted 8 years ago2016-07-05 19:55:57 UTC Post #330696
Urby has a point, you can create a flag for your fgd in HLSDK that is checked whether It's enabled or not so if It's enabled (For instance: Hostile Barney) in flags window that barney will be hostile, else he's friendly. Integers that define hostility are easily understood.
EsprimoP EsprimoPwEight
Posted 8 years ago2016-07-05 20:55:01 UTC Post #330698
Or you can do it Spirit style and allow the mapper to select the relationship of Barney (imagine Barney with Nihilanth fighting the player ^^)
Posted 8 years ago2016-07-06 11:52:00 UTC Post #330710
It's simpler to use Spirit, but better to code yourself. Choose whatever you like.
imagine Barney with Nihilanth fighting the player
Security guard version of Dr. Eddy from Black Guard Mod.
EsprimoP EsprimoPwEight
Posted 8 years ago2016-07-07 16:51:57 UTC Post #330730
download 'evil barney mod' from the internet and use the dll file in that mod
Posted 8 years ago2016-08-12 19:51:57 UTC Post #331201
Or code it, it takes only a few hours (At least for me!!) to make a clone of barney that is a bastard that wants to kill you, in relationship put CLASS_ALIEN_MILITARY or so instead of CLASS_PLAYER_ALLY.

[quote]//=========================================================
// Classify - indicates this monster's place in the
// relationship table.
//=========================================================
int CYourmonster :: Classify ( void )
{
return	CLASS_ALIEN_MILITARY;//Original-->return	CLASS_PLAYER_ALLY;
}[/quote]

:D
You must be logged in to post a response.