What is "instances" in custom maps and how to use it?
I'm new at this forum, so maybe i have a lot to ask. A thing i want to ask is some maps i downloaded are included with an "instances" folder. I knew nothing about this. What is this folder? What is the effects to the map? How to use/install it?
Thanks in advance
They offer you an easy way to put stuff in your map, as mentioned, they're great for cubedroppers for example. You only have to make one once and you can just put it in any map, valve even added a lot of useful instances to the game by default!
This makes mapping a lot faster and easier. An additional advantage is that if you change the instance it is automatically updated throughout all maps that use that instance. That means; you don't have to apply that change to all the different places where you used that instance. Just re-compiling the same map with the same vmf but with a different instance will give the updated instance!
To use them create a func_instance; browse to the appropriate vmf and load it.
Make sure to give the instance a fixup name and once you want to give input/output to the instance all valid options should be avaiable.
... it's all about searching 
Lpfreaky90 wrote:
Instances are; as ysihbarr mentioned; pre-made vmfs.They offer you an easy way to put stuff in your map, as mentioned, they're great for cubedroppers for example. You only have to make one once and you can just put it in any map, valve even added a lot of useful instances to the game by default!
This makes mapping a lot faster and easier. An additional advantage is that if you change the instance it is automatically updated throughout all maps that use that instance. That means; you don't have to apply that change to all the different places where you used that instance. Just re-compiling the same map with the same vmf but with a different instance will give the updated instance!
To use them create a func_instance; browse to the appropriate vmf and load it.
Make sure to give the instance a fixup name and once you want to give input/output to the instance all valid options should be avaiable.
Thank you for the explanation!
Cheers
I did it now