Jump to content


Photo

Unit upgrade not working etc..


Best Answer Ridder Geel, 21 February 2015 - 05:51 PM

Ok well i cant find any upgrade that uses:

Upgrade_TechnologyRohanBasicTraining

as a prerequisite, this is most likely your problem...

What button are you using?

Because this one:

CommandButton Command_PurchaseUpgradeRohanBasicTraining
    Command                = OBJECT_UPGRADE
    Options                = NEED_UPGRADE OK_FOR_MULTI_SELECT CANCELABLE
    Upgrade                = Upgrade_RohanBasicTraining
    NeededUpgrade            = Upgrade_TechnologyGondorBasicTraining
    TextLabel            = CONTROLBAR:PurchaseUpgradeRohanBasicTraining
    ButtonImage            = BRArmory_Banner
    ButtonBorderType        = UPGRADE
    DescriptLabel            = CONTROLBAR:ToolTipPurchaseUpgradeRohanBasicTraining
    InPalantir            = Yes
    LacksPrerequisiteLabel        = TOOLTIP:LackRohanBasicTraining
End
 

requires gondor's stuff :p

Go to the full post


  • Please log in to reply
11 replies to this topic

#1 yakuzaBoss

yakuzaBoss
  • Members
  • 85 posts

Posted 18 February 2015 - 11:43 PM

Hi people! I need 2 helps for my modified RJ-RotWK:

1) When I research for the Banner Carrier Upgrade and I click on a casual unit to apply the upgrade, it remains grey and it doesn't work. What to do when an upgrade doesn't work?

2) Radagast hero can mount the eagle but cannot dismount: The icon clearly say Mount/Dismount. When I click Mount, he mount the eagle but if I re-click, he stays there. So what code do I need to edit?


Edited by ykzB, 18 February 2015 - 11:45 PM.


#2 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 19 February 2015 - 08:21 AM

Post some code from the units?

Your descriptions are not entirely useful to me considering what might be going on :p


Ridder Geel

#3 yakuzaBoss

yakuzaBoss
  • Members
  • 85 posts

Posted 19 February 2015 - 11:13 AM

Ok. I found Radagans in data/ini/objects/goodfaction/units/rohan/radagast.ini
The Mount/Dismount script is this one:
 
 
;;; Level 5 - Mount ;;;
Behavior = UnpauseSpecialPowerUpgrade ModuleTag_RadagastEagleMount
SpecialPowerTemplate = SpecialAbilityToggleMountedFromFellBeast
TriggeredBy = Upgrade_ObjectLevel5
ObeyRechageOnTrigger = Yes
End
 
  Behavior = SpecialPowerModule ModuleTag_RadagastDismountStarter ; RotWK
  SpecialPowerTemplate = SpecialAbilityToggleMountedFromFellBeast
  UpdateModuleStartsAttack = Yes
  StartsPaused = Yes
InitiateSound = EagleVoiceMove
  End
 
Behavior = ToggleMountedSpecialAbilityUpdate ModuleTag_RadagastDismount ; RotWK
  SpecialPowerTemplate     = SpecialAbilityToggleMountedFromFellBeast
  StartAbilityRange = 50.0
  MountedTemplate = GondorRadagast
  SynchronizeTimerOnSpecialPower  = SpecialAbilityHeroBlink SpecialAbilityForcePush_Level3 SpecialAbilityCreateAHeroWordOfPoultry_Level1 SpecialAbilityRadagastSummonEagle
  UnpackTime               = 0
  PreparationTime = 1  
  PackTime                 = 0
  OpacityTarget = 0
  AwardXPForTriggering = 0
  IgnoreFacingCheck = Yes
End
 
 
 
 
and I changed it into
 
 
 
 
 
;;; Level 5 - Mount ;;;
Behavior = UnpauseSpecialPowerUpgrade ModuleTag_RadagastEagleMount
SpecialPowerTemplate = SpecialAbilityToggleMountedFromFellBeast
TriggeredBy = Upgrade_ObjectLevel5
ObeyRechageOnTrigger = Yes
End
 
  Behavior = SpecialPowerModule ModuleTag_RadagastDismountStarter ; RotWK
  SpecialPowerTemplate = SpecialAbilityToggleMountedFromFellBeast
  UpdateModuleStartsAttack = Yes
  StartsPaused = no
InitiateSound = EagleVoiceMove
  End
 
Behavior = ToggleMountedSpecialAbilityUpdate ModuleTag_RadagastDismount ; RotWK
  SpecialPowerTemplate     = SpecialAbilityToggleMountedFromFellBeast
  StartAbilityRange = 50.0
  MountedTemplate = GondorRadagast
  SynchronizeTimerOnSpecialPower  = SpecialAbilityCurseEnemy SpecialAbilityHeroBlink SpecialAbilityRadagastSummonEagle
  UnpackTime               = 0
  PreparationTime = 1
