Canloopbackattack 0/1/2

Canloopbackattack 0/1/2

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
Caydr
Omnidouche
Posts: 7179
Joined: 16 Oct 2004, 19:40

Canloopbackattack 0/1/2

Post by Caydr »

Need to be able to lock this on (1) or off (0), rather than be always user-selectable (2). It is a completely useless chunk of script unless a modder has the power to set it permanently on or off, just like you can do with high-trajectory weapons.

If someone could kindly make this change, it'd breathe new life into my efforts. Thanks.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Post by Argh »

+1
trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

Post by trepan »

The '1' option currently means that the user can control
the state, so changing it to mean 'forced-on' would not be
backwards compatible. Using '1' for user-control and '2'
for locked-on would be confusing with respect to the high-
trajectory option.

How about a new property: LockedLoopbackAttack?

Edit: I had some other nonsensical crap here before...
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

I say we change it now and not have a horribly awkward extra tag
trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

Post by trepan »

As opposed to magic values?

Is the "CanLoopbackAttack" tag currently used by any mods?
Last edited by trepan on 04 Dec 2006, 03:43, edited 1 time in total.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Post by Argh »

Yes.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

AA Balanced annihilation and XTA I believe.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Post by Argh »

And I was using it in NB, but I was very dis-satisfied with the aircraft behaviors. I should probably write up a list of my experiments with that thus far, because this is an area of Spring that needs a great deal of cleanup.
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Post by Neddie »

I support this suggestion, for reasons that should be plain.
tombom
Posts: 1933
Joined: 18 Dec 2005, 20:21

Post by tombom »

Sorry for being ignorant, but what does this tag do? (I've checked the wiki)
Chojin
Posts: 141
Joined: 04 Oct 2006, 11:22

Post by Chojin »

root@bastard:/cygdrive/c/Temp/Mods/XTA v8.1/units> grep -i CanLoopbackAttack *
root@bastard:/cygdrive/c/Temp/Mods/XTA v8.1/units>
This is a FBI tag, right?
User avatar
PauloMorfeo
Posts: 2004
Joined: 15 Dec 2004, 20:53

Post by PauloMorfeo »

http://taspring.clan-sy.com/changelog.txt
0.71b1
...
- Added new fbi variable CanLoopbackAttack, only affects fighter aircrafts, if 1 this will enable the player to set the aircraft to do an immelman turn after firing instead of overflying the target.
User avatar
VonGratz
Posts: 471
Joined: 03 May 2005, 05:25

Post by VonGratz »

trepan wrote:As opposed to magic values?

Is the "CanLoopbackAttack" tag currently used by any mods?
Also Yes for TA_BattleFleet! I saw an incredible dogfight between a group of fighters.One new Im testing and two seafigs.I stopped all game control to see it during the fight. :-)
Vongratz :wink:
User avatar
Caydr
Omnidouche
Posts: 7179
Joined: 16 Oct 2004, 19:40

Post by Caydr »

No modder with a brain would say "OMFG THEY CHANGED THE TAG SYNTAX NOW MY MOD IS RUINED I'M TURNING EMO AND KILLING EVERYBODY". They'd say, Oh good, this tag is useful now. I'll change a variable in a grand total of 3 files and release a new version, which is generally necessary with any new Spring version anyway.

This tag could not possibly be used to any advantage in its current state. It's a no-brainer that changing aircraft behavior between "fly over a target to get yourself killed" and "loop back after you've fired, thereby avoiding all the return fire" is a major difference. To have this tag in a mod AT ALL in its current state ruins any attempt at aircraft balance and would probably confuse the heck out of anyone who doesn't know it's there - ie, everyone.
Post Reply

Return to “Engine”