Playable monsters

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
ZzZombo
Posts: 317
Joined: Mon Jul 16, 2012 2:02 am

Playable monsters

Post by ZzZombo »

So, what exactly does setting -FRIENDLY on a player actor do? From what I know, you already could have playable monsters, as in, add a monster AI function like A_Chase into appropriate state and viola, you have it.
ZzZombo
Posts: 317
Joined: Mon Jul 16, 2012 2:02 am

Re: Playable monsters

Post by ZzZombo »

Help?
User avatar
ramon.dexter
Posts: 1557
Joined: Tue Oct 20, 2015 12:50 pm
Graphics Processor: nVidia with Vulkan support
Location: Kozolupy, Bohemia

Re: Playable monsters

Post by ramon.dexter »

Well, what is the question? You want to play as monster?

If so, that's not a matter of only one flag... :D
ZzZombo
Posts: 317
Joined: Mon Jul 16, 2012 2:02 am

Re: Playable monsters

Post by ZzZombo »

In case you miss the very first sentence ending with a question mark, here is it:
So, what exactly does setting -FRIENDLY on a player actor do?
User avatar
ramon.dexter
Posts: 1557
Joined: Tue Oct 20, 2015 12:50 pm
Graphics Processor: nVidia with Vulkan support
Location: Kozolupy, Bohemia

Re: Playable monsters

Post by ramon.dexter »

No, I have not missed the very first sentence. But the thread's name implies that you want to have playable monster. But in the thread, you are asking completely different questin. Maybe you should change the thread name to be less confusing.
User avatar
Rachael
Posts: 13717
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her

Re: Playable monsters

Post by Rachael »

Setting -FRIENDLY simply changes the player's "team" to monster. It does not add AI calls to the player's states, nor does it turn them brown and grow spikes everywhere - you have to provide that yourself if you want it.

In coop games this means the player is killable even with teamdamage on and the kills count as a frag. Normal monsters will also ignore the player, until hit first, and friendly monsters will try to kill the player.

This feature was asked for sometime earlier this year.

Return to “Scripting”