[en] - Modding Corner > Mapping
map.ini
lord_ellessar:
It doesn't work :/
this is the code i've putted
--- Code: ---PlayerAIType MenAI
LibraryMap = "Libraries\ki arnor\ki arnor.map"
End
PlayerAIType MenSkirmishAI
LibraryMap = "Libraries\ki arnor\ki arnor.map"
End
PlayerTemplate FactionMen
StartingUnit1 = ArnorFighterHorde
StartingUnitOffset1 = X:30 Y:200 Z:0
StartingUnit0 = ArnorFighterHorde
StartingUnitOffset0 = X:1 Y:130 Z:0
SpellBook = GoodSpellBook
SpellBookMp = ArnorSpellBook
PurchaseScienceCommandSet = GoodSpellStoreCommandSet
PurchaseScienceCommandSetMP = ArnorSpellStoreCommandSet
IntrinsicSciences = SCIENCE_GOOD
IntrinsicSciencesMP = SCIENCE_ARNOR
DisplayName = INI:FactionArnor
MultiSelectionPortrait = UPArnor_Army
InitialUpgrades = Upgrade_MenFaction Upgrade_AllFactionUpgrade Upgrade_ArnorFaction
BuildableHeroesMP = CreateAHero ArnorCaptainStealthless_mod ArnorAraphant ArnorAranarthDunedain GondorArvedui GondorGandalf_mod_forFornost ImladrisGlorfindel_forArnor LothlorienCirdan
BuildableRingHeroesMP = RingHeroDummy
End
Object GondorCastleUpgrade
ReplaceModule ModuleTag_MenTreb
Behavior = ObjectCreationUpgrade ModuleTag_MenTrebforFornost
TriggeredBy = Upgrade_HasWallTrebuchet
ConflictsWith = Upgrade_PosternGate Upgrade_OpenGarrison
Delay = 0.0
RemoveUpgrade = Upgrade_WallTrebuchetButtonEnable
ThingToSpawn = ArnorTrebuchetWall
Offset = X:50.0 Y:0.0 Z:68
FadeInTime = 1000
End
End
End
Object GondorForge
CommandSet = ArnorForgeCommandSet
ReplaceModule ModueTag_EconomyLevel2CommandSet_Produktionserhöhung
Behavior = CommandSetUpgrade ModueTag_EconomyLevel2CommandSet_Produktionserhöhung_Arnor
TriggeredBy = Upgrade_EdainEconomyProduktionserhöhung
ConflictsWith = Upgrade_EdainEconomyVerbesserteProduktionserhöhung Upgrade_EdainEconomyVerbesserteVerteidigungsmaßnahmen Upgrade_EdainEconomyVerbessertesVorratslager
CommandSet = ArnorForgeCommandSetLevel2_Produktionserhöhung
End
End
ReplaceModule ModueTag_EconomyLevel2CommandSet_Verteidigungsmaßnahmen
Behavior = CommandSetUpgrade ModueTag_EconomyLevel2CommandSet_Verteidigungsmaßnahmen_Arnor
TriggeredBy = Upgrade_EdainEconomyVerteidigungsmaßnahmen
ConflictsWith = Upgrade_EdainEconomyVerbesserteProduktionserhöhung Upgrade_EdainEconomyVerbesserteVerteidigungsmaßnahmen Upgrade_EdainEconomyVerbessertesVorratslager
CommandSet = ArnorForgeCommandSetLevel2_Verteidigungsmaßnahmen
End
End
ReplaceModule ModueTag_EconomyLevel2CommandSet_Vorratslager
Behavior = CommandSetUpgrade ModueTag_EconomyLevel2CommandSet_Vorratslager_Arnor
TriggeredBy = Upgrade_EdainEconomyVorratslager
ConflictsWith = Upgrade_EdainEconomyVerbesserteProduktionserhöhung Upgrade_EdainEconomyVerbesserteVerteidigungsmaßnahmen Upgrade_EdainEconomyVerbessertesVorratslager
CommandSet = ArnorForgeCommandSetLevel2_Vorratslager
End
End
ReplaceModule ModueTag_EconomyLevel3CommandSet_Produktionserhöhung_VerbesserteProduktionserhöhung
Behavior = CommandSetUpgrade ModueTag_EconomyLevel3CommandSet_Produktionserhöhung_VerbesserteProduktionserhöhung_Arnor
TriggeredBy = Upgrade_EdainEconomyProduktionserhöhung Upgrade_EdainEconomyVerbesserteProduktionserhöhung
RequiresAllTriggers = Yes
CommandSet = ArnorForgeCommandSetLevel3_Produktionserhöhung_VerbesserteProduktionserhöhung
End
End
ReplaceModule ModueTag_EconomyLevel3CommandSet_Produktionserhöhung_VerbesserteVerteidigungsmaßnahmen
Behavior = CommandSetUpgrade ModueTag_EconomyLevel3CommandSet_Produktionserhöhung_VerbesserteVerteidigungsmaßnahmen_Arnor
TriggeredBy = Upgrade_EdainEconomyProduktionserhöhung Upgrade_EdainEconomyVerbesserteVerteidigungsmaßnahmen
RequiresAllTriggers = Yes
CommandSet = ArnorForgeCommandSetLevel3_Produktionserhöhung_VerbesserteVerteidigungsmaßnahmen
End
End
ReplaceModule ModueTag_EconomyLevel3CommandSet_Produktionserhöhung_VerbessertesVorratslager
Behavior = CommandSetUpgrade ModueTag_EconomyLevel3CommandSet_Produktionserhöhung_VerbessertesVorratslager_Arnor
TriggeredBy = Upgrade_EdainEconomyProduktionserhöhung Upgrade_EdainEconomyVerbessertesVorratslager
RequiresAllTriggers = Yes
CommandSet = ArnorForgeCommandSetLevel3_Produktionserhöhung_VerbessertesVorratslager
End
End
ReplaceModule ModueTag_EconomyLevel3CommandSet_Verteidigungsmaßnahmen_VerbesserteProduktionserhöhung
Behavior = CommandSetUpgrade ModueTag_EconomyLevel3CommandSet_Verteidigungsmaßnahmen_VerbesserteProduktionserhöhung_Arnor
TriggeredBy = Upgrade_EdainEconomyVerteidigungsmaßnahmen Upgrade_EdainEconomyVerbesserteProduktionserhöhung
RequiresAllTriggers = Yes
CommandSet = ArnorForgeCommandSetLevel3_Verteidigungsmaßnahmen_VerbesserteProduktionserhöhung
End
End
ReplaceModule ModueTag_EconomyLevel3CommandSet_Verteidigungsmaßnahmen_VerbesserteVerteidigungsmaßnahmen
Behavior = CommandSetUpgrade ModueTag_EconomyLevel3CommandSet_Verteidigungsmaßnahmen_VerbesserteVerteidigungsmaßnahmen_Arnor
TriggeredBy = Upgrade_EdainEconomyVerteidigungsmaßnahmen Upgrade_EdainEconomyVerbesserteVerteidigungsmaßnahmen
RequiresAllTriggers = Yes
CommandSet = ArnorForgeCommandSetLevel3_Verteidigungsmaßnahmen_VerbesserteVerteidigungsmaßnahmen
End
End
ReplaceModule ModueTag_EconomyLevel3CommandSet_Verteidigungsmaßnahmen_VerbessertesVorratslager
Behavior = CommandSetUpgrade ModueTag_EconomyLevel3CommandSet_Verteidigungsmaßnahmen_VerbessertesVorratslager_Arnor
TriggeredBy = Upgrade_EdainEconomyVerteidigungsmaßnahmen Upgrade_EdainEconomyVerbessertesVorratslager
RequiresAllTriggers = Yes
CommandSet = ArnorForgeCommandSetLevel3_Verteidigungsmaßnahmen_VerbessertesVorratslager
End
End
ReplaceModule ModueTag_EconomyLevel3CommandSet_Vorratslager_VerbesserteProduktionserhöhung
Behavior = CommandSetUpgrade ModueTag_EconomyLevel3CommandSet_Vorratslager_VerbesserteProduktionserhöhung_Arnor
TriggeredBy = Upgrade_EdainEconomyVorratslager Upgrade_EdainEconomyVerbesserteProduktionserhöhung
RequiresAllTriggers = Yes
CommandSet = ArnorForgeCommandSetLevel3_Vorratslager_VerbesserteProduktionserhöhung
End
End
ReplaceModule ModueTag_EconomyLevel3CommandSet_Vorratslager_VerbesserteVerteidigungsmaßnahmen
Behavior = CommandSetUpgrade ModueTag_EconomyLevel3CommandSet_Vorratslager_VerbesserteVerteidigungsmaßnahmen_Arnor
TriggeredBy = Upgrade_EdainEconomyVorratslager Upgrade_EdainEconomyVerbesserteVerteidigungsmaßnahmen
RequiresAllTriggers = Yes
CommandSet = ArnorForgeCommandSetLevel3_Vorratslager_VerbesserteVerteidigungsmaßnahmen
End
End
ReplaceModule ModueTag_EconomyLevel3CommandSet_Vorratslager_VerbessertesVorratslager
Behavior = CommandSetUpgrade ModueTag_EconomyLevel3CommandSet_Vorratslager_VerbessertesVorratslager_Arnor
TriggeredBy = Upgrade_EdainEconomyVorratslager Upgrade_EdainEconomyVerbessertesVorratslager
RequiresAllTriggers = Yes
CommandSet = ArnorForgeCommandSetLevel3_Vorratslager_VerbessertesVorratslager
End
End
End
Object GondorBuildingFoundation
SelectPortrait = BRArnorFoundation
CommandSet = ArnorGondorFoundationCommandSet
ReplaceModule ModuleTag_Draw2
Draw = W3DScriptedModelDraw ModuleTag_Draw2_Arnor
DefaultModelConditionState
Model = OBBFoundationX
End
ModelConditionState = WORLD_BUILDER
Model = GBSizeTemplate
End
End
End
ReplaceModule ModuleTag_Draw
Draw = W3DFloorDraw ModuleTag_Draw_Arnor
ModelName = ABFoundationX
End
End
End
Object GondorBaseDefenceFoundation
SelectPortrait = BRArnorFoundation
ReplaceModule ModuleTag_Draw2
Draw = W3DScriptedModelDraw ModuleTag_Draw2_Arnor
DefaultModelConditionState
Model = OBBFoundationX
End
ModelConditionState = WORLD_BUILDER
Model = GBBtlTwrM
End
End
End
ReplaceModule ModuleTag_Draw
Draw = W3DFloorDraw ModuleTag_Draw_Arnor
ModelName = ABFoundationM
End
End
End
Object GondorCastleBaseKeep
CommandSet = ArnorGondorCastleBaseKeepCommandSet
ReplaceModule MakeTheFreeTreb2
Behavior = ObjectCreationUpgrade MakeTheFreeTreb2_Arnor
TriggeredBy = Upgrade_PurchaseUpgradeMalbeth
Delay = 3000.0
RemoveUpgrade = Upgrade_WallTrebuchetButtonEnable
ThingToSpawn = ArnorMalbeth
Offset = X:28 Y:0.8 Z:35
FadeInTime = 500
End
End
End
Object GondorStable
CommandSet = GondorStablesCommandSet_forFornost
ReplaceModule ModueTag_StableLevel2CommandSet
Behavior = CommandSetUpgrade ModueTag_StableLevel2CommandSet_Arnor
TriggeredBy = Upgrade_GondorStructureLevel2
ConflictsWith = Upgrade_GondorStructureLevel3
CommandSet = GondorStablesCommandSetLevel2_forFornost
End
End
ReplaceModule ModueTag_StableLevel3CommandSet
Behavior = CommandSetUpgrade ModueTag_StableLevel3CommandSet_Arnor
TriggeredBy = Upgrade_GondorStructureLevel3
CommandSet = GondorStablesCommandSetLevel3_forFornost
End
End
End
Object GondorWorkshop
CommandSet = GondorWorkshopCommandSet_forFornost
ReplaceModule ModuleTag_GondorWorkshopLevel2CommandSet
Behavior = CommandSetUpgrade ModueTag_GondorWorkshopLevel2CommandSet_Arnor
TriggeredBy = Upgrade_GondorStructureLevel2
ConflictsWith = Upgrade_GondorStructureLevel3
CommandSet = GondorWorkshopCommandSetLevel2_forFornost
End
End
ReplaceModule ModuleTag_GondorWorkshopLevel3CommandSet
Behavior = CommandSetUpgrade ModueTag_GondorWorkshopLevel3CommandSet_Arnor
TriggeredBy = Upgrade_GondorStructureLevel3
CommandSet = GondorWorkshopCommandSetLevel3_forFornost
End
End
End
Object GondorRangerTents
Description = OBJECT:ArnorRangerTentsDescription
ReplaceModule ModuleTag_SpawnFighters
Behavior = SpawnBehavior ModuleTag_SpawnFighters_Neu
TriggeredBy = Upgrade_StructureLevel1
ConflictsWith = Upgrade_ObjectUnderAIControl
SpawnNumber = 3
InitialBurst = 3
SpawnTemplateName = DunedainRangerMod_SlavedCreep
SpawnReplaceDelay = 30000
CanReclaimOrphans = Yes
End
End
CommandSet = ArnorRangerTentsCommandSet
End
Object SnowTrollLairSnow
ReplaceModule ModuleTag_Spawn
Behavior = SpawnBehavior ModuleTag_Spawnneu
SpawnNumber = 3
InitialBurst = 3
SpawnTemplateName = SnowTroll_Slaved
SpawnReplaceDelay = 100000
CanReclaimOrphans = Yes
End
End
End
Object DireWolfLair
ReplaceModule ModuleTag_Spawn
Behavior = SpawnBehavior ModuleTag_Spawnneu
SpawnNumber = 2
InitialBurst = 2
SpawnTemplateName = AngmarWeißerWarg_Slaved
SpawnReplaceDelay = 30000
CanReclaimOrphans = Yes
End
End
End
ObjectCreationList OCL_CaHGoodSummon1
CreateObject
ObjectNames = GondorFighter_Summoned
Count = 5
FadeIn = Yes
FadeTime = 8000
MinLifetime = 30000
MaxLifetime = 30000
IgnoreCommandPointLimit = Yes
Disposition = SPAWN_AROUND
DispositionIntensity = 100
DispositionAngle = 72 ;SpawnAround uses this as the arc between guys
Offset = X:0 Y:0 Z:0
ForbiddenUpgrades = Upgrade_Heerführer
End
CreateObject
ObjectNames = GondorFighter_Summoned
Count = 5
FadeIn = Yes
FadeTime = 8000
MinLifetime = 60000
MaxLifetime = 60000
IgnoreCommandPointLimit = Yes
Disposition = SPAWN_AROUND
DispositionIntensity = 100
DispositionAngle = 72 ;SpawnAround uses this as the arc between guys
Offset = X:0 Y:0 Z:0
ForbiddenUpgrades = Upgrade_ObjectLevel4
RequiredUpgrades = Upgrade_Heerführer
End
End
Object CreateAHero
ReplaceModule ModuleTag_OCLSpecialPowerHotWSummonAllies_Level1
Behavior = OCLSpecialPower ModuleTag_OCLSpecialPowerHotWSummonAllies_Level1New
SpecialPowerTemplate = SpecialAbilityCreateAHeroHotWSummonAllies_Level1
OCL = OCL_CaHGoodSummon1
TriggerFX = FX_SummonFog
CreateLocation = CREATE_AT_LOCATION
StartsPaused = Yes
SetModelCondition = ModelConditionState:USER_1
SetModelConditionTime = 8.1
End
End
--- Ende Code ---
and this is the message :
FG15:
Look at the error message ;)
It seems that I created the FX_SummonFog just for this map. The original FX is FX_DunedainSummon. If you replace it, it should work.
Also you should change the code in the OCL, because I just copied my code, which does something completly diferent.
lord_ellessar:
okay thanks a lot :)
Thorin King under the Mountain:
Did you copy the code from the arnorforge or why does the "l" miss at: Replace Module ModuleTag_Economy....?? [uglybunti]
lord_ellessar:
I would like to make that the power taint stay the whole skirmish, what code have I to do :)
Navigation
[0] Themen-Index
[#] Nächste Seite
[*] Vorherige Sete
Zur normalen Ansicht wechseln