Areaportalwindow

Areaportalwindow

Re: Areaportalwindow Posted by DrGlass on Thu Jan 13th 2005 at 9:45pm
DrGlass
1825 posts
Posted 2005-01-13 9:45pm
DrGlass
member
1825 posts 632 snarkmarks Registered: Dec 12th 2004 Occupation: 2D/3D digital artist Location: USA
I'm makeing several areaportalswindows and I dont want to change their
name every time I make a new one. Is there a way to set up a
group of entities that all have unique name but keep their
connection.

i.e. areaportalwindow named window_portal_1 renders window_1... and each one would have a diffrent number.
Re: Areaportalwindow Posted by Zeon on Fri Jan 14th 2005 at 5:56am
Zeon
37 posts
Posted 2005-01-14 5:56am
Zeon
member
37 posts 14 snarkmarks Registered: Dec 22nd 2004 Location: USA
There is indeed. What you need is a point_template.

From the Source Entity guide, point_template is defined as:

[size=13]Turns an entity, or set of entities, into a single template that can be instanced anywhere, and multiple times. If there are interdependencies (entity I/O, hierarchy, or other name eferences) between the entities in the template, the entities in the template will have their names changed and the interdependencies will be reconnected to the changes names. The name change format is as follows: '<original name>&0000', where the 0000 will be replaced with the current global template instance, so wildcard searches for '<original name>*' will still <?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /><st1:State w:st="on"><st1:place w:st="on">ind</st1:place></st1:State> them. If you don't want the name fixup to happen, because you're only spawning the template once, or you want INPUTS to trigger all instances of the template, check the 'Preserve entity ames' spawnflag. <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>[/size]

To spawn the template in other places, use an env_entity_maker.<o:p></o:p>

<o:p> </o:p>

Template 1-16 Template01-16 <target_destination>

<o:p> </o:p>

<B style="mso-bidi-font-weight: normal">1: Don't remove template entities:</B> OFF

<B style="mso-bidi-font-weight: normal">2: Preserve entity names (Don't do name fixup):</B> ON
Re: Areaportalwindow Posted by DrGlass on Fri Jan 14th 2005 at 6:19am
DrGlass
1825 posts
Posted 2005-01-14 6:19am
DrGlass
member
1825 posts 632 snarkmarks Registered: Dec 12th 2004 Occupation: 2D/3D digital artist Location: USA
hmmm I that seems to be a bit over my head, I though it might be the point_template I'll experiment with it a little bit.
Re: Areaportalwindow Posted by Campaignjunkie on Fri Jan 14th 2005 at 6:26am
Campaignjunkie
1309 posts
Posted 2005-01-14 6:26am
1309 posts 329 snarkmarks Registered: Feb 12th 2002 Occupation: Student Location: West Coast, USA
Wow, I really had no idea such an entity even existed. Thanks, Zeon! :smile:

But the manual way isn't too difficult either. If you learn keyboard
shortcuts, the entire cloning and renaming process should take about 30
seconds. In general though, you should be learning keyboard shortcuts
anyway. :smile:
Re: Areaportalwindow Posted by DrGlass on Fri Jan 14th 2005 at 9:03am
DrGlass
1825 posts
Posted 2005-01-14 9:03am
DrGlass
member
1825 posts 632 snarkmarks Registered: Dec 12th 2004 Occupation: 2D/3D digital artist Location: USA
the copy paste is easy, shift drag. Only problem is that I want the names to change.

i.e.

areaportalwindow

name = window_portal_1

Render = window_1

func_brush

name = window_1

I want to copy that about 15 times over, but I dont want to have to change each one of those names to somthing unique.