Fix cargo loading/unloading.
- Fix the unloading subcell bug, letting us have units move to directly adjacent cells. - Have the cursor change to a deploy-blocked cursor if the transport can't unload due to terrain type. - Add RenderTransport for transport door opening. - Remove turning/opening in general.
This commit is contained in:
@@ -80,7 +80,7 @@ Actor.Hunt = function(actor)
|
||||
end
|
||||
|
||||
Actor.UnloadCargo = function(actor, unloadAll)
|
||||
actor:QueueActivity(OpenRA.New("UnloadCargo", { unloadAll }))
|
||||
actor:QueueActivity(OpenRA.New("UnloadCargo", { actor, unloadAll }))
|
||||
end
|
||||
|
||||
Actor.Harvest = function(actor)
|
||||
|
||||
@@ -66,8 +66,7 @@ tran:
|
||||
Start: 32
|
||||
Length: 4
|
||||
unload: tran2
|
||||
Start: 32
|
||||
Length: 4
|
||||
Start: 35
|
||||
icon: tranicon
|
||||
Start: 0
|
||||
|
||||
|
||||
@@ -47,6 +47,7 @@ lst:
|
||||
open:
|
||||
Start: 1
|
||||
Length: 4
|
||||
Tick: 150
|
||||
unload:
|
||||
Start: 4
|
||||
icon: lsticon
|
||||
|
||||
@@ -177,7 +177,7 @@ apc:
|
||||
Start: 0
|
||||
Length: 6
|
||||
Facings: 8
|
||||
close:
|
||||
open:
|
||||
Start: 32
|
||||
Length: 3
|
||||
unload:
|
||||
|
||||
Reference in New Issue
Block a user