Page 1 of 1

Repulsor Tags

Posted: 30 Sep 2005, 01:55
by Fritokane
I was reading in the wiki about repulsor tags and I wanted to get them to work.

They are supposed to go inside the weapon .tdf files, but I can't figure out how to use them. Does anyone have a sample .tdf file that creates a repulse field around a unit?

Posted: 30 Sep 2005, 02:08
by Gnomre

Code: Select all

[IMP_SDREPULSE]
	{
	name=Star Destroyer Shields;
	PlasmaRepulser=1;
	rendertype=4;
	lineofsight=1; 
	turret=1;

	repulseenergy=0;
	repulseforce=10; 
	repulserange=1024;
	repulsespeed=0.01;

	[DAMAGE]
		{
		default=1500;
		}
	}

Posted: 30 Sep 2005, 02:43
by Fritokane
Thank you Gnome. That worked perfectly :)

Posted: 30 Sep 2005, 03:20
by Gnomre
I'm not sure you even need the [DAMAGE] portion of it at all, really. I haven't done much experimenting with Repulsors. I believe I just copy pasted one of Buggi's repulsors from long ago...

Posted: 30 Sep 2005, 04:08
by Kuroneko
You may also want to include the normal range tag too. So that the player can see it's AoE.

Posted: 30 Sep 2005, 04:41
by Gnomre
Very good point, Kuroneko.

Posted: 30 Sep 2005, 19:29
by Fritokane
Gnome wrote:I'm not sure you even need the [DAMAGE] portion of it at all, really. I haven't done much experimenting with Repulsors. I believe I just copy pasted one of Buggi's repulsors from long ago...
Yeah, you need the Damage tag. Without it, Spring complains. I just set the default to 0, and left it at that.