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.

Playable monsters

Postby ZzZombo » Tue Oct 31, 2017 8:09 pm

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
 
Joined: 16 Jul 2012

Re: Playable monsters

Postby ZzZombo » Sun Nov 05, 2017 10:38 am

Help?
ZzZombo
 
Joined: 16 Jul 2012

Re: Playable monsters

Postby ramon.dexter » Sun Nov 05, 2017 12:01 pm

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

If so, that's not a matter of only one flag... :D
User avatar
ramon.dexter
rudebwoy
 
Joined: 20 Oct 2015
Location: Kozolupy, Bohemia
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: Playable monsters

Postby ZzZombo » Sun Nov 05, 2017 10:12 pm

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?
ZzZombo
 
Joined: 16 Jul 2012

Re: Playable monsters

Postby ramon.dexter » Sun Nov 05, 2017 11:27 pm

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
ramon.dexter
rudebwoy
 
Joined: 20 Oct 2015
Location: Kozolupy, Bohemia
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: Playable monsters

Postby Rachael » Mon Nov 06, 2017 4:18 am

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.
User avatar
Rachael
Admin
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: ATI/AMD with Vulkan Support


Return to Scripting

Who is online

Users browsing this forum: No registered users and 0 guests