News:

One Minute Game Review by The Happy Friar: https://ugetube.com/@OneMinteGameReviews
Also on Rumble: https://rumble.com/c/c-1115371

idTech 4 (aka Doom 3 tech) Discord Server! https://discord.gg/9wtCGHa

Main Menu

What for this isolated box on the alphalabs3?

Started by bitterman, February 21, 2018, 11:01:55 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bitterman

This box with no entry/exit have an trigger_relay and some weapons and ammo.

What for it is?

The Happy Friar

could be for if you use the console to load the map it gives you the ammo/guns you "should" have when you get there in game.

bitterman

#2
Yes, that's right.

This is a trigger_relay with set of targets (items) which will be gived to the player when map will be loaded.

All targets will be activated by Code. This trigger must have a "devmap" name.

Perhaps items must be sealed from the Void to prevent some warnings.

1830         // trigger playtesting item gives, if we didn't get here from a previous level
1831         // the devmap key will be set on the first devmap, but cleared on any level
1832         // transitions

1833         if ( !gameLocal.isMultiplayer && gameLocal.serverInfo.FindKey( "devmap" ) ) {
1834                 // fire a trigger with the name "devmap"
1835                 idEntity *ent = gameLocal.FindEntity( "devmap" );
1836                 if ( ent ) {
1837                         ent->ActivateTargets( this );
1838                 }
1839         }

The Happy Friar

If they're not sealed then they leak.  This trick was used in all previous id games I think.  :)