Is there A way to make an invisible class?

Archive of the old editing forum
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.
User avatar
RaptorX
Posts: 71
Joined: Fri May 30, 2008 10:36 am
Location: hell

Is there A way to make an invisible class?

Post by RaptorX »

I was thinking is it possible to make a class that won't be attacked by monsters?
User avatar
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?

Post by Macil »

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
User avatar
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?

Post by Unknown_Assassin »

Agent ME wrote:-FRIENDLY
Don't you mean +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.
User avatar
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?

Post by Macil »

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.
User avatar
RaptorX
Posts: 71
Joined: Fri May 30, 2008 10:36 am
Location: hell

Re: Is there A way to make an invisible class?

Post by RaptorX »

I mean a player class not a monster.
User avatar
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?

Post by Matt »

+NOTARGET is probably the best, though I think monsters will still retaliate.

+INVISIBLE and +SHADOW might be helpful when they do.
User avatar
RaptorX
Posts: 71
Joined: Fri May 30, 2008 10:36 am
Location: hell

Re: Is there A way to make an invisible class?

Post by RaptorX »

The invisible flag works great but can i make the player visible?

Im mostly trying to make monsters not go after the class.
User avatar
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?

Post by Matt »

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.
Oh, okay.

+SHADOW does the same thing as +INVISIBLE without making the actor invisible to players.
User avatar
RaptorX
Posts: 71
Joined: Fri May 30, 2008 10:36 am
Location: hell

Re: Is there A way to make an invisible class?

Post by RaptorX »

Tried it. Made the monsters go after him when close.
User avatar
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?

Post by Unknown_Assassin »

RaptorX wrote:Tried it. Made the monsters go after him when close.
And you tried +NOTARGET?
User avatar
RaptorX
Posts: 71
Joined: Fri May 30, 2008 10:36 am
Location: hell

Re: Is there A way to make an invisible class?

Post by RaptorX »

notarget by itself didnt do anything. shadow workied until you get close to the monster.
User avatar
HotWax
Posts: 10002
Joined: Fri Jul 18, 2003 6:18 pm
Location: Idaho Falls, ID

Re: Is there A way to make an invisible class?

Post by HotWax »

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.
User avatar
RaptorX
Posts: 71
Joined: Fri May 30, 2008 10:36 am
Location: hell

Re: Is there A way to make an invisible class?

Post by RaptorX »

Tried it by myself on deathmatch level summoned a demon and he went after me.
notarget does nothing for classes.
User avatar
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?

Post by Matt »

....huh.

I can't think of any reason why the flag shouldn't work... maybe something for a bug report?
User avatar
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?

Post by Unknown_Assassin »

Vaecrius wrote:....huh.

I can't think of any reason why the flag shouldn't work... maybe something for a bug report?
I don't think it's a bug.

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.
wiki wrote: This does not prevent hostile monsters from being targeted by friendly monsters.
Though the Wiki should clarify and say friendly actors rather than monsters.
Locked

Return to “Editing (Archive)”