Talk:Point template: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(7 intermediate revisions by 6 users not shown)
Line 2: Line 2:


:This makes complete sense...it's saying that all connections still work when they're recreated—'''[[User:Ts2do|ts2do]]''' 14:17, 7 Apr 2006 (PDT)
:This makes complete sense...it's saying that all connections still work when they're recreated—'''[[User:Ts2do|ts2do]]''' 14:17, 7 Apr 2006 (PDT)
Fixed is usually a reserved word (in the programming world) that means that the value is immutable. I think you should say redirected or renamed.  At least clarify what "fixed" means.  --[[User:Molaughlen|Molaughlen]] 20:04, 28 May 2008 (PDT)
Looks like point_template can't be in hierarchy with another point_template. Tested in HL2. --[[User:FaTony|FaTony]] 18:22, 8 Sep 2008 (PDT)
:No it can.--[[User:MrTwoVideoCards|Gear]] 17:12, 9 Sep 2008 (PDT)
::Huh, child spawns automatically, but it shouldn't. And if I kill it, it doesn't spawn anymore.--[[User:FaTony|FaTony]] 22:12, 1 Oct 2008 (PDT)
== Ending targetnames with a number will bug out the template ==
I just tried to spawn a point_template with an entity assigned to it that ended with a number. It effectively generated an error in the console with all data etc... and it was fixed by removing the number from the entity. I will add this as a bug so people are aware of this, should they ever try to do it or encounter the error. --[[User:JorisCeoen|JorisCeoen]] ([[User talk:JorisCeoen|talk]]) 20:36, 2 July 2017 (UTC)
== Using Parameter Override box ==
Tested in TF2: the name fixup will not change anything in the parameter override box. Paraphrased from console:
    '''(22.80) input relay&0014: train.SetParent(templated_entity)
    Entity func_tracktrain(train) has bad parent templated_entity'''
As can be seen, the output is trying to use the "base" name instead of the fixedup name.
[[User:Pdan4|(Pd)]] ([[User talk:Pdan4|talk]]) 01:29, 23 March 2018 (UTC)
== Can't force spawn <code>func_brush</code> ==
Tried it in {{csgo}}, by adding the name of a <code>func_brush</code> as a Template01, but got the error: <br>
<code>CreateInstance called on a point_template that has no templates: [name of point_template]</code>. <br>
I get the same result with <code>func_illusionary</code>, however <code>func_breakable</code> works fine. <br>
It would make sense to me that all of the [[S_PreserveEnts]] are not spawnable with the <code>point_template</code>. <br>
If true, it would be really good to read this information on this site. -- [[User:Popcorn|Popcorn]] ([[User talk:Popcorn|talk]]) 13:23, 12 November 2020 (PST)
:I can confirm my suspicion for {{csgo}}. Added a note, but left it specific only for that game. -- [[User:Popcorn|Popcorn]] ([[User talk:Popcorn|talk]]) 10:34, 17 November 2020 (PST)

Latest revision as of 11:34, 17 November 2020

I can't understand one bit of this entitys description. What's an interdependancy? How will it change the name? Why? What goes where and how's who what for? --Andreasen 03:07, 7 Apr 2006 (PDT)

This makes complete sense...it's saying that all connections still work when they're recreated—ts2do 14:17, 7 Apr 2006 (PDT)

Fixed is usually a reserved word (in the programming world) that means that the value is immutable. I think you should say redirected or renamed. At least clarify what "fixed" means. --Molaughlen 20:04, 28 May 2008 (PDT)

Looks like point_template can't be in hierarchy with another point_template. Tested in HL2. --FaTony 18:22, 8 Sep 2008 (PDT)

No it can.--Gear 17:12, 9 Sep 2008 (PDT)
Huh, child spawns automatically, but it shouldn't. And if I kill it, it doesn't spawn anymore.--FaTony 22:12, 1 Oct 2008 (PDT)

Ending targetnames with a number will bug out the template

I just tried to spawn a point_template with an entity assigned to it that ended with a number. It effectively generated an error in the console with all data etc... and it was fixed by removing the number from the entity. I will add this as a bug so people are aware of this, should they ever try to do it or encounter the error. --JorisCeoen (talk) 20:36, 2 July 2017 (UTC)

Using Parameter Override box

Tested in TF2: the name fixup will not change anything in the parameter override box. Paraphrased from console:

   (22.80) input relay&0014: train.SetParent(templated_entity)
   Entity func_tracktrain(train) has bad parent templated_entity

As can be seen, the output is trying to use the "base" name instead of the fixedup name.

(Pd) (talk) 01:29, 23 March 2018 (UTC)

Can't force spawn func_brush

Tried it in Counter-Strike: Global Offensive, by adding the name of a func_brush as a Template01, but got the error:
CreateInstance called on a point_template that has no templates: [name of point_template].
I get the same result with func_illusionary, however func_breakable works fine.
It would make sense to me that all of the S_PreserveEnts are not spawnable with the point_template.
If true, it would be really good to read this information on this site. -- Popcorn (talk) 13:23, 12 November 2020 (PST)

I can confirm my suspicion for Counter-Strike: Global Offensive. Added a note, but left it specific only for that game. -- Popcorn (talk) 10:34, 17 November 2020 (PST)