Unofficial Quake Engine - Forums
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Hexen II mapping question Expand / Collapse
Author
Message
Posted Friday, August 01, 2008 2:09:02 PM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: Wednesday, September 03, 2008 3:20:50 PM
Posts: 10, Visits: 27
Hey everyone. I'm very close to complete my first level of a Hexen II project I've been working on.

I started with a rider map but there's one problem I can't seem to solve.

When you play the original Hexen II level called Famine's Domain in singleplayer, you can't open the acces to the lower part of the level. When you play a deathmatch game, you can because it is required to end the level since Famine is not there.

Now, I made something similar in my map but it also opens in singleplayer and I've looked at a rider map from Hexen II and there's no different spawnflag or whatever than the ones I used.

Does anyone know how it must be done?

http://www.blackcrucible.com

Post #575
Posted Saturday, August 02, 2008 2:18:40 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: Sunday, August 03, 2008 4:45:47 PM
Posts: 5, Visits: 13
BlackCrucible (8/1/2008)

When you play the original Hexen II level called Famine's Domain in singleplayer, you can't open the acces to the lower part of the level. When you play a deathmatch game, you can because it is required to end the level since Famine is not there.

Now, I made something similar in my map but it also opens in singleplayer and I've looked at a rider map from Hexen II and there's no different spawnflag or whatever than the ones I used.


In the engine source, we have these spawn flags (see server.h):
SPAWNFLAG_NOT_PALADIN		0x00000100 
SPAWNFLAG_NOT_CLERIC 0x00000200
SPAWNFLAG_NOT_NECROMANCER 0x00000400
SPAWNFLAG_NOT_THEIF 0x00000800
SPAWNFLAG_NOT_EASY 0x00001000
SPAWNFLAG_NOT_MEDIUM 0x00002000
SPAWNFLAG_NOT_HARD 0x00004000
SPAWNFLAG_NOT_DEATHMATCH 0x00008000
SPAWNFLAG_NOT_COOP 0x00010000
SPAWNFLAG_NOT_SINGLE 0x00020000
SPAWNFLAG_NOT_DEMON 0x00040000

If SPAWNFLAG_NOT_SINGLE is set (which may be the one you need),
that entity will be inhibited and freed in single player game; the decimal
value for it is 131072. Similar for others. I don't know know what tool
you are using (and I'm not familiar with any of them, anyway), but it
should let you set such flags. Send me the uncompiled .map file if you
want let me see if I can do anything with it.

O.S.


H.o.T.: http://uhexen2.sf.net/
Post #576
Posted Sunday, August 03, 2008 12:42:57 PM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: Wednesday, September 03, 2008 3:20:50 PM
Posts: 10, Visits: 27
I'm using worldcraft (version 1.6) and those spawnflags are not available in the editor.

The only options available for the trigger object are:

no touch
monster touch
push touch
deactivated
remove puzzle
no puzzle
light toggle
light start low
not in deathmatch
not in easy
not in normal
not in hard

so I'm going to try selecting the last 3 options, that might do the trick, altough they are not selected in the original Hexen II level.

http://www.blackcrucible.com

Post #577
Posted Sunday, August 03, 2008 4:22:06 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: Sunday, August 03, 2008 4:45:47 PM
Posts: 5, Visits: 13
If you want it not to trigger in single player, those last three from the editor are utterly irrelevant.
It should have given you 'not in single' or something. The Raven map has that particular flag set.
Hand editing your map source (*.map) may work if you know what you are doing.



H.o.T.: http://uhexen2.sf.net/
Post #578
Posted Sunday, August 03, 2008 5:11:46 PM
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Group: Forum Members
Last Login: Tuesday, March 09, 2010 6:13:06 PM
Posts: 60, Visits: 503
If you want it not to trigger in single player, those last three from the editor are utterly irrelevant.

Try that: make a trigger or something with a "killtarget" And set it to "not in deathmatch."
BTW QuArK has the best HexenII support.

Edit: triggering and such stuff is a bit more komlex than in QuakeI, there is also a "trigger_activate"
Post #580
Posted Thursday, August 07, 2008 2:36:22 PM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: Wednesday, September 03, 2008 3:20:50 PM
Posts: 10, Visits: 27
Ok, I've edited the .map file format and everything is working like it's supposed to.
I've just copied the spawnflags of trigger_once from the original Hexen II map and placed it into my map under trigger_once.
Thanks guys!

http://www.blackcrucible.com
Post #582
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Korax

Permissions Expand / Collapse

All times are GMT +2:00, Time now is 5:46am

Powered by InstantForum.NET v4.1.4 © 2010
Execution: 0.047. 11 queries. Compression Disabled.