Monster factions?
Moderator: GZDoom Developers
- Apothem
- Posts: 2070
- Joined: Sat Nov 29, 2003 7:13 pm
- Location: Performing open heart surgery on an ACS compiler.
Monster factions?
It would be something along the same lines as monsters can't hurt each other of the same species, except they no longer need to be of the same species. Think of it like teams for monsters. Primarily to keep hitscan monsters from killing each other, as this would turn off the 'friendly fire' between monsters of the same faction. Just like how the team damage scalar works for TDM in ZDoom.
- XutaWoo
- Posts: 4005
- Joined: Sat Dec 30, 2006 4:25 pm
- Location: beautiful hills of those who are friends
- Contact:
Re: Monster factions?
Except monsters will always hurt each other with hitscans.
Re: Monster factions?
You can use custom damage types with damage factors, and you can use the Species property.
Re: Monster factions?
I actually ran into the hitscan problem with my monster randomizer mod, but I just let it go because it didn't really affect the balance much.
- Graf Zahl
- Lead GZDoom+Raze Developer

- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Monster factions?
You can use the species property for this. If DECORATE is insufficient, use ACS's SetActorProperty to change it. No need to implement yet another feature.
- Apothem
- Posts: 2070
- Joined: Sat Nov 29, 2003 7:13 pm
- Location: Performing open heart surgery on an ACS compiler.
Re: Monster factions?
So if I set the species to multiple monsters, their hitscans wont effect each other? I literally need something exactly like player teams except for monsters. No damage should be able to effect other monsters unless they're of a seperate faction.
There isn't much on setting species in the wiki, so some extra explanation on how to use it would be nice.
There isn't much on setting species in the wiki, so some extra explanation on how to use it would be nice.
Re: Monster factions?
They will. Species only affect projectiles (and you have to use DONTHARMSPECIES -- not DONTHURTSPECIES -- for projectiles with splash damage). Use damage factors for hitscans, or replace hitscans by very small and very fast projectiles.Apothem wrote:So if I set the species to multiple monsters, their hitscans wont effect each other?
- BouncyTEM
- Posts: 3823
- Joined: Sun Aug 24, 2003 5:42 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 10
- Graphics Processor: nVidia with Vulkan support
- Location: 2280 Lol Street: The Calamitous Carnival (formerly Senators Prison)
Re: Monster factions?
Couldn't you get the desired results from a combination of species and damagetypes, though?
I thought hitscans could have certain damagetype properties if it was assigned to their bulletpuff. Wouldn't that work for Apothem's desires?
I thought hitscans could have certain damagetype properties if it was assigned to their bulletpuff. Wouldn't that work for Apothem's desires?