Porting old TA (ufo units) weapons to spring

Porting old TA (ufo units) weapons to spring

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
tyran_nick
Posts: 47
Joined: 07 Mar 2010, 12:42

Porting old TA (ufo units) weapons to spring

Post 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?
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6241
Joined: 29 Apr 2005, 01:14

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

Post 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.
User avatar
tyran_nick
Posts: 47
Joined: 07 Mar 2010, 12:42

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

Post by tyran_nick »

Thanks that post is quite helpful.
The validation that there is no 1-1 translation is even more helpful!
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

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

Post 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.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

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

Post by KDR_11k »

FLOZi wrote:(named after an unused OTA weapon def 'starburstmissile')
The term was actually used in the manual as well.
Post Reply

Return to “Game Development”