Monster factions?

Moderator: GZDoom Developers

Post Reply
User avatar
Apothem
Posts: 2070
Joined: Sat Nov 29, 2003 7:13 pm
Location: Performing open heart surgery on an ACS compiler.

Monster factions?

Post by Apothem »

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.
User avatar
XutaWoo
Posts: 4005
Joined: Sat Dec 30, 2006 4:25 pm
Location: beautiful hills of those who are friends
Contact:

Re: Monster factions?

Post by XutaWoo »

Except monsters will always hurt each other with hitscans.
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: Monster factions?

Post by Gez »

You can use custom damage types with damage factors, and you can use the Species property.
User avatar
Snarboo
Posts: 2599
Joined: Tue Nov 29, 2005 4:37 am

Re: Monster factions?

Post by Snarboo »

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.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Monster factions?

Post by Graf Zahl »

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.
User avatar
Apothem
Posts: 2070
Joined: Sat Nov 29, 2003 7:13 pm
Location: Performing open heart surgery on an ACS compiler.

Re: Monster factions?

Post by Apothem »

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.
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: Monster factions?

Post by Gez »

Apothem wrote:So if I set the species to multiple monsters, their hitscans wont effect each other?
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.
User avatar
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?

Post by BouncyTEM »

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?
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”