Do you think there is any way that I can make a
Hovercraft, that has the function of a mobile repair base? You move the vehicle onto it and it receives - on damage
So far I was only able to give it a weapon that does repairs...but that does not look really good. I want the vehicle to park on the hover and receive repairs.
Can a vehicle Inherit things from "FIX" ?
Giving it
RepairsUnits:
HpPerStep: 1000
Interval: 7
FinishRepairingNotification: UnitRepaired
PlayerExperience: 15
WithRepairAnimation:
Does not do anything...
Make mobile repair vehicle - is it possible? TD
The trait wiki https://github.com/OpenRA/OpenRA/wiki/Traits can help when trying to find what will work or what is wrong.
I think in this case though you need to add the new actor into acceptable places for vehicles to go to repairs.
I think in this case though you need to add the new actor into acceptable places for vehicles to go to repairs.
In defaults.yaml you need to add it to the list of places vehicles/tanks can repair.
^vehicle
Personally, if you want things to drive onto it I think making it a deployable unit. That way it becomes a building and you can repair stuff, and then undeploy to move it again.
^vehicle
Code: Select all
Repairable:
RepairBuildings: fix, hovercraft
Inq wrote: ↑
Personally, if you want things to drive onto it I think making it a deployable unit. That way it becomes a building and you can repair stuff, and then undeploy to move it again.
Hm..
The game crashed with: Actor type ^vehicle: Junk value `fix` on trait node RepairBuildings
But thanks for that idea, might be the only way, otherwise any vehicle becomes "cargo" when loaded onto the hoverboat
Other idea:
I was trying around a little bit with a "Repair-Weapon" that does healing. But it only works if I select the target/click on it (on allies). What would I have to do to make it auto-shoot on my own vehicles?
I inherited
- Graion Dilach
- Posts: 277
- Joined: Fri May 15, 2015 5:57 pm