Issue with flipping and angled panels in an instance
All of these instances are then placed in main_instance.vmf(this instance has nothing but instances in it)
So the problem, in recycled_space.vmf there is a wall panel that flips on a trigger and an angled panel which rises on another trigger. Both of these work fine in the instance standalone, but when I compile the entire main_instance.vmf they don't. The map was originally made in PeTI, so they are the stock PeTI instances.
Any ideas?
EDIT: i've just considered using recycled stuff as the main instance and calling everything else into that, but still would like to know if anyone knows why this might be happening
I think you could either deal with this renaming and just make sure to use the correct final name as the target, or you could place an @ in front of the name of the objects you want to target. Iirc things labeled this way don't get renamed.
Disclaimer: I'm new to all this, excuse me if I'm talking crap. Also, you could try to ask stuff like this in the IRC
- In the PTI editor, put an angled panel on the floor and connect it to a floor button.
- Export the map, say to paneltest.vmf
- Open this in hammer and compile.
- Create a new map in Hammer, say paneltest_top_level.vmf. Add in paneltest.vmf as an instance. Compile.
- In the game, load up paneltest. Standing on the button should open the panel.
- Load up paneltest_top_level.vmf. Standing on the button fails to open the panel!
I have no idea why this is the case.
For now, Tank, if you want to be pragmatic, you could treat your puzzle file (recycled_space.vmf?) as the 'top-level' instance, and include the other instances into that file. (I'm suggesting this because the panel works when you compiled recycled_space separately.)
BEARD! wrote:
For now, Tank, if you want to be pragmatic, you could treat your puzzle file (recycled_space.vmf?) as the 'top-level' instance, and include the other instances into that file. (I'm suggesting this because the panel works when you compiled recycled_space separately.)
i've just rebuilt the panels myself, they work fine in both cases, it must be something to do with the logic in the peti instances, i will try to get to the bottom of it at some point. but for now it works.
The solution was to move it up one level so it was only one instance 'deep'. Its name starts with an @, so it can't be a naming problem. Apparently some entities just don't like being placed inside an instance, inside an instance.