WeaponType=MissileLauncher

WeaponType=MissileLauncher

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

WeaponType=MissileLauncher

Post by Argh »

...does not seem to work properly, if the MissileWeapon is vlaunch. The following settings result in a weapon that never shoots:

Code: Select all

	//rendertype=1;
	//lineofsight=1;
	//turret=0;
	//guidance=1;
	//tracks=1;
	//selfprop=1;
	vlaunch=1;
	WeaponType=MissileLauncher;
I would have thought that selfprop, guidance, etc., were all assumed sub-properties of MissileLauncher, but this is not the case.
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

Use StarburstLauncher instead.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Post by Argh »

Ah! Thanks much, that was stupid of me :P
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Post by Argh »

Hey, random thought here:

I really, really like eliminating all of these useless tags. How hard would it be to have weaponTypes for everything?

Oh, wait... calling weaponType in the TDF overrides the value found! So, it's that easy... nice...
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

Yup, reduces the tag count by a good deal.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

Read the WeaponTypes sticky in Mod Discussion, there's a reason I took the time to list those things.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Post by Argh »

I've already updated PURE, whilst cleaning up other junk in the game. I didn't know you could set those all manually, is all.
Post Reply

Return to “Engine”