Template talk:I targetname

From Valve Developer Community
Jump to: navigation, search

Why is hells name do we have colour and alpha in the base targetname template? it turns up in entities where it wouldn't even be a touch close to relevent, I want to comment them out but im gonna need to find out which entites thier needed for in the first damnned place. If you know, make the job easy and tell me because I REALLY don't like false information and screwups like this. (Angry Beaver)

Agreed. —Maven (talk) 16:12, 18 Sep 2005 (PDT)

I'm removing the "color" and "alpha" entries. This will fix some things but break others. —Maven (talk) 16:15, 18 Sep 2005 (PDT)

Actually, scanning through the "What links here" special page, I realize that "color" and "alpha" aren't ever inputs—only keyvalues. So probably nothing's broken by this after all. —Maven (talk) 16:27, 18 Sep 2005 (PDT)

...But ingame you can use ent_fire and it specifically lists alpha and color for every item...if someone is dumb enuf to use it on an invisible ent... let them —Ts2do 17:45, 18 Sep 2005 (PDT)

Actually, I meant that nothing's broken by the fix. Or perhaps I misunderstand you. —Maven (talk) 17:53, 18 Sep 2005 (PDT)
Of course, the right thing would be to label those inputs as irrelevant on entities that aren't rendered, while still having them listed, in case it just so happens that you can give a logic_timer a world model. --Demented 17:59, 18 Sep 2005 (PDT)
I strongly agree. If each property, rather than groups of properties, has a template, then we could use the templates as the basic description and follow the property with notes. I recognnize the convenience of being able to say {{i basicNPC}} (or whatever), but it makes it very difficult to say that on npc_bandersnatch the Render FX property causes the server to melt. MediaWiki has a way to expand a template into an article, which might help. Then we could say {{:i basicNPC:}} (or whatever the real synatx is) as our handy typing shortcut while subsequently being able to easily edit. Unless there are strong objections, I'll see about implementing something like that. —Maven (talk) 18:20, 18 Sep 2005 (PDT)</nowiki>
How's this: Template:I RenderFields
Also...you use entity description to note errors or problems with certain fields—Ts2do 06:30, 19 Sep 2005 (PDT)