ValveTime.co.uk | Valve News, Forums, Steam

Hi,

I have a group of entities (a tile, some grass and a fire) that are connected (ie you shot the tile, fire starts, and grass slowly turns off, fire dies off).

I have grouped these and also saved them in Hammer as a PreFAB (and the file goes to SteamApps\<username>\sourcesdk\bin\Prefabs) in the .vmf format.)

However, when I create as new entity and select prefabs it creates them but with the same names I already had.

Is there a 'variable'(s) name that can be inserted into the prefab .vmf file that when it is imported into hammer an increamental value is inserted? ie have all the entities contain %counter% and when hammer imports the prefab it increaments it until there is no conflict with existing entity names.

I have checked in the forum and in the SDK site and cant find anything like this.

Please help

Randall
Back
Top