prefabs and events

S

suicyde

Guest
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
 
I'm pretty sure no. I figure that it just sees it as a copy and paste type of thing. But if I'm wrong someone pipe up, because that'd be a good and cool thing if you can acually do that.
 
I still have no luck on finding info about this 'feature'.

I don't suppose anybody could point me to any information about the format for SWF files, so I can look at writing my own tool to 'increment' prefabs.

PS - Valve - If you are reading this, I think this is a Wish List feature for future hammer update.

-Randall
 
Back
Top