Here is what happens,
Problem 1--- Until he reaches lvl10 there is no image button on the palantir(I have removed the toggle stance so it fits). When he reaches lvl10, suddenly the image button appears. How can I make it to appear from the start in the palantir?
Problem 2---(being lvl10) When I click on saruman, appears the button image of the thunderbolt on him(in fact it covers him), the one that appears at the fortress when you research the wizard tower upgrade. So he looks like a moving button image.
Problem 3---(being lvl10) When I click on the power to cast it, even though the ''circle'' that triggers the lightning appears, it is red(can't be casted, like its radius forbids it)
Here are the codes
***saruman.ini
//-------------------------------------------------------------------------- // Thunderstorm //-------------------------------------------------------------------------- Behavior = UnpauseSpecialPowerUpgrade ModuleTag_SarumanThunderstorm SpecialPowerTemplate = SpecialAbilitySarumanThunderstorm TriggeredBy = Upgrade_SarumanThunderstorm End Behavior = SpecialPowerModule ModuleTag_SarumanThunderstormStarter SpecialPowerTemplate = SpecialAbilitySarumanThunderstorm UpdateModuleStartsAttack = Yes StartsPaused = Yes InitiateSound = WizardTowerLightningStrikeRumbleMS End Behavior = ArrowStormUpdate ModuleTag_ShootLightningBolts SpecialPowerTemplate = SpecialAbilitySarumanThunderstorm StartAbilityRange = ISENGARD_WIZARDSTOWER_LIGHTNING_RANGE UnpackingVariation = 1 CanShootEmptyGround = Yes UnpackTime = 2500 ;// Pull out arrow PreparationTime = 1 ;// Quick shot PersistentPrepTime = 500 ;// looping the quick shot PackTime = 1500 ;// back to idle FreezeAfterTriggerDuration = 2500 ApproachRequiresLOS = No ;// required so that it doesn't shoot through walls AwardXPForTriggering = 0 ;//Specific to ArrowStorm WeaponTemplate = SarumanThunderstorm TargetRadius = ISENGARD_WIZARDSTOWER_LIGHTNING_FIRE_RADIUS ShotsPerTarget = 1 ShotsPerBurst = 1 MaxShots = ISENGARD_WIZARDSTOWER_LIGHTNING_NUMSHOTS ;// will double up if run out of targets End
***commandbutton.ini
CommandButton Command_SarumanThunderstorm Command = SPECIAL_POWER SpecialPower = SpecialAbilitySarumanThunderstorm Options = HIDE_WHILE_DISABLED NEED_TARGET_POS TextLabel = CONTROLBAR:WizardsTowerLightningStrike ButtonImage = HSSarumanThunderbolt RadiusCursorType = ThunderBoltRadiusCursor ButtonBorderType = ACTION DescriptLabel = CONTROLBAR:ToolTipWizardsTowerLightningStrike CursorName = AttackObj InvalidCursorName = GenericInvalid AutoAbility = Yes InPalantir = Yes Radial = Yes End
***commndset.ini
CommandSet SarumanCommandSet 1 = Command_SpecialAbilityIsengardWizardBlast 2 = Command_SarumanFireball 3 = Command_SpecialAbilitySpeechCraft ; ; 4 = Command_SpecialAbilityDominateEnemy ; ; 5 = Command_SarumanThunderBolt 6 = Command_SarumanThunderstorm 12 = Command_CaptureBuilding 13 = Command_AttackMove 14 = Command_Stop End
***upgrade.ini
Upgrade Upgrade_SarumanThunderstorm Type = OBJECT End
***specialpower.ini
;------------------------------------------------------------------------------ SpecialPower SpecialAbilitySarumanThunderstorm Enum = SPECIAL_ARROW_STORM ReloadTime = 100000; in milliseconds RadiusCursorRadius = 120.0 InitiateSound = WizardTowerLightningStrikeRumbleMS End
I hope I didn't forgot any code. I know I made a bit of a mess, please don't be harsh on me
Edited by Witch King, 06 April 2012 - 02:21 PM.