Jump to content


Photo

Dismount problem

mod

  • Please log in to reply
5 replies to this topic

#1 Slava Shadrinov

Slava Shadrinov
  • Members
  • 116 posts

Posted 26 July 2017 - 06:52 PM

Hi all

I am add Witch-King power Dismount to Gandalf:

;---------DISMOUNT------------------------------------------------------------------------
  Behavior = SpecialPowerModule ModuleTag_DismountStarter
  SpecialPowerTemplate = SpecialAbilityToggleMounted
  UpdateModuleStartsAttack = Yes
  StartsPaused = No
InitiateSound = FellBeastVoiceMove
  End
Behavior = ToggleMountedSpecialAbilityUpdate ModuleTag_Dismount
  SpecialPowerTemplate    = SpecialAbilityToggleMounted
  StartAbilityRange = 50.0 ; pretty small so we are forced to the right place.
  ;MountedTemplate = MordorWitchKing
  ;SynchronizeTimerOnSpecialPower = SpecialAbilityCurseEnemy SpecialAbilityScreech
  UnpackTime              = 0
  PreparationTime         = 1  
; PersistentPrepTime      = 250
  PackTime                = 0
  OpacityTarget = 1 ; How see-thru to be at peak of change
  AwardXPForTriggering    = 0
  IgnoreFacingCheck = Yes
End

 

But when Gandalf use this power i cant stop him and cant cancel this power, Gandalf use this power and dont react to my commands, when Witch-King use this power i can click to field for example and he cancel this power
Help me please

 


Edited by Slava Shadrinov, 26 July 2017 - 06:54 PM.


#2 Echo

Echo

    T3A:Online

  • T3A Staff
  • 929 posts
  • Location:USA
  • Projects:Blue Wizard Mod
  •  The Blue Wizard of the T3A Team Chamber
  • Division:BFME
  • Job:T3A Moderator
  • Donated

Posted 31 July 2017 - 01:28 PM

I assume you want to make Gandalf mount/dismount an Eagle? Or what exactly do you want to achieve? In this case you should not comment out the MountedTemplate. Please be as clear as possible with your problem description.


26285.png


#3 Slava Shadrinov

Slava Shadrinov
  • Members
  • 116 posts

Posted 10 August 2017 - 08:40 PM

No i just want to dismount on concrete position on normal gendalf horse ability.
I changed the ability so that Gandalf dismounted from the horse precisely to a specific position as the Witch-King do when he dismount from fellbeast.
But when Gandalf use this power i cant stop him and cant cancel this power, he use this power and dont react to my commands
 


Edited by Slava Shadrinov, 16 August 2017 - 08:01 PM.


#4 Echo

Echo

    T3A:Online

  • T3A Staff
  • 929 posts
  • Location:USA
  • Projects:Blue Wizard Mod
  •  The Blue Wizard of the T3A Team Chamber
  • Division:BFME
  • Job:T3A Moderator
  • Donated

Posted 19 August 2017 - 02:58 AM

Not sure if that is meant to happen, but it should be possible. It would certainly work if you make 2 separate objects, one called GondorGandalfMounted and the other called GondorGandalfUnmounted (or just use regular GondorGandalf). Then just do what EA did for the WitchKing, and use the MountedTemplate to switch between the 2 objects.

 

I don't have my RotWK files here right now, so I can't try stuff. If you want to dive deeper and try out a couple things, it should be possible. You would certainly need a new special power because SpecialAbilityToggleMounted triggers on button click. But to be honest, I would just use EA's way here. They implemented this ability for the Witch-king so it would be pretty easy to use that.


26285.png


#5 Slava Shadrinov

Slava Shadrinov
  • Members
  • 116 posts

Posted 19 August 2017 - 10:46 PM

Thanks, im try)



#6 Slava Shadrinov

Slava Shadrinov
  • Members
  • 116 posts

Posted 20 August 2017 - 08:29 PM

Hi again, i only cancelled this power on flying units like Eagle or Drogoth, not flying units do this power and i cant do anything with him after click
but if i add this to Gandalf:
 

Behavior = GiantBirdAIUpdate ModuleTag_GiantBirdAI
   AutoAcquireEnemiesWhenIdle = Yes ATTACK_BUILDINGS
   MoodAttackCheckRate = 500
   AILuaEventsList = FellBeastFunctions
FollowThroughDistance = 200
FollowThroughCheckStep = 50
FollowThroughGradient = 1.0
 
GrabTossTimeTrigger = 2.5
GrabTossHeightTrigger = 100.0
TossFX = FX_DiebyFalling
SpecialContactPoints = Swoop
 
AttackPriority = AttackPriority_FellBeast
 End
 
i can canselled this power but gandalf "flies" over the ground 
i thing this power work only on flying units)






Also tagged with one or more of these keywords: mod

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users