Edited by Chachalon, 06 May 2006 - 10:17 AM.
Chachalon's questions
#1
Posted 05 May 2006 - 10:12 AM
#2
Posted 05 May 2006 - 11:01 AM
Behavior = LocomotorSetUpgrade ModuleTag_ChangeWhatICanWalkOn TriggeredBy = Upgrade_Bla End
and your locomotorset would look something like :
LocomotorSet Locomotor = IamafraidofheightsLocomotor Condition = SET_NORMAL Speed = 65 End LocomotorSet Locomotor = IcanclimbwallsLocomotor Condition = SET_NORMAL_UPGRADED Speed = 65 End
#3
Posted 05 May 2006 - 11:17 AM
Edited by Chachalon, 05 May 2006 - 12:16 PM.
#4
Posted 06 May 2006 - 10:23 AM
I tried to add a new special power to one of my new building, giving my units an armor- and damage-bonus for a certain time, so I made a special power based on Glorious Charge... I created a new special ability, upgrade, attribute modifier & commandbutton, now the button is there and clickable, but nothing happens when I click it. No reload timer, nothing. What did I do wrong? (I had the same problem a while back with trying to add a similar power to a horde, so if someone could help it would solve more than just one problem :-P)
This is the part of the ability I added to the structure
Behavior = UnpauseSpecialPowerUpgrade ModuleTag_GodlyPower SpecialPowerTemplate = SpecialAbilityEmpireGodlyPower TriggeredBy = Upgrade_EmpireTempleLevel2 End Behavior = SpecialPowerModule ModuleTag_GodlyPowerUpdate SpecialPowerTemplate = SpecialAbilityEmpireGodlyPower UpdateModuleStartsAttack = Yes StartsPaused = Yes AttributeModifier = EmpireGodlyPowerModifier AttributeModifierRange = 5000 AttributeModifierAffectsSelf = Yes AttributeModifierAffects = NONE +INFANTRY +CAVALRY EndThe special ability:
SpecialPower SpecialAbilityEmpireGodlyPower Enum = SPECIAL_TRIGGER_ATTRIBUTE_MODIFIER ReloadTime = 120000; in milliseconds InitiateAtLocationSound = GondorSoldierCelebratingLarge ;PalantirMovie = PalantirAlert_RohanReinforcements EndThe upgrade:
Upgrade Upgrade_EmpireTempleLevel2 Type = OBJECT BuildCost = GONDOR_ARCHERYRANGE_LEVEL2_UPGRADE_COST BuildTime = GONDOR_ARCHERYRANGE_LEVEL2_UPGRADE_BUILDTIME DisplayName = Upgrade:GondorArcheryRangeLevel2 SkirmishAIHeuristic = AI_UPGRADEHEURISTIC_FACTORY_UNITUNLOCK EndAttribute modifier:
ModifierList EmpireGodlyPowerModifier; Category = LEADERSHIP Modifier = ARMOR +50%; standard modifier Modifier = DAMAGE_MULT 150% Duration = 15000; 15 seconds FX = FX_GenericLeadership Endand command button:
CommandButton Command_SpecialAbilityEmpireGodlyPower Command = SPECIAL_POWER Options = NEED_UPGRADE NeededUpgrade = Upgrade_EmpireTempleLevel2 SpecialPower = SpecialAbilityEmpireGodlyPower TextLabel = CONTROLBAR:GloriousCharge ButtonImage = HPTheodenGloriousCharge RadiusCursorType = TrainingRadiusCursor ButtonBorderType = ACTION DescriptLabel = CONTROLBAR:ToolTipGloriousCharge InPalantir = Yes AutoAbility = Yes PresetRange = 160.0 UnitSpecificSound = TheodenVoiceGloriousCharge End
Edited by Chachalon, 06 May 2006 - 10:24 AM.
#5
Posted 06 May 2006 - 10:54 AM
I remember someone saying that adding a special power to a horde is not possible. Has been a month or so ago, just after I started modding. So I might remember wrong.OK, I have another question, I'm pretty sure it has been answered already, but I searched the forums and didn't find anything...
Solinx
Edited by Solinx, 06 May 2006 - 10:54 AM.
"An expert is a man who has made all the mistakes which can be made in a very narrow field." - Niels Bohr
#6
Posted 06 May 2006 - 11:51 AM
EDIT: Don't worry about this one, I solved the problem. I just created an invisible object that grants leadership to own units in a very large radius which can be summoned nearly anywhere on the map. Not a perfect solution so if someone has a better idea that would be great... but at least it works.
Edited by Chachalon, 08 May 2006 - 09:13 AM.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users