Jump to content


Photo

Game crash


  • Please log in to reply
5 replies to this topic

#1 Elendil113

Elendil113
  • New Members
  • 3 posts

Posted 29 December 2017 - 11:44 PM

Hello everyone, first of all, sorry for my english.

 

I'm playing evil campaign right now, and when i click on the amon hen mission, the game crashes and this message shows up;

 

-----------------------

 

ReplaceModule ModuleTag_Porcupine was not found for RohanElvenWarrior, cannot continue.

 

Error parsing field 'ReplaceModule' in block 'Object' in file 'maps\MAP EVIL Amon Hen\map.ini', line 114.

 

Error parsing INI block '          ReplaceModule' in file !maps\MAP EVIL Amon Hen\map.ini'.

 

Because of the severity of this error the game will now exit.

 

----------------------

 

And this is my Evil amon hen files:

 

-----------------

 

;////////////////////////// UNIT OVERRIDES ////////////////////////////////////
;------------------------------------------------------------------------------
Object IsengardFighter
ShroudClearingRange = 130
End
 
;------------------------------------------------------------------------------
Object IsengardPikeman
ShroudClearingRange = 130
End
 
;------------------------------------------------------------------------------
Object IsengardUrukCrossbow
ShroudClearingRange = 150
End
 
;------------------------------------------------------------------------------
; Lurtz
Object IsengardLurtz
ShroudClearingRange = 180
 
ReplaceModule ModuleTag_RespawnBody
Body = RespawnBody ModuleTag_RespawnBody_Override
CheerRadius = EMOTION_CHEER_RADIUS
    MaxHealth = 1800 ;BALANCE Lurtz Health
  PermanentlyKilledByFilter = NONE ;Who kills me permanently?
    DodgePercent = 80%
  End
End
End
 
;------------------------------------------------------------------------------
; Aragorn GondorAragorn
Object GondorAragorn
ReplaceModule ModuleTag_RespawnBody
Body = RespawnBody ModuleTag_RespawnBody_Override
CheerRadius = EMOTION_CHEER_RADIUS
MaxHealth         = 1400 ;BALANCE Aragorn Health
PermanentlyKilledByFilter = NONE ;Who kills me permanently?
    DodgePercent       = 80%
    End
End
End
 
;------------------------------------------------------------------------------
; Gimli
Object RohanGimli
ReplaceModule ModuleTag_RespawnBody
Body = RespawnBody ModuleTag_RespawnBody_Override
CheerRadius = EMOTION_CHEER_RADIUS
MaxHealth         = 1400   ;BALANCE Gimli Health
PermanentlyKilledByFilter = NONE ;Who kills me permanently?
    DodgePercent       = 80%
End
End
End
 
;------------------------------------------------------------------------------
; aka Merry
Object RohanMerry
VisionRange = 180
 
ReplaceModule ModuleTag_RespawnBody
Body = RespawnBody ModuleTag_RespawnBody_Override
MaxHealth         = 700 ;BALANCE Merry Health
PermanentlyKilledByFilter = NONE ;Who kills me permanently?
DodgePercent       = 50%
End
End
End
 
 
;------------------------------------------------------------------------------
; aka Pippin
Object RohanPippin
VisionRange = 180
 
ReplaceModule ModuleTag_RespawnBody
Body = RespawnBody ModuleTag_RespawnBody_Override
MaxHealth         = 700 ;BALANCE Pippin Health
PermanentlyKilledByFilter = NONE ;Who kills me permanently?
DodgePercent       = 50%
End
End
End
 
;------------------------------------------------------------------------------
; aka Cave Troll, MordorCaveTroll, CaveTrollMordor
Object MordorCaveTroll
ShroudClearingRange = 100
 
ReplaceModule ModuleTag_02
Body = DelayedDeathBody ModuleTag_02_Override
MaxHealth = 2400 ;BALANCE CaveTroll Health
DoHealthCheck = No ; Don't want to get the delayed death behaviour when we die normally.
DelayedDeathTime = 15000
CanRespawn = No ; Unit can't get revived.
End
End
End
 
;------------------------------------------------------------------------------
; aka Rohan Elven Warrior
Object RohanElvenWarrior
VisionRange = 250
 
WeaponSet
Conditions = None
Weapon = PRIMARY    RohanElvenBow_EvilAmonHen
AutoChooseSources = PRIMARY FROM_PLAYER FROM_SCRIPT FROM_AI
End
 
ReplaceModule ModuleTag_02
Body = ActiveBody ModuleTag_02_Override
MaxHealth         = 80 ;BALANCE RohanElvenWarrior
MaxHealthDamaged  = 80
RecoveryTime      = ROHAN_ELVENWARRIOR_HEALTH_RECOVERY_TIME
End
End
End
 
;////////////////////////// HORDE OVERRIDES ///////////////////////////////////
;------------------------------------------------------------------------------
Object IsengardFighterHorde
BuildCost = 200
BuildTime = 6.0
End
 
;------------------------------------------------------------------------------
Object IsengardUrukCrossbowHorde
BuildCost = 300
BuildTime = 6.0
End
 
;------------------------------------------------------------------------------
Object IsengardPikemanHorde
BuildCost = ISENGARD_URUKPIKEMAN_BUILDCOST
BuildTime = 6.0
End
 
;------------------------------------------------------------------------------
 
 
 
--------------------
 
Looks like there is a problem with the Rohan Elven Warrior. Can you guys tell me what is wrong with it ? Thank you.


#2 zephyr23

