Jump to content


Tint object nugget issues


4 replies to this topic

#1 Madin

    Amateur

  • Member
  • 138 posts

Posted 08 January 2011 - 01:38

I have a projectile based weapon that is supposed to tint all vehicles & Infantry red, but leave Structures and other map objects alone, has the screen shot* shows this is not going according to plan.
I thought that the code below would filter 'STRUCTURES' out, but no.
Here is the 'Tint' nugget in my weapon code:
<TintObjectsNugget Radius=&#34;75&#34; PreColorTime=&#34;0s&#34; SustainedColorTime=&#34;20s&#34; PostColorTime=&#34;0s&#34; Frequency=&#34;0&#34; Amplitude=&#34;0&#34;>
		<SpecialObjectFilter Rule=&#34;ANY&#34; Relationship=&#34;ENEMIES&#34; Include=&#34;VEHICLE INFANTRY&#34; Exclude=&#34;STRUCTURE&#34; />
		<Color R=&#34;2&#34; G=&#34;-0.0&#34; B=&#34;0.1&#34; />
	  </TintObjectsNugget>


Also I have still been unable to get my 'Chemical Warrior' weapon to tint vehicles green. I'm starting to think that this might have something to do with the fact that the weapon is a 'Streamed' weapon.
Has anyone had any success with tinting objects based on streamed weapons? (such has the Black hands flame-thrower).
If not can anyone think of any solutions?
Chemical weapon 'Tint' nugget:
<TintObjectsNugget Radius=&#34;20&#34; PreColorTime=&#34;0s&#34; SustainedColorTime=&#34;3s&#34; PostColorTime=&#34;0s&#34; Frequency=&#34;0&#34; Amplitude=&#34;0&#34;>
		<SpecialObjectFilter Rule=&#34;ANY&#34; Relationship=&#34;ENEMIES&#34; Include=&#34;VEHICLE&#34; />
		<Color R=&#34;-0.0&#34; G=&#34;2&#34; B=&#34;0.1&#34; />
	  </TintObjectsNugget>

Attached File(s)


Edited by Madin, 09 January 2011 - 01:57.


#2 Sgt. Rho

    Kerbal Rocket Scientist

  • Project Leader
  • 6870 posts
  • Projects: Scaring Jebediah.

Posted 08 January 2011 - 03:09

try G="1"

#3 Madin

    Amateur

  • Member
  • 138 posts

Posted 08 January 2011 - 07:58

View PostSgt. Rho, on 8 Jan 2011, 3:09, said:

try G="1"

Doesn't work!
While the whole 'Value-greater-than-1' thing makes little sense to me, there is a 'Tint' nugget in the game that uses such values (Catalyst).

#4 Medusa

    Regular

  • Member
  • 164 posts
  • Projects: Timeless War

Posted 08 January 2011 - 18:34

Add BRIDGE_SEGMENT, BRIDGE_ENDCAP, BRIDGE_GATEHOUSE and BRIDGE to the Exclude value. This should make sure that at least the bridge will not be tinted.
Posted Image

#5 Golan

    <Charcoal tiles available>

  • Member Test
  • 3300 posts

Posted 08 January 2011 - 18:54

"Golan" said:

See this thread, TintNugget filters don't work correclty. Apply the filter to the ProjectileNugget instead.

Now go out and procreate. IN THE NAME OF DOOM!



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users