Warzone2100 / old-trac-import

Archived Import of (old) Warzone 2100 Trac
0 stars 0 forks source link

Better interaction with allies [patch] #1084

Closed wzdev-ci closed 15 years ago

wzdev-ci commented 15 years ago

keyword_alliance_cursor_transport resolution_fixed type_patch (an actual patch, not a request for one) | by Zarel


The main point of this patch is to allow more interaction between allies

Guarding allied units will cause your unit to follow them, and attack things that get in range. Guarding an allied commander actually works kinda similarly to assigning to them, although you don't get the experience bonus, and you don't count towards the 6+ unit limit.

Your trucks and repair turrets will not automatically repair damaged allied structures. However, your units will automatically be repaired by allied repair facilities (but only if your ally doesn't have any of their own units there), and your VTOLs will automatically use allied rearming-pads (but only if you don't have any of your own, and your allies' rearming-pads aren't being used).

You still can't directly control allied units or structures (it would be incredibly frustrating for your ally). You can't assign to allied sensors/commanders, or put your borgs in allied transports (just give your units to your ally, if it comes to that).

A few fixes/changes that came up while implementing this:


Issue migrated from trac:1084 at 2022-04-15 20:05:31 -0700

wzdev-ci commented 15 years ago

Zarel uploaded file betteralliances.patch (26.9 KiB)

better alliances patch

wzdev-ci commented 15 years ago

Zarel changed status from new to accepted

wzdev-ci commented 15 years ago

Zarel changed owner from ` toZarel`

wzdev-ci commented 15 years ago

Zarel commented


As usual, barring objections, I will be committing to trunk and 2.3-branch in around three days.

I expect there to be another beta of 2.3, in which I would like people to test in detail for unexpected cursor behavior.

wzdev-ci commented 15 years ago

Zarel edited the issue description

wzdev-ci commented 15 years ago

cybersphinx commented


Could you separate the fixes, and commit them now? I see no reason to a) wait with them, and b) include them in an alliance commit.

wzdev-ci commented 15 years ago

Zarel commented


The problem is that the fixes are all somewhat interconnected. The cursor stuff, in particular, come with the changes to behavior. No use changing "damaged ally unit" to "repair cursor" without actually implementing repair of ally units.

wzdev-ci commented 15 years ago

Zarel commented


Committed in [8433] Backported to 2.3 in [8432]

(I typoed the ticket name in the commit message.)

wzdev-ci commented 15 years ago

Zarel changed status from accepted to closed

wzdev-ci commented 15 years ago

Zarel set resolution to fixed