zephyr23
  • Members
  • 10 posts

Posted 30 December 2017 - 12:59 PM

In elveninfantry.ini, BME uses

  Body = PorcupineFormationBodyModule ModuleTag_Porcupine

for Object RohanElvenWarrior not

  Body = ActiveBody ModuleTag_02 (which is used by Object LAElvenWarrior)



#3 Elendil113

Elendil113
  • New Members
  • 3 posts

Posted 30 December 2017 - 04:33 PM

Can you write the solved state of the codes? So i can copy paste it, sorry i don't understand too much of these :/ Thank you :)

 

 

 

 

 

Edit: 

 

And this is my elveninfantry.ini 

 

 

 

 

;------------------------------------------------------------------------------
;
; ElvenInfantry.ini
;
;------------------------------------------------------------------------------
 
; aka Rohan Elven Warrior
Object RohanElvenWarrior
; ***ART Parameters ***
 
SelectPortrait         = UPRohan_ElvenWarrior
 
Draw = W3DHordeModelDraw ModuleTag_01
 
 OkToChangeModelColor = Yes
 
    StaticModelLODMode = yes ; Will append M or L to the skin name depending on GameLOD
    LodOptions = LOW
AllowMultipleModels = ALLOW_MULTIPLE_MODELS_LOW
MaxRandomTextures = MAX_RANDOM_TEXTURES_LOW
MaxRandomAnimations = MAX_RANDOM_ANIMATIONS_LOW
MaxAnimFrameDelta = MAX_ANIM_FRAME_DELTA_LOW
End
 
LodOptions = MEDIUM
AllowMultipleModels = ALLOW_MULTIPLE_MODELS_MED
MaxRandomTextures = MAX_RANDOM_TEXTURES_MED
MaxRandomAnimations = MAX_RANDOM_ANIMATIONS_MED
MaxAnimFrameDelta = MAX_ANIM_FRAME_DELTA_MED
End
 
LodOptions = HIGH
AllowMultipleModels = ALLOW_MULTIPLE_MODELS_HIGH
MaxRandomTextures = MAX_RANDOM_TEXTURES_HIGH
MaxRandomAnimations = MAX_RANDOM_ANIMATIONS_HIGH
MaxAnimFrameDelta = MAX_ANIM_FRAME_DELTA_HIGH
End
 
 
 
 
Another part of it:
 
 
 
; *** ENGINEERING Parameters ***
 
RadarPriority = UNIT
KindOf = PRELOAD SELECTABLE CAN_CAST_REFLECTIONS INFANTRY SCORE THROWN_OBJECT PATH_THROUGH_EACH_OTHER ARCHER ATTACK_NEEDS_LINE_OF_SIGHT GRAB_AND_DROP
 
Body = ActiveBody ModuleTag_02
CheerRadius  = EMOTION_CHEER_RADIUS
MaxHealth         = ROHAN_ELVENWARRIOR_HEALTH ;BALANCE RohanElvenWarrior
MaxHealthDamaged  = ROHAN_ELVENWARRIOR_HEALTH_DAMAGED
;RecoveryTime      = ROHAN_ELVENWARRIOR_HEALTH_RECOVERY_TIME
End
 
; Fire arrow upgrade
Behavior = WeaponSetUpgrade ModuleTag_WeaponSetUpgradeTag
TriggeredBy = Upgrade_RohanFireArrows
CustomAnimAndDuration   = AnimState:USER_4 AnimTime:0 TriggerTime:0 ;set flag forever
End
 

Edited by Elendil113, 30 December 2017 - 04:43 PM.


#4 Elendil113

Elendil113
  • New Members
  • 3 posts

Posted 18 January 2018 - 12:18 AM

up



#5 ICT

ICT

    -

  • Veterans
  • 3,075 posts
  •  -- MOC --
  • Division:BFME
  • Job:Online Admin

Posted 18 January 2018 - 09:20 AM

Moved to modding.

"To know what question we may reasonably propose is in itself a strong evidence of sagacity or intelligence. For if a question be in itself incongruous and begs for uncalled-for answers, it holds, sometimes, besides embarrassing the proposer, the disadvantage to seduce the unguarded listener into giving absurd answers, and we are presented with the ridiculous spectacle of one (as the ancients said) milking the he-goat, and the other holding a sieve beneath."


#6 Jokuc

Jokuc

    Hardcore Procrastinator

  • Members
  • 187 posts
  • Location:Sweden
  •  Mapper

Posted 18 January 2018 - 11:04 PM

What you posted doesn't add up.

 

The error says that the module Porcupine doesn't exist in the object RohanElvenWarrior. ...but it does, because RohanElvenWarrior uses the Porcupine module instead of the usual module called 02. However, the object LAElvenWarrior uses the module 02, so it appears you've mixed up your files or something. In your elven warrior ini it says they have the 02 module, but they shouldn't.

 

It is odd that you're given an error about porcupine when it's not even in the map.ini. Are you sure you posted the correct code? 

 

This is how it should look like in the map.ini:

ReplaceModule ModuleTag_Porcupine
	Body = PorcupineFormationBodyModule ModuleTag_Porcupine_Override
		CheerRadius 	  = M_EMOTION_CHEER_RADIUS
		MaxHealth         = 80
		MaxHealthDamaged  = 40	
		CrushDamageWeaponTemplate = ElvenWarriorPorcupineDamage
	End
End

Not "ReplaceModule ModuleTag_02".


Edited by Jokuc, 18 January 2018 - 11:05 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users