grouping multiple species?

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.

grouping multiple species?

Postby Dan_The_Noob » Mon Jan 11, 2021 11:28 pm

Is it possible to group multiple species?
I had to add species to creatures in my mod to allow Corruption Cards to work with it properly, but it introduces infighting among creatures i don't want infighting (but also do not want to gain the same card effects)
User avatar
Dan_The_Noob
 
Joined: 07 May 2019
Twitch ID: Dan_The_Noob
Operating System: Windows 10/8.1/8/201x 64-bit
Graphics Processor: nVidia with Vulkan support

Re: grouping multiple species?

Postby Misery » Mon Jan 11, 2021 11:55 pm

You can change species within the monster's species property, or you can also change it in ACS with APROP_Species usin' a custom string. Change the species of the monsters you want to group together with a custom species. Oh, and you can also customize damage type to exclude specific species of monsters. There's a post that describes that particular method in more detail viewtopic.php?f=122&t=66538.
User avatar
Misery
 
Joined: 04 Nov 2018

Re: grouping multiple species?

Postby Dan_The_Noob » Tue Jan 12, 2021 1:15 am

i have the species all set up but I need a way to make Species A not fight with Species B or C
User avatar
Dan_The_Noob
 
Joined: 07 May 2019
Twitch ID: Dan_The_Noob
Operating System: Windows 10/8.1/8/201x 64-bit
Graphics Processor: nVidia with Vulkan support

Re: grouping multiple species?

Postby Misery » Tue Jan 12, 2021 1:57 am

Well, in that case, that is why I posted the link to the topic about damage type (see above post). You can customize an actor's damage type to correspond to another actor's damage immunity. In other words, one species group has Alpha damage type, and another species group has immunity against Alpha damage type.

https://zdoom.org/wiki/Custom_damage_types
https://zdoom.org/wiki/MAPINFO/Damage_type_definition
User avatar
Misery
 
Joined: 04 Nov 2018


Return to Scripting

Who is online

Users browsing this forum: No registered users and 0 guests