Page 1 of 1

Porting old TA (ufo units) weapons to spring

Posted: 05 May 2013, 15:09
by tyran_nick
I have some old units in ufo format and I am trying to port them in spring. I have a bit of a issue with the weapons.

I consulted this page: http://springrts.com/wiki/Units-WeaponDefs
to find what are the valid types and strings for weapons. I am getting a bit confused to what corresponds to the old TA weapon types (http://units.tauniverse.com/tutorials/t ... weapon.htm).

In TA there used to be these types:
laser, modelled, not rendered, dgun, plasma shell, flame, bomb, lightning

How do these correspond (do they? even loosely) to spring's:
AircraftBomb, BeamLaser, Cannon, Dgun, EmgCannon, Flame, LaserCannon, LightningCanon, Melee, MissileLauncher, Rifle, Shield, StarburstLauncher, TorpedoLauncher

There are some apparent ones:
dgun = dgun
flame = flame
lightning = lightning cannon

and some not so apparent:
bomb = aircraft bomb (and torpedolauncher?)
laser = lasercannon (or beamlaser?)
plasma shell = cannon (and emgcannon?)
modelled = starburst ?

Is there is some documentation that I am unaware of?

Re: Porting old TA (ufo units) weapons to spring

Posted: 05 May 2013, 15:50
by FLOZi
Yes bomb = aircraft bomb, torpedo launcher = torpedo launcher, starburst is nuke style missile (named after an unused OTA weapon def 'starburstmissile')

LaserCannon is the OTA style laser bolt, Beam laser is a continuous beam like star trek phasers. Cannon is ballistic plasma whereas EMG is line-of-sight (like Gauss, EMG wepaons in OTA).

Shield is a shield, rifle is terrible don't use it. Melee is melee which OTA didn't have.

Weapons have a greater divorce between visual effect and behaviour than in OTA so there's not always a 1-1 relationship between OTA and Spring tags.

http://springrts.com/phpbb/viewtopic.php?f=67&t=11922 may be of some use to you.

IMO, 'how to convert from OTA' does not belong on the wiki.

Re: Porting old TA (ufo units) weapons to spring

Posted: 06 May 2013, 01:07
by tyran_nick
Thanks that post is quite helpful.
The validation that there is no 1-1 translation is even more helpful!

Re: Porting old TA (ufo units) weapons to spring

Posted: 06 May 2013, 02:11
by Jools
A lot of things have already been done by other projects, like xta, ba and bota. Maybe some more even. Tell us if you need help with something else.

Re: Porting old TA (ufo units) weapons to spring

Posted: 09 May 2013, 23:31
by KDR_11k
FLOZi wrote:(named after an unused OTA weapon def 'starburstmissile')
The term was actually used in the manual as well.