Repulsor Tags

Repulsor Tags

Discuss game development here, from a distinct game project to an accessible third-party mutator, down to the interaction and design of individual units if you like.

Moderator: Moderators

Post Reply
User avatar
Fritokane
Posts: 40
Joined: 27 Sep 2005, 16:06

Repulsor Tags

Post 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?
Gnomre
Imperial Winter Developer
Posts: 1754
Joined: 06 Feb 2005, 13:42

Post 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;
		}
	}
User avatar
Fritokane
Posts: 40
Joined: 27 Sep 2005, 16:06

Post by Fritokane »

Thank you Gnome. That worked perfectly :)
Gnomre
Imperial Winter Developer
Posts: 1754
Joined: 06 Feb 2005, 13:42

Post 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...
User avatar
Kuroneko
Posts: 483
Joined: 03 Jan 2005, 05:32

Post by Kuroneko »

You may also want to include the normal range tag too. So that the player can see it's AoE.
Gnomre
Imperial Winter Developer
Posts: 1754
Joined: 06 Feb 2005, 13:42

Post by Gnomre »

Very good point, Kuroneko.
User avatar
Fritokane
Posts: 40
Joined: 27 Sep 2005, 16:06

Post 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.
Post Reply

Return to “Game Development”