;  PersistentPrepTime              = 250  
  PackTime                 = 0
  OpacityTarget = 0
  AwardXPForTriggering = 0
  IgnoreFacingCheck = Yes
End
 
 
 
 
I don't know if it's wrong, if so tell me how to change better..thanks
 
 
About the Banner Carrier Upgrade I found 2 entire inis in object/ini/goodfaction/hordes/rohan:
rohanhordes.ini and rohanhordes_old.ini
What ini do you need?

Edited by ykzB, 19 February 2015 - 11:21 AM.


#4 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 19 February 2015 - 06:24 PM

I'd assume not the _old one :p

 

and for dismounting you would need to have the correct code in GondorRadagast as well... Or is this one the mounted version?


Ridder Geel

#5 yakuzaBoss

yakuzaBoss
  • Members
  • 85 posts

Posted 19 February 2015 - 09:00 PM

I attach rohanhordes.ini and radagast.ini so you can help me better  :rolleyes:

Attached Files



#6 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 20 February 2015 - 08:33 AM

Well for the dismount you need to target a location, you do know that right?

If that's the case, maybe you got the wrong commandbutton in GondorRadagastMountedCommandSet.

 

As for the hordes, what horde doesn't work? ._.

The hordes I looked at seemed to have what they needed :p


Ridder Geel

#7 yakuzaBoss

yakuzaBoss
  • Members
  • 85 posts

Posted 20 February 2015 - 03:07 PM

Ups... are you saying that I need to target a dismount location? Never tried it.

I'm so used with the feel beasts in witch I simply have to click on the mount/dismont icon without targeting any location...

 

The Banner Carrier Upgrade doesn't work with all the Rohan units.

I firstly buy the upgrade at the forge. Then when I create a rohan unit, the upgrade is still grey and I can't apply it.

It clearly says that I need level 1 for the units and my units are level 1! It doesn't work also for units at level 2, 3, 4 it never works.

Forged blades upgrade and all the other upgrades are working well but not Banner Carrier Upgrade.



#8 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 21 February 2015 - 12:38 PM

Then i need to see your upgrades and commandbuttons nd all that :p

Most likely something is wrong there ;)


Ridder Geel

#9 yakuzaBoss

yakuzaBoss
  • Members
  • 85 posts

Posted 21 February 2015 - 04:32 PM

Thanks for all you are doing for me and for the community.

Here are my upgrade.ini and commandbutton.ini:

 

Attached Files



#10 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 21 February 2015 - 05:51 PM   Best Answer

Ok well i cant find any upgrade that uses:

Upgrade_TechnologyRohanBasicTraining

as a prerequisite, this is most likely your problem...

What button are you using?

Because this one:

CommandButton Command_PurchaseUpgradeRohanBasicTraining
    Command                = OBJECT_UPGRADE
    Options                = NEED_UPGRADE OK_FOR_MULTI_SELECT CANCELABLE
    Upgrade                = Upgrade_RohanBasicTraining
    NeededUpgrade            = Upgrade_TechnologyGondorBasicTraining
    TextLabel            = CONTROLBAR:PurchaseUpgradeRohanBasicTraining
    ButtonImage            = BRArmory_Banner
    ButtonBorderType        = UPGRADE
    DescriptLabel            = CONTROLBAR:ToolTipPurchaseUpgradeRohanBasicTraining
    InPalantir            = Yes
    LacksPrerequisiteLabel        = TOOLTIP:LackRohanBasicTraining
End
 

requires gondor's stuff :p


Ridder Geel

#11 yakuzaBoss

yakuzaBoss
  • Members
  • 85 posts

Posted 21 February 2015 - 08:27 PM

So I need to replace with this one?

 

CommandButton Command_PurchaseUpgradeRohanBasicTraining
    Command                = OBJECT_UPGRADE
    
Options                = NEED_UPGRADE OK_FOR_MULTI_SELECT CANCELABLE
    
Upgrade                = Upgrade_RohanBasicTraining
    NeededUpgrade            = Upgrade_TechnologyRohanBasicTraining
    TextLabel            = CONTROLBAR:PurchaseUpgradeRohanBasicTraining
    ButtonImage            = BRArmory_Banner
    ButtonBorderType        = UPGRADE
    
DescriptLabel            = CONTROLBAR:ToolTipPurchaseUpgradeRohanBasicTraining
    InPalantir            = Yes
    LacksPrerequisiteLabel        = TOOLTIP:LackRohanBasicTraining
End


Edited by ykzB, 21 February 2015 - 08:53 PM.


#12 yakuzaBoss

yakuzaBoss
  • Members
  • 85 posts

Posted 21 February 2015 - 10:05 PM

Thanks a lot Ridder Geel, problem solved with success!  :thumbsupxd:






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users