New to Modding OpenRA - Crash becuase of new unit

crash when clicing on new building options

Information and discussion for custom maps and mods.
scorp
Posts: 96
Joined: Sat Mar 08, 2014 9:35 pm

Post by scorp »

yeah i saw that it is obsolete. But i don't know on which kind of actors it is used. i never *consciously* used it so now i'm searching all possible locations :oops:

*okay* found one in misc.yaml. oh well. bet it won't be the only occurence :zip:

"RenderBuilding" seems to have been removed from defaults as well. Now that used to be far spread.

scorp
Posts: 96
Joined: Sat Mar 08, 2014 9:35 pm

Post by scorp »

Okay so I added some additional attack bombers to RA. When using them as the player, they work well. Then i tried to make the AI use them and get the crash below. Please note that the AI can use parabombs fully well and that i used the parabombs (and CNC's A10) as a blueprint for it to work. It appears I missed something there.

Scorp's Red Alert Mod at Version release-20150919, V. 01
on map e5114159f9438ae7f10d5128d9828e144321fd41 (The Garden by Westwood Studios).
Operating System: Windows (Microsoft Windows NT 6.1.7601 Service Pack 1)
Runtime Version: .NET CLR 4.0.30319.34209
Exception of type `System.NotImplementedException`: AttackBomber requires a scripted target
bei OpenRA.Mods.Common.Traits.AttackBomber.GetAttackActivity(Actor self, Target newTarget, Boolean allowMove, Boolean forceAttack)
bei OpenRA.Mods.Common.Traits.AttackBase.AttackTarget(Target target, Boolean queued, Boolean allowMove, Boolean forceAttack)
bei OpenRA.Mods.Common.Traits.AttackBase.ResolveOrder(Actor self, Order order)
bei OpenRA.Network.UnitOrders.ProcessOrder(OrderManager orderManager, World world, Int32 clientId, Order order)
bei OpenRA.Network.OrderManager.Tick()
bei OpenRA.Game.InnerLogicTick(OrderManager orderManager)
bei OpenRA.Game.LogicTick()
bei OpenRA.Game.Loop()
bei OpenRA.Game.Run()
bei OpenRA.Program.Run(String[] args)
bei OpenRA.Program.Main(String[] args)
Scorp's Red Alert Mod at Version release-20150919, V. 01
on map e5114159f9438ae7f10d5128d9828e144321fd41 (The Garden by Westwood Studios).
Operating System: Windows (Microsoft Windows NT 6.1.7601 Service Pack 1)
Runtime Version: .NET CLR 4.0.30319.34209

any clues would be appreciated :)

User avatar
Norman_
Posts: 141
Joined: Wed Jan 30, 2013 1:39 pm
Location: TD Server

Post by Norman_ »

had this error too.
check your a-10 for this stuff:

-Selectable:
-Voiced:
-GainsExperience:
-EjectOnDeath:
-GpsDot:
RejectsOrders:
Image

User avatar
Graion Dilach
Posts: 277
Joined: Fri May 15, 2015 5:57 pm

Post by Graion Dilach »

AttackBomber only works well with the airstrike support power. For everything else, use AttackFrontal please.
Image
Image
Image
AS Discord server: https://discord.gg/7aM7Hm2

scorp
Posts: 96
Joined: Sat Mar 08, 2014 9:35 pm

Post by scorp »

Norman_ wrote: had this error too.
check your a-10 for this stuff:

-Selectable:
-Voiced:
-GainsExperience:
-EjectOnDeath:
-GpsDot:
RejectsOrders:
Thanks alot. I thought i had that added... strange.

just a short note, though:
-EjectOnDeath: appears to be no longer used. If used, the game crashes.

yeah, i use attackbomer only for support powers. It seems fairly limited... for example i tried to make it shoot rockets, but it appears that doesn't work with attack bomber traits?

User avatar
Norman_
Posts: 141
Joined: Wed Jan 30, 2013 1:39 pm
Location: TD Server

Post by Norman_ »

check this RA http://resource.openra.net/maps/6514
or this TD map http://resource.openra.net/maps/6315
theres a nice rocket and a nice clusterbomb airstrike made by insert name.
f.u.n.
Image

Post Reply