Jump to content


Photo

Need Help With Arnor Captain


Best Answer King Arveleg, 30 July 2019 - 04:53 PM

I finally figured it out, the problem was in Command Button.

 SpecialPower = SpecialPowerCarthaenRallyRangers

Changed to:

 SpecialPower = SpecialAbilityCarthaenRallyRangers

So far no crashes.

Go to the full post


  • Please log in to reply
5 replies to this topic

#1 King Arveleg

King Arveleg
  • Members
  • 69 posts
  • Location:Fornost
  • Projects:Arnor & Gondor & Rohan ,Kingdom of Arnor

Posted 29 July 2019 - 03:28 PM

Hi,

 

I'm adding a modified Rally Rangers ability to Carthaen, but I'm stuck, when ever I select him the game crashes without giving any error.

 

Any idea what's causing this?

 

Arnor Captain:

 

Spoiler

 

Arnor Captain Stealthless:

 

Spoiler

 

 

Thanks in advance. :)



#2 Madluck

Madluck
  • Members
  • 13 posts
  • Location:my where abouts are unkown but im here
  • Projects:rise of the damn shadows

Posted 30 July 2019 - 07:46 AM

can you post the special ability and the commandbutton of this power 



#3 King Arveleg

King Arveleg
  • Members
  • 69 posts
  • Location:Fornost
  • Projects:Arnor & Gondor & Rohan ,Kingdom of Arnor

Posted 30 July 2019 - 10:39 AM

can you post the special ability and the commandbutton of this power 

 

Sure.

//--------------------------------------------------------------
CommandButton Command_SpecialAbilityCarthaenRallyRangers
  Command               = SPECIAL_POWER
  SpecialPower          = SpecialPowerCarthaenRallyRangers
  Options               = NEED_TARGET_POS CONTEXTMODE_COMMAND
  TextLabel             = CONTROLBAR:RallyRangers
  ButtonImage           =  BCInn_DunedainRanger
  CursorName                            = Bombard 
  RadiusCursorType                    = KingsFavorRadiusCursor
  InvalidCursorName                    = GenericInvalid  
  ButtonBorderType      = ACTION 
  DescriptLabel         = CONTROLBAR:TooltipRallyRangers
  AutoAbility                            = No
  InPalantir        = Yes
End
;------------------------------------------------------------------------------
SpecialPower SpecialAbilityCarthaenRallyRangers
    Enum            = SPECIAL_SPAWN_ORCS
    ReloadTime        = 10000 ; in milliseconds
    InitiateAtLocationSound    = SpellElvenSummon
    RadiusCursorRadius    = 100.0
End


#4 Miraak5

Miraak5

    title available

  • Members
  • 389 posts
  • Location:France
  • Projects:ROTWK Patch 2.02, Wars of the North, BFME1 1.08 Complete Edition
  •  BIG coding, Map scripting and AI coding

Posted 30 July 2019 - 12:56 PM

replace your specialpower code with this one

SpecialPower SpecialAbilityCarthaenRallyRangers
    Enum            = SPECIAL_SPELL_BOOK_MEN_OF_DALE_ALLIES ;SPECIAL_SPAWN_ORCS
    ReloadTime        = 170000  ; in milliseconds
    InitiateAtLocationSound    = SpellElvenSummon
    RadiusCursorRadius    = 100.0
    Flags                            = NO_FORBIDDEN_OBJECTS LIMIT_DISTANCE
    ForbiddenObjectFilter            = NO_SUMMON_NEAR_OBJECT_FILTER
    ForbiddenObjectRange            = 100
    MaxCastRange                    = 150
End

He was the first...


#5 King Arveleg

King Arveleg
  • Members
  • 69 posts
  • Location:Fornost
  • Projects:Arnor & Gondor & Rohan ,Kingdom of Arnor

Posted 30 July 2019 - 03:48 PM

 

replace your specialpower code with this one

SpecialPower SpecialAbilityCarthaenRallyRangers
    Enum            = SPECIAL_SPELL_BOOK_MEN_OF_DALE_ALLIES ;SPECIAL_SPAWN_ORCS
    ReloadTime        = 170000  ; in milliseconds
    InitiateAtLocationSound    = SpellElvenSummon
    RadiusCursorRadius    = 100.0
    Flags                            = NO_FORBIDDEN_OBJECTS LIMIT_DISTANCE
    ForbiddenObjectFilter            = NO_SUMMON_NEAR_OBJECT_FILTER
    ForbiddenObjectRange            = 100
    MaxCastRange                    = 150
End

 

 

I can select Carthaen for a few seconds now before the game crashes, and no rally rangers appears.


Edited by King Arveleg, 30 July 2019 - 04:10 PM.


#6 King Arveleg

King Arveleg
  • Members
  • 69 posts
  • Location:Fornost
  • Projects:Arnor & Gondor & Rohan ,Kingdom of Arnor

Posted 30 July 2019 - 04:53 PM   Best Answer

I finally figured it out, the problem was in Command Button.

 SpecialPower = SpecialPowerCarthaenRallyRangers

Changed to:

 SpecialPower = SpecialAbilityCarthaenRallyRangers

So far no crashes.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users