PDA

View Full Version : Edit duplicated objects as a group?



dillydadally
11-17-2007, 12:49 AM
Hi, I'm making a map where there are certain duplicated brushes that are repeated over and over again throughout the map. I've learned it's easy to copy one of these brushes by pushing ctrl+p, but I was wondering if there was a way to group these objects together so that I could change one and all the rest would change as well. Basically, I'm worried I'll make this large complex map and realize I have to make a small change to these objects and then have to take forever changing every one individually to match. It would be nice if I could change one and push a button and it would change all the rest the same way. Is there anything like this in the editor? Thanks.

-=¤willhaven¤=-
11-17-2007, 01:35 AM
Prefabs are what you're looking for. BSP may not work perfectly with prefabs, but you should be able to select a group of actors, right click to make a prefab, then make the package name the same as your level (MP_MyLevelNameGoesHere, etc), give the prefab itself a group and name, and click OK.

By default, prefabs will "lock" and you click a prefab and all actors within are selected. There should be a big P button on the toolbar that unlocks prefabs so you can select and tweak individual actors within each prefab. For instance, say you had a prefab that included a row of lights, and on one prefab, you wanted to swap out the materials on some of the lights for broken versions. You could do that fairly easily.

dillydadally
11-17-2007, 03:04 AM
Well, this worked great to select all of the objects, but once I select all of the objects I still can't seem to edit one and have all of the other objects mimic the edit. I selected one corner of one of them and deformed it and the other objects stayed the same. What must I do to have them all be edited? In addition, how would I add another brush to one item in the prefab and then have duplicate brushes added the same way on all the items.

For example, I have a large stone base to a pillar that I use all the time. In the future, I might want to spice it up by adding a few more brushes to give it some detail, such as a rounded top and bottom. How would I add that to everyone one of the pillar bases without doing this manually to each one?

Last question. Once I've created my prefab structure, and I want to put down a new pillar, how do I add another stone base group of brushes? Just turn off prefabs, select one manually and copy it, place it and then add it to the prefab? Or is there an easier way?

Thanks so much.