I tried to add the Ornithopter to D2k, it works in general but when he is destroyed the game crashes.
Dune 2000 Revision Mod at Version test build 19032014
Operating System: Windows (Microsoft Windows NT 6.1.7601 Service Pack 1)
Runtime Version: .NET CLR 2.0.50727.5477
Exception of type `System.Collections.Generic.KeyNotFoundException`: Der angegebene Schlüssel war nicht im Wörterbuch angegeben.
bei System.ThrowHelper.ThrowKeyNotFoundException()
bei System.Collections.Generic.Dictionary`2.get_Item(TKey key)
bei OpenRA.Mods.RA.Combat.DoExplosion(Actor attacker, String weapontype, WPos pos)
bei OpenRA.Mods.RA.Explodes.Killed(Actor self, AttackInfo e)
bei OpenRA.Traits.Health.InflictDamage(Actor self, Actor attacker, Int32 damage, WarheadInfo warhead, Boolean ignoreModifiers)
bei OpenRA.Traits.HealthExts.InflictDamage(Actor self, Actor attacker, Int32 damage, WarheadInfo warhead)
bei OpenRA.Mods.RA.Combat.DoImpact(WPos pos, WarheadInfo warhead, WeaponInfo weapon, Actor firedBy, Single firepowerModifier)
bei OpenRA.Mods.RA.Combat.<DoImpacts>c__AnonStorey201.<>m__644()
bei OpenRA.Mods.RA.Combat.DoImpacts(WPos pos, Actor firedBy, WeaponInfo weapon, Single damageModifier)
bei OpenRA.Mods.RA.Effects.Missile.Explode(World world)
bei OpenRA.Mods.RA.Effects.Missile.Tick(World world)
bei OpenRA.World.<Tick>m__B8(IEffect e)
bei OpenRA.WorldUtils.<DoTimed>c__AnonStorey61`1.<>m__142(T x)
bei OpenRA.Exts.Do[T](IEnumerable`1 e, Action`1 fn)
bei OpenRA.WorldUtils.DoTimed[T](IEnumerable`1 e, Action`1 a, String text, Double time)
bei OpenRA.World.Tick()
bei OpenRA.Game.TickInner(OrderManager orderManager)
bei OpenRA.Game.Tick(OrderManager orderManager)
bei OpenRA.Game.Run()
bei OpenRA.Program.Run(String[] args)
bei OpenRA.Program.Main(String[] args)
How can i fix that?
Ornithopter crash
-
- Posts: 52
- Joined: Fri Feb 28, 2014 2:08 pm
ORNI:
Inherits: ^Helicopter
Valued:
Cost: 1000
Tooltip:
Name: Ornithopter
Description: Helicopter Gunship with Chainguns.\n Strong vs Infantry, Light Vehicles.\n Weak vs Tanks
Buildable:
BuildPaletteOrder: 20
Prerequisites:
Owner: atreides,harkonnen,ordos
Health:
HP: 150
Armor:
Type: Light
RevealsShroud:
Range: 10
Armament:
Weapon: ChainGun
LocalOffset: 85,-213,-85
AttackHeli:
FacingTolerance: 20
Helicopter:
LandWhenIdle: false
InitialFacing: 20
ROT: 6
Speed: 30
RepairBuildings: repaira,repairo,repairh
RearmBuildings: starporta,starporto,starporth
RenderUnit:
WithShadow:
Selectable:
Bounds: 38,32,0,0
LeavesHusk:
HuskActor: ORNI.Husk
Inherits: ^Helicopter
Valued:
Cost: 1000
Tooltip:
Name: Ornithopter
Description: Helicopter Gunship with Chainguns.\n Strong vs Infantry, Light Vehicles.\n Weak vs Tanks
Buildable:
BuildPaletteOrder: 20
Prerequisites:
Owner: atreides,harkonnen,ordos
Health:
HP: 150
Armor:
Type: Light
RevealsShroud:
Range: 10
Armament:
Weapon: ChainGun
LocalOffset: 85,-213,-85
AttackHeli:
FacingTolerance: 20
Helicopter:
LandWhenIdle: false
InitialFacing: 20
ROT: 6
Speed: 30
RepairBuildings: repaira,repairo,repairh
RearmBuildings: starporta,starporto,starporth
RenderUnit:
WithShadow:
Selectable:
Bounds: 38,32,0,0
LeavesHusk:
HuskActor: ORNI.Husk
-
- Posts: 52
- Joined: Fri Feb 28, 2014 2:08 pm