View previous topic :: View next topic |
Author |
Message |
Baker

Joined: 14 Mar 2006 Posts: 1538
|
Posted: Sat Apr 15, 2006 3:02 am Post subject: Ultra-tough Question |
|
|
Objective:
I need to know *everything* about the spawnflags settings in maps.
Goal is to cause all entities that appear in single player to occur in deathmatch. I have been told this is impossible in QuakeC because spawnflags occur prior to QuakeC getting a chance to look at the entities.
Is this true? Can only an engine-side modification cause single player entities to appear in multiplayer (keys, doors, wind tunnels, the works). |
|
Back to top |
|
 |
FrikaC Site Admin

Joined: 08 Oct 2004 Posts: 947
|
Posted: Sat Apr 15, 2006 3:18 am Post subject: |
|
|
The majority of entity spawnings are handled in the QuakeC, all monsters, keys, func_dmonlys, etc. Search items and the various monster files for if(deathmatch) remove(self); lines or to that effect and comment them out or remove them.
The SPAWNFLAG_NOT_DEATHMATCH spawnflag (as well as the various skill level spawnflages) are indeed (inexplicably) handled in the engine, in pr_edict.c. To get at these entities, you'll need to comment out the block of code that prevents them from spawning, however it would be wise to keep the skill level flag handling just below that. |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2004 phpBB Group
|