Jump to content


Photo

Osgiliath veterans power need lvl requirement


Best Answer NewErr, 04 December 2017 - 08:02 PM

You need an unpause behaviour that is triggered by the Experience level upgrade in Boromir's ini.

 

	Behavior = UnpauseSpecialPowerUpgrade ModuleTag_BoromirVeterans
		SpecialPowerTemplate = OsgiliathVeteransSpecialPower
		TriggeredBy = Upgrade_BoromirVeterans
	End
Go to the full post


  • Please log in to reply
4 replies to this topic

#1 RoccoTheStiff

RoccoTheStiff
  • Members
  • 48 posts

Posted 04 December 2017 - 03:55 PM

Hello, i've been following the tutorial on the net in which you can put a balrog to your hero for summon.

 

I chose Boromir, copy/pasted it all, got it to work, all fine needs lvl 10 to work, replaced the balrog with rangers  egg (4 battalions) still working fine, spawns great, needs lvl 10 etc etc

 

Then i decided Boromir needs a lvl 8 power.....so, i found that Osgiliath veterans power, put it in everywhere, it's all good, i even edited it to spawn summoned type units and tower guards in addition to swordsmen.

 

The problem is, the power is available at lvl 1, right off the bat when Boromir exits the fortress. I put it correctly as far as i know how to in experiencelevels.ini at lvl 8, but it's still not working as intended.

 

Any help? Thanks for all the answers.



#2 NewErr

NewErr

    Elf-friend

  • Project Team
  • 2,177 posts
  • Location:Romania
  • Projects:Wars of The Firstborn
  •  World Wide Artist

Posted 04 December 2017 - 04:07 PM

Have you tried to spot any major difference between the lvl 10 experience level and the 8th one you got? Maybe is because your power starts Unpaused in Boromir.ini?



#3 RoccoTheStiff

RoccoTheStiff
  • Members
  • 48 posts

Posted 04 December 2017 - 05:31 PM

Have you tried to spot any major difference between the lvl 10 experience level and the 8th one you got? Maybe is because your power starts Unpaused in Boromir.ini?

 

Hey hey, thanks for the reply, i did try what you asked and put a Starts paused = yes entry, but now i can't use it when i test it on test map with just Boromir lvl 10.

 

Boromir ini

 

Behavior = OCLSpecialPower ModuleTag_OsgiliathVeterans
SpecialPowerTemplate = OsgiliathVeteransSpecialPower
OCL   = OCL_OsgiliathVeterans
CreateLocation    = CREATE_AT_LOCATION
            StartsPaused            = Yes


End

Explevels ini

ExperienceLevel BoromirLevel8
TargetNames = GondorBoromir 
RequiredExperience = BOROMIR_LVL8_EXP_NEEDED
ExperienceAward = BOROMIR_LVL8_EXP_AWARD 
AttributeModifiers = HeroLevelUpDamage7
Rank = 8
Upgrades =     Upgrade_BoromirVeterans
LevelUpFx = FX:GandalfLevelUp1FX
;LevelUpOCL = OCL_GandalfLevelUp1OCL
SelectionDecal
Texture = decal_hero_good
Style = SHADOW_ALPHA_DECAL
OpacityMin = 50% 
OpacityMax = 100%
MinRadius = 40
MaxRadius = 200
MaxSelectedUnits = 1
End 
END 

Upgrade ini

 

Upgrade Upgrade_BoromirVeterans
      Type                = OBJECT
End

Commandbutton ini

CommandButton Command_SpecialAbilityOsgiliathVeterans
Command           = SPECIAL_POWER
SpecialPower      = OsgiliathVeteransSpecialPower
ButtonImage       = BGBarracks_Soldiers ;BGGreatKeep_OsgiliathVererans ; Yes, it's another typo...
Options           = NEED_TARGET_POS CONTEXTMODE_COMMAND
RadiusCursorType  = ElvenAlliesRadiusCursor
ButtonBorderType  = ACTION
;Radial   = Yes
TextLabel   = CONTROLBAR:SpecialAbilityOsgiliathVeterans
  DescriptLabel     = CONTROLBAR:ToolTipSpecialAbilityOsgiliathVeterans
      InPalantir              = Yes
End

Commandset

 

CommandSet BoromirCommandSet
1 = Command_ToggleStance
2  = Command_SpecialAbilityHornOfGondor
3  = Command_SpecialAbilityBoromirForGondor
4  = Command_SpecialAbilityCaptainOfGondorBoromir
      5  = Command_SpecialAbilityOsgiliathVeterans
      6     = Command_SpecialAbilityBoromirDunedain 
12  = Command_CaptureBuilding
13  = Command_AttackMove
14  = Command_Stop
16   = Command_SetStanceBattle
17   = Command_SetStanceAggressive
18   = Command_SetStanceHoldGround
End

...if it helps....

 
 

 

 

 
 

Edited by RoccoTheStiff, 04 December 2017 - 05:38 PM.


#4 NewErr

NewErr

    Elf-friend

  • Project Team
  • 2,177 posts
  • Location:Romania
  • Projects:Wars of The Firstborn
  •  World Wide Artist

Posted 04 December 2017 - 08:02 PM   Best Answer

You need an unpause behaviour that is triggered by the Experience level upgrade in Boromir's ini.

 

	Behavior = UnpauseSpecialPowerUpgrade ModuleTag_BoromirVeterans
		SpecialPowerTemplate = OsgiliathVeteransSpecialPower
		TriggeredBy = Upgrade_BoromirVeterans
	End

Edited by NewErr, 04 December 2017 - 08:03 PM.


#5 RoccoTheStiff

RoccoTheStiff
  • Members
  • 48 posts

Posted 04 December 2017 - 10:56 PM

 

You need an unpause behaviour that is triggered by the Experience level upgrade in Boromir's ini.

 

	Behavior = UnpauseSpecialPowerUpgrade ModuleTag_BoromirVeterans
		SpecialPowerTemplate = OsgiliathVeteransSpecialPower
		TriggeredBy = Upgrade_BoromirVeterans
	End

 

 

Yay, that worked. Many thanks for the help. :D






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users