Page 2 of 2
Posted: Sat Jun 04, 2016 9:55 am
by abcdefg30
Blackened wrote: The modified repair facility won't allow units on to be repaired. Do you know how I would go about doing that?
You need to adjust the "Repairable" trait on the units:
https://github.com/OpenRA/OpenRA/wiki/Traits#repairable (You want to add your modified repair pad to "RepairBuildings".
For air units you need to change "RepairBuildings" on "Aircraft":
https://github.com/OpenRA/OpenRA/wiki/Traits#aircraft )
Posted: Sat Jun 04, 2016 4:36 pm
by Blackened
I have to add that to every vehicle/aircraft? It seems none of them have that trait.
Posted: Sat Jun 04, 2016 5:33 pm
by Graion Dilach
They do have that trait. It's just inherited. You can override them on inherited level though.
Posted: Sat Jun 04, 2016 5:58 pm
by Blackened
Where would I go about doing that?
Edit: Never mind I figured it out. Thanks for all the support!
Posted: Sat Aug 06, 2016 1:23 am
by raymundo
What software are you using to edit?
It is very important to properly indent lines, check spacing, and case!
I recommend Notepad + +, but Ive also tried things like text wrangler and i'm sure others have other recommendations...
Posted: Mon Aug 22, 2016 9:52 am
by fernoe
Wouldn't it be better to code it like this
FIX2
Inherits: FIX
?
instead of copy-pasting out the entire set of rules for FIX
Posted: Mon Aug 22, 2016 4:31 pm
by abcdefg30
fernoe wrote: Wouldn't it be better to code it like this
FIX2
Inherits: FIX
?
instead of copy-pasting out the entire set of rules for FIX
Actually yes. I think that is what GraionDilach suggested orginally:
http://www.sleipnirstuff.com/forum/view ... 195#296195
But hey, the main thing is that the yaml is working, right?
