Is there A way to make an invisible class?
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Is there A way to make an invisible class?
I was thinking is it possible to make a class that won't be attacked by monsters?
- Macil
- Posts: 2529
- Joined: Mon Mar 22, 2004 7:00 pm
- Preferred Pronouns: He/Him
- Location: California, USA. Previously known as "Agent ME".
- Contact:
Re: Is there A way to make an invisible class?
I think any one of these properties will do what you want, but you weren't too specific so it might fit exactly to your needs.
-SHOOTABLE
+NOTARGET
-FRIENDLY
-SHOOTABLE
+NOTARGET
-FRIENDLY
- Unknown_Assassin
- Posts: 2468
- Joined: Wed Apr 12, 2006 5:17 pm
- Location: Where dead carcasses lie
- Contact:
Re: Is there A way to make an invisible class?
Don't you mean +FRIENDLY?Agent ME wrote:-FRIENDLY
EDIT: Monsters are already -FRIENDLY by default.
Last edited by Unknown_Assassin on Wed Jul 23, 2008 9:30 pm, edited 1 time in total.
- Macil
- Posts: 2529
- Joined: Mon Mar 22, 2004 7:00 pm
- Preferred Pronouns: He/Him
- Location: California, USA. Previously known as "Agent ME".
- Contact:
Re: Is there A way to make an invisible class?
Then monsters would attack it if it was friendly to the player - I wasn't sure if maybe he was inheriting from a class that had +FRIENDLY already set.
Re: Is there A way to make an invisible class?
I mean a player class not a monster.
- Matt
- Posts: 9696
- Joined: Sun Jan 04, 2004 5:37 pm
- Preferred Pronouns: They/Them
- Operating System Version (Optional): Debian Bullseye
- Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia
- Contact:
Re: Is there A way to make an invisible class?
+NOTARGET is probably the best, though I think monsters will still retaliate.
+INVISIBLE and +SHADOW might be helpful when they do.
+INVISIBLE and +SHADOW might be helpful when they do.
Re: Is there A way to make an invisible class?
The invisible flag works great but can i make the player visible?
Im mostly trying to make monsters not go after the class.
Im mostly trying to make monsters not go after the class.
- Matt
- Posts: 9696
- Joined: Sun Jan 04, 2004 5:37 pm
- Preferred Pronouns: They/Them
- Operating System Version (Optional): Debian Bullseye
- Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia
- Contact:
Re: Is there A way to make an invisible class?
Oh, okay.RaptorX wrote:The invisible flag works great but can i make the player visible?
Im mostly trying to make monsters not go after the class.
+SHADOW does the same thing as +INVISIBLE without making the actor invisible to players.
Re: Is there A way to make an invisible class?
Tried it. Made the monsters go after him when close.
- Unknown_Assassin
- Posts: 2468
- Joined: Wed Apr 12, 2006 5:17 pm
- Location: Where dead carcasses lie
- Contact:
Re: Is there A way to make an invisible class?
And you tried +NOTARGET?RaptorX wrote:Tried it. Made the monsters go after him when close.
Re: Is there A way to make an invisible class?
notarget by itself didnt do anything. shadow workied until you get close to the monster.
Re: Is there A way to make an invisible class?
All notarget does is not make the monsters wake up when they see or hear the player. If they're damaged, or woken up by another player, they will happily go after players who have the notarget flag.
Re: Is there A way to make an invisible class?
Tried it by myself on deathmatch level summoned a demon and he went after me.
notarget does nothing for classes.
notarget does nothing for classes.
- Matt
- Posts: 9696
- Joined: Sun Jan 04, 2004 5:37 pm
- Preferred Pronouns: They/Them
- Operating System Version (Optional): Debian Bullseye
- Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia
- Contact:
Re: Is there A way to make an invisible class?
....huh.
I can't think of any reason why the flag shouldn't work... maybe something for a bug report?
I can't think of any reason why the flag shouldn't work... maybe something for a bug report?
- Unknown_Assassin
- Posts: 2468
- Joined: Wed Apr 12, 2006 5:17 pm
- Location: Where dead carcasses lie
- Contact:
Re: Is there A way to make an invisible class?
I don't think it's a bug.Vaecrius wrote:....huh.
I can't think of any reason why the flag shouldn't work... maybe something for a bug report?
I forgot about the fact that +NOTARGET doesn't work between the friendlies and the enemies. Say I summon a Cyberdemon with a +NOTARGET flag, and I summonfriend a BaronofHell. The Baronofhell would still attack the Cyberdemon regardless of the +NOTARGET.
Therefore the +NOTARGET flag wouldn't work on a friendly actor such as the Doomplayer because obviously, the Doomplayer is on your side.
Though the Wiki should clarify and say friendly actors rather than monsters.wiki wrote: This does not prevent hostile monsters from being targeted by friendly monsters.