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?
Porting old TA (ufo units) weapons to spring
Moderator: Moderators
Re: Porting old TA (ufo units) weapons to spring
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.
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.
- tyran_nick
- Posts: 47
- Joined: 07 Mar 2010, 12:42
Re: Porting old TA (ufo units) weapons to spring
Thanks that post is quite helpful.
The validation that there is no 1-1 translation is even more helpful!
The validation that there is no 1-1 translation is even more helpful!
Re: Porting old TA (ufo units) weapons to spring
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
The term was actually used in the manual as well.FLOZi wrote:(named after an unused OTA weapon def 'starburstmissile')