Journal #8538

Posted 5 years ago2015-04-22 21:42:01 UTC
Well, today I learned Hammer clones entities between maps when run through the compiler.
e.g. In map A, I pick up the HEV Suit, and go through the trigger_changelevel to map B. I go back through the changelevel (immediately or after waiting a bit, it doesn't matter) to map A, and another HEV Suit is there, waiting to be taken. Same thing happens with monster entities if they've moved from their original spawn point. To my knowledge, brush-based entities and things like ambient_generic, light, etc. aren't cloned; just monsters and items.

2 Comments

Commented 5 years ago2015-04-23 10:43:54 UTC Comment #67076
Compile tools and Hammer have no idea between the relation of 2 maps whether they are interconnected or not.

This is just the game engine keeping track of things as you move between the levels. If you kill a monster then go forward a level and come back the monster should not spring back to life, the engine keeps track.

No "cloning" occurs.
Commented 5 years ago2015-04-24 07:50:17 UTC Comment #67075
Trigger_Transition solves this if it's an issue. You link it to the changelevel and then only entities within that area are carried over.

You must log in to post a comment. You can login or register a new account.