Imladris production
Vous souhaitez réagir à ce message ? Créez un compte en quelques clics ou connectez-vous pour continuer.

Imladris production

Le forum français de création de cartes et de mods pour Bataille pour la Terre du Milieu
 
AccueilRechercherDernières imagesS'enregistrerConnexion
Le Deal du moment : -15%
(Adhérents) LEGO® Icons 10318 Le Concorde
Voir le deal
169.99 €

 

 Balrog

Aller en bas 
3 participants
AuteurMessage
Saroumane
Moddeur confirmé
Moddeur confirmé
Saroumane


Nombre de messages : 202
Location : Où j'habite ?
Add-On : Oui
Date d'inscription : 14/07/2012

Balrog Empty
MessageSujet: Balrog   Balrog Icon_minitimeMar 17 Juil - 9:13

Salut,
Alors j'ai essayé de mettre un balrog en héros à l'aide du tutoriel "Mette un Balrog en héros",mais quand je regarde dans ma forteresse il n'y a rien.
Et quand je vais dans data/ini/objet/neutral il y est, mais quand je regarde à partir de finalbig (donc l'INI C:/programmefiles/EA/la bataille pour la terre du milieu 2)et bah il n'y a rien,aucun fichier comme "MordorBalrog2".
Je pense que c'est à cause de ça qu'il n'y est pas dans ma forteresse,j'ai tout bien suivit le tutoriel mais j'ai du sauter un truc^^
Si quelqu'un pouvait m'aider ,merci d'avance :p
Revenir en haut Aller en bas
Korl
Moddeur expert
Moddeur expert
Korl


Nombre de messages : 564
Add-On : Oui
Date d'inscription : 26/06/2011

Balrog Empty
MessageSujet: Re: Balrog   Balrog Icon_minitimeMar 17 Juil - 13:21

Les tutos sont très bien fait pourtant :
T'a réussit à installer le jeu ?

Comme je suis généreux je vais te faciliter la tâche :

Dans Neutral tu copie colle dans un blocnote .ini MordorBalrog02 :

Code:
;------------------------------------------------------------------------------
Object MordorBalrog02

   ; *** ART Parameters ***
    ; SelectPortrait for Heros is portrait behind skill buttons. HP = HeroPortrait.
   SelectPortrait = HPBalrog
   
    ; ButtonImage for Heros is button image on Hero Select UI to select hero. HI = HeroIcon or HeroImage.
    ButtonImage = HIBalrog
   
   Draw = W3DScriptedModelDraw ModuleTag_BodyDraw
;      GlowEnabled = Yes
;      GlowEmissive = Yes
      
;      StaticModelLODMode = yes ; Will append M or L to the skin name depending on GameLOD

      OkToChangeModelColor = Yes
   
      ExtraPublicBone = ZZZPASSENGERBON
      ExtraPublicBone = ZZZWHIPCOIL
      ExtraPublicBone = SWORD

      ;-------------------------
      ModelConditionState = NONE ; Not DefaultConditionState, because that keyword copies anything in here to every other state
         Model = MUBalrog_SKN
         ParticleSysBone = SWORD BalrogSwordFlare FollowBone:yes      ; Not SWORDBONE, because SWORD is the bone that gets art-hidden mid animation in WIPX
         ParticleSysBone = SWORD BalrogSwordEmbers FollowBone:yes
         ParticleSysBone = MANEBONE BalrogManeFlare FollowBone:yes
         ParticleSysBone = MANEBONE BalrogManeEmbers FollowBone:yes
         ParticleSysBone = MANEBONE BalrogManeFire FollowBone:yes
         ParticleSysBone = RTWINGBONE BalrogWingSmokeLite FollowBone:yes
         ParticleSysBone = LFWINGBONE BalrogWingSmokeLite FollowBone:yes
      End

; This is triggered by the single player only HitReaction module for the lightningsword      
        ModelConditionState = HIT_LEVEL_2
         Model = MUBalLIT_SKN
      End

      ModelConditionState = HERO
         Model = MUBalIGNT_SKN
         ParticleSysBone = MANEBONE BalrogManeFlare FollowBone:yes
         ParticleSysBone = MANEBONE BalrogManeEmbers FollowBone:yes
         ParticleSysBone = MANEBONE BalrogManeFire FollowBone:yes
         ParticleSysBone = RTWINGBONE BalrogWingEmbers FollowBone:yes
         ParticleSysBone = LFWINGBONE BalrogWingEmbers FollowBone:yes

         ParticleSysBone = SWORD BalrogSwordFlare FollowBone:yes      ; Not SWORDBONE, because SWORD is the bone that gets art-hidden mid animation in WIPX
         ParticleSysBone = SWORD BalrogSwordEmbers FollowBone:yes
                   ParticleSysBone = NONE BalrogIgniteHeatWave FollowBone:no
      End

      ;-----------------      
      IdleAnimationState
         StateName = State_Idle
         Animation = Breathe
            AnimationName = MUBalrog_SKL.MUBalrog_IDLA
            AnimationMode = ONCE
            AnimationBlendTime = 10
            AnimationPriority = 20
         End
         Animation = LookAround
            AnimationName = MUBalrog_SKL.MUBalrog_IDLB
            AnimationMode = ONCE
            AnimationBlendTime = 10
            AnimationPriority = 2
         End
         Animation = SnortLikeABull
            AnimationName = MUBalrog_SKL.MUBalrog_IDLC
            AnimationMode = ONCE
            AnimationBlendTime = 10
            AnimationPriority = 1
         End

         BeginScript
            Prev = CurDrawablePrevAnimationState()
            if Prev == "State_JustBuilt"
               then CurDrawableSetTransitionAnimState("TRANS_JustBuilt_To_Idle")
            end
            if Prev == "State_AboutToHitGround"
               then CurDrawableSetTransitionAnimState("TRANS_AboutToHitGround_To_Idle")
            end
         EndScript
      End
      
      AnimationState               =   DYING DEATH_1
         Animation               =   Dying
            AnimationName         =   MUBalrog_SKL.MUBalrog_DIEA
            AnimationMode         =   ONCE
         End
         ParticleSysBone = None BalrogFallDust FollowBone:No
      End

      AnimationState               =   DYING DEATH_2
         Animation               =   FadingOut
            AnimationName         =   MUBalrog_SKL.MUBalrog_RORC
            AnimationMode         =   ONCE
         End
      End


; This is triggered by the single player only HitReaction module for the lightningsword   
; It is highest instead of lowest priority, because the hit reaction Paralyzes us, where for others it is just a fancy idle.   
      AnimationState               =   HIT_LEVEL_2
         Animation               =   Owowowowowowowow
            AnimationName         =   MUBalrog_SKL.MUBalrog_HITB
            AnimationMode         =   ONCE
         End
      End
      
      AnimationState               =   EATING
         Animation               =   DoingHorribleThingToGrabbedGuy
            AnimationName         =   MUBalrog_SKL.MUBalrog_BRNA
            AnimationMode         =   ONCE
            AnimationBlendTime      =   0
         End

            ParticleSysBone = ZZZPassengerBon balrogHandSqueezeFlames FollowBone:Yes
                ParticleSysBone = ZZZPassengerBon balrogHandSqueezeFlames2 FollowBone:Yes
            ParticleSysBone = ZZZPassengerBon balrogHandSqueezeFlamesFinal FollowBone:Yes
                ParticleSysBone = ZZZPassengerBon BalrogHandSqueezeFlash FollowBone:Yes
                ParticleSysBone = ZZZPassengerBon BalrogHandSmoke FollowBone:Yes
                ParticleSysBone = RING_2_L balrogHandAsh FollowBone:Yes
                ParticleSysBone = RING_2_L balrogHandAshSmall FollowBone:Yes
      End

      AnimationState               =   UNPACKING PACKING_TYPE_3
         Animation               =   GrabbingToTouching
            AnimationName         =   MUBalrog_SKL.MUBalrog_GRBA
            AnimationMode         =   ONCE
            AnimationBlendTime      =   0
         End
      End

      AnimationState               =   PACKING PACKING_TYPE_3
         Animation               =   GrabbingFollowThrough
            AnimationName         =   MUBalrog_SKL.MUBalrog_GRBC
            AnimationMode         =   ONCE
            AnimationBlendTime      =   0
         End   
      End

      AnimationState         = JUST_BUILT
         StateName = State_JustBuilt
         Animation
            AnimationName = MUBalrog_SKL.MUBalrog_RORA
            AnimationMode = MANUAL
            AnimationBlendTime = 0
         End
      End
      
       TransitionState = TRANS_JustBuilt_To_Idle
         Animation = BeingSummoned
            AnimationName = MUBalrog_SKL.MUBalrog_RORA
            AnimationMode = ONCE
         End
      End
      
      AnimationState = FIRING_OR_PREATTACK_B
         Animation = CrackThatWhip
            AnimationName = MUBalrog_SKL.MUBalrog_WIPA
            AnimationMode = ONCE
         End
            ParticleSysBone = RTHANDBONE BalrogWhip2swordEfx FollowBone:Yes
      End

      AnimationState         = SPECIAL_POWER_1
         Animation         = RoaringFear
            AnimationName   = MUBalrog_SKL.MUBalrog_RORB
            AnimationMode  = ONCE
         End
            ParticleSysBone = BAT_JAW BalrogScreamEffect FollowBone:Yes
            FXEvent         = Frame:20 Name:FX_BalrogScreamEfx
            ParticleSysBone = BAT_JAW balrogPixelDisplScrm FollowBone:Yes
            ParticleSysBone = BAT_JAW balrogScrmEmbers FollowBone:Yes
      End
          
      AnimationState         = SPECIAL_WEAPON_ONE
         Animation         = BreathingFireAnimation
            AnimationName   = MUBalrog_SKL.MUBalrog_FIRA
            AnimationMode  = ONCE
         End
            ;This is Balrog's fire breath efx
            ParticleSysBone = BAT_JAW balrogFireBreath FollowBone:Yes
            ParticleSysBone = BAT_JAW balrogBreathEmbers FollowBone:Yes
            ParticleSysBone = BAT_JAW balrogBreathSmoke FollowBone:Yes
            ParticleSysBone = BAT_JAW balrogBreathProxy FollowBone:Yes
         End
          
      AnimationState         = SPECIAL_WEAPON_TWO UNPACKING
         StateName         = State_LeapStart
         Animation         = GettingReadyToLeap
            AnimationName   = MUBalrog_SKL.MUBalrog_JMP1
            AnimationMode  = ONCE
         End
      End
          
       AnimationState         = SPECIAL_WEAPON_TWO PACKING
         Animation         = FirstWingBeatGoingUp
            AnimationName   = MUBalrog_SKL.MUBalrog_JMP2
            AnimationMode  = ONCE
         End
      End
          
       AnimationState         = ABOUT_TO_HIT                  ; Before ThrownProjectile, since by definition this set for nn frames while T_P is still on
         StateName         = State_AboutToHitGround
         Animation         = StartingToLandToTouchingGround
            AnimationName   = MUBalrog_SKL.MUBalrog_LND1
            AnimationMode  = ONCE
         End
      End
          
      AnimationState         = THROWN_PROJECTILE
         Animation         = HurtlingThroughAir
            AnimationName   = MUBalrog_SKL.MUBalrog_FLYA
            AnimationMode  = LOOP
            AnimationBlendTime = 10
         End
      End
          
       TransitionState = TRANS_AboutToHitGround_To_Idle
         Animation = SplashAtEndOfJump
            AnimationName = MUBalrog_SKL.MUBalrog_LND2
            AnimationMode = ONCE
            AnimationBlendTime = 0
         End
      End
      
      AnimationState         = TURN_RIGHT
         Animation         = TurningRight
            AnimationName   = MUBalrog_SKL.MUBalrog_TRNA
            AnimationMode  = LOOP
            AnimationBlendTime = 10
         End
      End

      AnimationState         = TURN_LEFT
         Animation         = TurningLeft
            AnimationName   = MUBalrog_SKL.MUBalrog_TRNB
            AnimationMode  = LOOP
            AnimationBlendTime = 10
         End
      End

      AnimationState         = MOVING
         Animation         = Running
            AnimationName   = MUBalrog_SKL.MUBalrog_WLKA
            AnimationMode  = LOOP
            AnimationBlendTime = 10
         End
         Flags              = RANDOMSTART
         
         FXEvent   = Frame:20 FireWhenSkipped Name:FX_BalrogRightFootStep
         FXEvent   = Frame:44 FireWhenSkipped Name:FX_BalrogLeftFootStep
      End
     
      AnimationState         = WEAPONSET_HERO_MODE UNPACKING PACKING_TYPE_1
         Animation = StartIgniteRoar
            AnimationName = MUBalrog_SKL.MUBalrog_IGNTA
            AnimationMode = ONCE
         End
      End
            
      AnimationState         = HERO PACKING PACKING_TYPE_1
         Animation = FinishIgniteRoar
            AnimationName = MUBalrog_SKL.MUBalrog_IGNTB
            AnimationMode = ONCE
         End
         
            EnteringStateFX = FX_BalrogIgniteStart
      End
            
      AnimationState         = FIRING_OR_PREATTACK_A
         Animation         = Swipe
            AnimationName   = MUBalrog_SKL.MUBalrog_ATKB
            AnimationMode   = ONCE
            UseWeaponTiming   = Yes
         End
      End
      
      AnimationState         = FIRING_OR_PREATTACK_C
         Animation         = Chop
            AnimationName   = MUBalrog_SKL.MUBalrog_ATKA
            AnimationMode   = ONCE
            UseWeaponTiming   = Yes
         End
         ParticleSysBone      = SWORDBONE BalrogSword FollowBone:yes
      End
   End

;--------------------------
   Draw = W3DScriptedModelDraw ModuleTag_WhipDraw
      GlowEnabled = Yes
      GlowEmissive = Yes
      ShadowForceDisable = Yes   ;The shadow setting is for the whole drawable, but this individual draw module wants to not have a shadow.
      
;      StaticModelLODMode = yes ; Will append M or L to the skin name depending on GameLOD

      DefaultModelConditionState
         Model = None
      End
      
      ModelConditionState = FIRING_OR_PREATTACK_B
         Model = MUBalsWhip_SKN
      End
      
      ;------------------
      IdleAnimationState
      End
      
      AnimationState = FIRING_OR_PREATTACK_B
         Animation = CrackThatWhip
            AnimationName = MUBalsWhip_SKL.MUBalsWhip_WIPA
            AnimationMode = ONCE
            AnimationBlendTime = 0
         End
      End
         WadingParticleSys = BalrogRiverSteam      
   End

   ; ***DESIGN parameters ***
   DisplayName      = OBJECT:Balrog
   ;//DisplayMeleeDamage = BALROG_DAMAGE_DISPLAY

   Side = Neutral
   EditorSorting = UNIT
   ThreatLevel = BALROG_THREAT_LEVEL
   ThingClass = CHARACTER_UNIT
   CrusherLevel  = 4  ;What can I crush?: 1 = infantry, 2 = trees, 3 = vehicles
   CrushWeapon = BalrogCrush

        BuildCost = BALROG2_BUILDCOST
        BuildTime = BALROG2_BUILDTIME 

   TransportSlotCount = TRANSPORTSLOTCOUNT_MONSTER
   
   WeaponSet
      Conditions = None
      Weapon = PRIMARY   MordorBalrogSwordSwipe
      Weapon = SECONDARY   MordorBalrogWhip
      Weapon = TERTIARY   MordorBalrogSwordChop
      
      AutoChooseSources = SECONDARY None
      OnlyAgainst = TERTIARY STRUCTURE BIG_MONSTER
   End
   
   ArmorSet
      Conditions      = None
      Armor          = BalrogArmor
      DamageFX        = NormalDamageFX
   End

   VisionRange = VISION_BALROG               
   ShroudClearingRange = SHROUD_CLEAR_BALROG

   DisplayName = OBJECT:Balrog
   ShockwaveResistance = SHOCKWAVE_RESISTANCE_ALWAYS
   CommandSet = BalrogCommandSet
   CanPathThroughGates   = No
   IsTrainable = No
   
   DeadCollideSize = LARGE ; How big does the AOD consider this unit for damage fx & behavior.


   ;------------------ AUDIO Parameters ----------------------

   VoiceAttack         = BalrogVoiceAttack
   VoiceAttackCharge      = BalrogVoiceAttack
   VoiceAttackMachine   = BalrogVoiceAttack
   VoiceAttackStructure   = BalrogVoiceAttack
   VoiceGuard         = BalrogVoiceMove
   VoiceMove         = BalrogVoiceMove
   VoiceSelect         = BalrogVoiceSelect
   VoiceSelectBattle      = BalrogVoiceSelect

   SoundAmbient      = BalrogAmbientLoop
   SoundImpact         = ImpactHorse

    #include "..\includes\StandardUnitEvaEvents.inc"
   
    ; Warn the player when the enemy gets a unit. Override the normal sighting event from StandardUnitEvaEvents.inc
    EvaEnemyObjectSightedEvent   = DiscoveredEnemyBalrog

   ClientUpdate = EvaAnnounceClientCreate ModuleTag_CreateAnnounce
      AnnouncementEventEnemy = DiscoveredEnemyBalrog
      AnnouncementEventAlly = None
      AnnouncementEventOwner = None
      
      OnlyIfVisible = Yes                  ; Don't announce if hidden in the shroud
      CountAsFirstSightedAnnoucement = Yes   ; Don't re-annouce if going into shroud & back
      UseObjectsPosition = No               ; Play from central Fortress, not at unit's position
      CreateFakeRadarEvent = Yes            ; Allow player to jump to unit after hearing annoucement
   End

   ClientBehavior = AnimationSoundClientBehavior ModuleTag_AnimAudioBehavior
      MaxUpdateRangeCap = 800
      AnimationSound = Sound: BalrogFootstep         Animation: MUBalrog_SKL.MUBalrog_WLKA Frames: 42 17
      AnimationSound = Sound: BalrogFootstep         Animation: MUBalrog_SKL.MUBalrog_TRNA Frames: 21 52
      AnimationSound = Sound: BalrogFootstep         Animation: MUBalrog_SKL.MUBalrog_TRNB Frames: 21 52
 
      AnimationSound = Sound: BalrogWhipPart1         Animation: MUBalrog_SKL.MUBalrog_WIPA Frames: 1
      AnimationSound = Sound: BalrogWhipPart2         Animation: MUBalrog_SKL.MUBalrog_WIPA Frames: 21
      AnimationSound = Sound: ImpactWhipCrack         Animation: MUBalrog_SKL.MUBalrog_WIPA Frames: 34

      AnimationSound = Sound: BalrogSwordSwipe         Animation: MUBalrog_SKL.MUBalrog_ATKB Frames: 32   
      AnimationSound = Sound: BalrogSwordSwipe         Animation: MUBalrog_SKL.MUBalrog_ATKA Frames: 32
      AnimationSound = Sound: ImpactBalrogAttackGeneric   Animation: MUBalrog_SKL.MUBalrog_ATKA Frames:41
      AnimationSound = Sound: ImpactBalrogAttackGeneric   Animation: MUBalrog_SKL.MUBalrog_ATKB Frames:40
      AnimationSound = Sound: ImpactBalrogAttackGeneric   Animation: MUBalrog_SKL.MUBalrog_ATKC Frames:27 53 88

      AnimationSound = Sound: BalrogJump_Part1         Animation: MUBalrog_SKL.MUBalrog_JMP1 Frames: 0
      AnimationSound = Sound: BalrogJump_Part2         Animation: MUBalrog_SKL.MUBalrog_JMP1 Frames: 41
      AnimationSound = Sound: BalrogWingFlaps         Animation: MUBalrog_SKL.MUBalrog_FLYA Frames: 9
      AnimationSound = Sound: BalrogLand            Animation: MUBalrog_SKL.MUBalrog_LND1 Frames: 0
      AnimationSound = Sound: BalrogWingFlaps         Animation: MUBalrog_SKL.MUBalrog_JMP2 Frames: 0
      AnimationSound = Sound: BalrogLandSwordHit      Animation: MUBalrog_SKL.MUBalrog_LND2 Frames: 6
      AnimationSound = Sound: BalrogIdleB_Part3         Animation: MUBalrog_SKL.MUBalrog_LND2 Frames: 27

      AnimationSound = Sound: BalrogBreathFireExhale      Animation: MUBalrog_SKL.MUBalrog_FIRA Frames: 31
      AnimationSound = Sound: BalrogBreathFireInhale      Animation: MUBalrog_SKL.MUBalrog_FIRA Frames: 0

      AnimationSound = Sound: BalrogRoar            Animation: MUBalrog_SKL.MUBalrog_RORB Frames: 25
      AnimationSound = Sound: BalrogVanquishedRoar      Animation: MUBalrog_SKL.MUBalrog_RORC Frames: 21
      AnimationSound = Sound: BalrogVanquished         Animation: MUBalrog_SKL.MUBalrog_RORC Frames: 50

      AnimationSound = Sound: BalrogInjuredB_Part1      Animation: MUBalrog_SKL.MUBalrog_HITB Frames: 0
      AnimationSound = Sound: BalrogInjuredB_Part2      Animation: MUBalrog_SKL.MUBalrog_HITB Frames: 70

      AnimationSound = Sound: BalrogChuckle         Animation: MUBalrog_SKL.MUBalrog_IDLA Frames: 1
      AnimationSound = Sound: BalrogContentVox         Animation: MUBalrog_SKL.MUBalrog_IDLA Frames: 0
      AnimationSound = Sound: BalrogIdleB_Part1         Animation: MUBalrog_SKL.MUBalrog_IDLB Frames: 0
      AnimationSound = Sound: BalrogIdleB_Part2         Animation: MUBalrog_SKL.MUBalrog_IDLB Frames: 37
      AnimationSound = Sound: BalrogIdleB_Part3         Animation: MUBalrog_SKL.MUBalrog_IDLB Frames: 95
      AnimationSound = Sound: BalrogIdleC_Part2         Animation: MUBalrog_SKL.MUBalrog_IDLC Frames: 29
      AnimationSound = Sound: BalrogIdleC_Part3         Animation: MUBalrog_SKL.MUBalrog_IDLC Frames: 60
      AnimationSound = Sound: BalrogFootstep         Animation: MUBalrog_SKL.MUBalrog_IDLC Frames: 61

      AnimationSound = Sound: BalrogDieVox         Animation: MUBalrog_SKL.MUBalrog_DIEA Frames: 13
      AnimationSound = Sound: BalrogBodyfall1         Animation: MUBalrog_SKL.MUBalrog_DIEA Frames: 56
      AnimationSound = Sound: BalrogBodyfall2         Animation: MUBalrog_SKL.MUBalrog_DIEA Frames: 57
      AnimationSound = Sound: OliphantFall         Animation: MUBalrog_SKL.MUBalrog_DIEA Frames: 21
      AnimationSound = Sound: BalrogLandSwordHit      Animation: MUBalrog_SKL.MUBalrog_DIEA Frames: 54

      AnimationSound = Sound: BalrogIgnite         Animation: MUBalrog_SKL.MUBalrog_IGNTA Frames: 51
   End


  ; *** ENGINEERING Parameters *** 

   RadarPriority = UNIT
  KindOf          = HERO PRELOAD SELECTABLE CAN_CAST_REFLECTIONS MONSTER SCORE CAN_ATTACK NO_FREEWILL_ENTER PATH_THROUGH_INFANTRY SCARY BIG_MONSTER CAN_ATTACK_WALLS SUMMONED
  ThreatBreakdown MordorBalrog_DetailedThreat
   AIKindOf = SIEGEWEAPON
  End
   
  Body = RespawnBody ModuleTag_RespawnBody
  CheerRadius = EMOTION_CHEER_RADIUS
  MaxHealth = BALROG_HEALTH ;BALANCE Eomer Health
  PermanentlyKilledByFilter = NONE ;Who kills me permanently?
  DodgePercent = HERO_DODGE_PERCENT

  End

  Behavior = RespawnUpdate ModuleTag_RespawnUpdate
  ; DeathAnim = STUNNED ;Model condition to play when killed-to-respawn
  DeathAnim = DYING ;Model condition to play when killed-to-respawn
  DeathFX = FX_DrogothDieToRespawn ;FXList to play when killed-to-respawn
  DeathAnimationTime = 4966 ;1133 ;How long DeathAnim will take.
  InitialSpawnFX = FX_DrogothInitialSpawn
  RespawnAnim = LEVELED ;Animation to play when respawning.
  RespawnFX = FX_DrogothRespawn ;FXList to play when respawning.
  RespawnAnimationTime = 2000 ;Time it takes for respawn to play.
  AutoRespawnAtObjectFilter = NONE +CASTLE_KEEP ;Respawn at this location -- and at it's exit production point if possible.

  ButtonImage = HIBalrog_res

  ;RespawnEntries determine the ruleset for how a character can be revived. Some units may automatically respawn, others
  ;may require a specific revive action performed on him. You can specify different values for each level... or use Level:Any

  RespawnRules = AutoSpawn:No Cost:550 Time:60000 Health:100% ;DEFAULT VALUES
  RespawnEntry = Level:2 Cost:550 Time:60000 ; ;50% cost, 1x buildtime ;For other levels, only override what is different.
  RespawnEntry = Level:3 Cost:550 Time:60000
  RespawnEntry = Level:4 Cost:550 Time:60000
  RespawnEntry = Level:5 Cost:715 Time:120000 ; ;65% cost, 2x buildtime
  RespawnEntry = Level:6 Cost:715 Time:120000
  RespawnEntry = Level:7 Cost:715 Time:120000
  RespawnEntry = Level:8 Cost:880 Time:180000 ; ;80% cost, 3x buildtime
  RespawnEntry = Level:9 Cost:880 Time:180000
  RespawnEntry = Level:10 Cost:880 Time:180000

  End



  Behavior = StancesBehavior ModuleTag_StancesBehavior
    StanceTemplate = FighterHorde
  End

  Behavior = AIUpdateInterface ModuleTag_03
    AutoAcquireEnemiesWhenIdle   = Yes ATTACK_BUILDINGS
    MoodAttackCheckRate         = 500
    AILuaEventsList            = BalrogFunctions
  End

  LocomotorSet
    Locomotor    = BalrogLocomotor
    Condition    = SET_NORMAL
    Speed        = 50
  End

   Behavior = BezierProjectileBehavior ModuleTag_Projectile ; Module starts asleep, and wakes up when thrown.
      ; To tweak a Bezier path
      FirstHeight = 104  ; Height of Bezier control points above highest intervening terrain
      SecondHeight = 52
      FirstPercentIndent = 20% ; Percentage of shot distance control points are placed
      SecondPercentIndent = 70%
      TumbleRandomly = Yes

      CrushStyle = Yes ; I don't detonate, I just hit

      BounceCount = 0  ; When I hit the ground, I'll arc again

      FinalStuckTime = 1766 ; Can't move for this long afterwards

      GroundHitFX      = FX_BalrogJumpHitGround
      GroundHitWeapon  = RohanGimliLeapWarhead
      
      PreLandingStateTime = 300; Look ahead to the end of the arc, and get the ABOUT_TO_HIT flag this far in advance
   End

   Behavior = PhysicsBehavior ModuleTag_04
       GravityMult = 1.0
   End
 
   Behavior = FireWeaponUpdate FireWeaponUpdateModuleTag
      FireWeaponNugget
         WeaponName = MordorBalrogHeroEffect
         FireDelay = 0
         OneShot = No
      End
      HeroModeTrigger = Yes ; this only happens when hero mode is active
   End
 
     Behavior = SlowDeathBehavior ModuleTag_05
      DeathTypes = ALL -FADED
      DestructionDelay = 2500
        FX = FINAL FX_BalrogFinalDeath
        DeathFlags = DEATH_1
   End
 
     Behavior = SlowDeathBehavior ModuleTag_FadeDeath
      DeathTypes = NONE +FADED
        FX = INITIAL FX_BalrogUnsummonInitial
      DestructionDelay = 3800
        FX = FINAL FX_BalrogUnsummonFinal
        DeathFlags = DEATH_2
   End
 
     Behavior = SpecialPowerModule ModuleTag_IgniteStarter                     
      SpecialPowerTemplate      = SpecialAbilityHeroMode
      UpdateModuleStartsAttack  = Yes
      ;InitiateSound          =
   End
   Behavior = HeroModeSpecialAbilityUpdate ModuleTag_IgniteUpdate 
      SpecialPowerTemplate    = SpecialAbilityHeroMode
      UnpackingVariation      = 1

      UnpackTime              = 1800
      PackTime                = 1600

      AwardXPForTriggering    = 0
      
      HeroAttributeModifier = BalrogIgniteState
      HeroEffectDuration = 30000
   End

   Behavior = SpecialPowerModule ModuleTag_ScreamStarter                     
      SpecialPowerTemplate      = SpecialAbilityBalrogScream
      UpdateModuleStartsAttack  = Yes
      ;InitiateSound          =
   End
   Behavior = ModelConditionSpecialAbilityUpdate ModuleTag_ScreamUpdate  ; So the difference in SpecialPower is that it takes timing from this UpdateG, instead of simply firing.
      SpecialPowerTemplate    = SpecialAbilityBalrogScream

      UnpackTime              = 1500 ; Drawing the horn
      PreparationTime        = 1  ; nothing
      PackTime                = 1800 ; Putting horn away

      AwardXPForTriggering    = 0
      
      WhichSpecialPower = 1
   End

   Behavior = SpecialPowerModule ModuleTag_BreathStarter                     
      SpecialPowerTemplate      = SpecialAbilityBalrogBreath
      UpdateModuleStartsAttack   = Yes
      InitiateSound         = BalrogSpecialPowerRoar   ;this plays on right-click target, not when Balrog leaps
   End

   Behavior = WeaponFireSpecialAbilityUpdate ModuleTag_BreathUpdate 
      SpecialPowerTemplate    = SpecialAbilityBalrogBreath

      UnpackTime              = 1300 ; Drawing the horn
      PackTime                = 3700 ; Putting horn away

      AwardXPForTriggering    = 0
      
      StartAbilityRange = 40.0
      
      SpecialWeapon = MordorBalrogBreath
      WhichSpecialWeapon = 1
   End

   Behavior = SpecialPowerModule ModuleTag_LeapStarter                     
      SpecialPowerTemplate      = SpecialAbilityBalrogWings
      UpdateModuleStartsAttack   = Yes
      InitiateSound         = BalrogSpecialPowerRoar   ;this plays on right-click target, not when Balrog leaps
   End

   Behavior = WeaponFireSpecialAbilityUpdate ModuleTag_LeapUpdate 
      SpecialPowerTemplate    = SpecialAbilityBalrogWings

      UnpackTime              = 1733 ; Drawing the horn
      PackTime                = 1160 ; Putting horn away

      AwardXPForTriggering    = 0
      
      StartAbilityRange   = 800.0
      ApproachRequiresLOS = No
      SpecialWeapon      = MordorBalrogLeap
      BusyForDuration      = 3000 ; don't accept any AI for this long... ai commands will be queued
      WhichSpecialWeapon   = 2
   End

   
   Behavior = CreateObjectDie ModuleTag_CrushUnitsOnDeath
      CreationList = OCL_BalrogDie
    End


   ;///////////////////
   ; AISpecialPowers
   ;///////////////////
   
   Behavior = AISpecialPowerUpdate IgniteAI
      CommandButtonName = Command_SpecialAbilityShadeChomp
      SpecialPowerAIType = AI_SPECIAL_POWER_BASIC_SELF_BUFF
   End

   Behavior = AISpecialPowerUpdate ScreamAI
      CommandButtonName = Command_SpecialAbilityCallPack
      SpecialPowerRange = 100
      SpecialPowerAIType = AI_SPECIAL_POWER_BASIC_SELF_DEBUFF
   End

   Behavior = AISpecialPowerUpdate BreathAI
      CommandButtonName = Command_SpecialAbilityDarkLordsLament
      SpecialPowerAIType = AI_SPECIAL_POWER_RANGED_AOE_ATTACK
   End

   Geometry         = CYLINDER
   GeometryMajorRadius = 30.0
   GeometryHeight      = 70.0
   GeometryIsSmall      = No
   Shadow            = SHADOW_VOLUME ;SHADOW_DECAL   ; SHADOW_VOLUME has trouble with his wings.  Possibly because of the transparent bits
   ShadowSizeX         = 100
   ShadowSizeY         = 100
   ShadowTexture      = ShadowI
End

Dans gamedata , en dessous de balrog of Morgoth : (en rouge)

Citation :
;----------------------Balrog of Morgoth!!!-------------

#define BALROG_HEALTH 8000

#define BALROG_SWORD_SWIPE_DAMAGE_NORMAL 1000 ; Normal attack with knockback
#define BALROG_SWORD_SWIPE_DAMAGE_FLAME 800 ; 1000
#define BALROG_SWORD_CHOP_DAMAGE_STRUCTURAL 600 ; 1000 ;Chop against buildings and some monsters
#define BALROG_SWORD_CHOP_DAMAGE_FLAME 1000 ; 1000
#define BALROG_DAMAGE_DISPLAY 2000 ; In the hero tooltip, how much damage I say I do
#define BALROG_WHIP_DAMAGE 2000
#define BALROG_WHIP_DAMAGE_FLAME 1000
#define BALROG_BREATH_DAMAGE 3000
#define BALROG_BREATH_RADIUS 210
#define BALROG_JUMP_DAMAGE 400
#define BALROG_SUMMONING_DAMAGE 1000
#define BALROG_IGNITE_AURA_DAMAGE 100
#define BALROG_LIFETIME 90000

#define SHROUD_CLEAR_BALROG 800
#define VISION_BALROG 400

#define WATCHER_LIFETIME 30000
#define WATCHER_CALDERA_LIFETIME 32000 ; This number should be bigger than LurkerLifetime by the "DestructionDelay" in "ModuleTag_HatchProcess" in "LurkerEgg"
#define WATCHER_ARM_HEALTH 2000

;-----------------------MordorBalrog2-----------
#define BALROG2_BUILDCOST 6500
#define BALROG2_BUILDTIME 50
#define BALROG2_HEALTH 8000

Dans playertemplate tu l'ajoute après CreateAHero: exemple :

Citation :
CreateAHero MordorGothmog MordorMouthOfSauron KhamulFellBeast MorgomirFellBeast MordorWitchKingOnFellBeast MordorBalrog02 ;// NeutralGollum EvilMenBlackRider EvilMenBlackRider MordorFellBeast MordorFellBeast
BuildableRingHeroesMP = MordorSauron_RingHero

Dans experiencelevels :

Code:
ExperienceLevel   MordorBalrog02
   TargetNames                  =   MordorBalrog02
   RequiredExperience            =   1   
   ExperienceAward               =   500
   Rank                     =   10
   ExperienceAwardOwnGuysDie      =    0
   SelectionDecal
      Texture               = HC_decal_Hero_Evil   
      Style               = SHADOW_ALPHA_DECAL
      OpacityMin            = 50%   
      OpacityMax            = 100%
      MinRadius            = 100
      MaxRadius            = 100
      MaxSelectedUnits      = 1
   End      
End
(mais il me semble que ce dernier code n'est pas indispensable il est calé sur le Balrog originale donc niveau 10 déjà il me semble).

Et la tout marche normalement.] Et tu pourra me dire merci :ok! ok! ok! ok!
La prochaine fois regarde bien les tutoriaux il y en a un excellent : https://imladrisproduction.forumotion.com/t360-ajouter-un-balrog-en-heros study Exclamation Smile
Revenir en haut Aller en bas
Saroumane
Moddeur confirmé
Moddeur confirmé
Saroumane


Nombre de messages : 202
Location : Où j'habite ?
Add-On : Oui
Date d'inscription : 14/07/2012

Balrog Empty
MessageSujet: Re: Balrog   Balrog Icon_minitimeMar 17 Juil - 14:41

J'ai fait exactement comme le tuto et comme toi et rien :$
C'est normale que quand j'ouvre l'ini avec finalbig y'a rien ? alors que quand j'ouvre l'ini ave le fichier data là il y est,je pense que c'est pour sa que sa marche pas :$
Faut utiliser finalbig à un moment ?
Peut être que après avec fait sa faut éteindre et rallumer l'ordinateur ?
Revenir en haut Aller en bas
Korl
Moddeur expert
Moddeur expert
Korl


Nombre de messages : 564
Add-On : Oui
Date d'inscription : 26/06/2011

Balrog Empty
MessageSujet: Re: Balrog   Balrog Icon_minitimeMar 17 Juil - 14:49

Bah aussi t'a extrait l'ini.big et remplacer le fichier data?, enlevé le fichier ini.big dans tes documents? (sinon cela prend pas les modifications de ton ini dossier).
Je pense que t'a du oublié d'enlever l'ini.big du jeu du coup toute tes modifs sont pas pris en compte tant que le fichier big est dans le répertoire du jeu .
Revenir en haut Aller en bas
ModdingMaster
Maître de Modding, Créateur de Mods
ModdingMaster


Nombre de messages : 2024
Age : 29
Location : Rennes
Add-On : Oui
Date d'inscription : 26/07/2010

Balrog Empty
MessageSujet: Re: Balrog   Balrog Icon_minitimeMar 17 Juil - 14:52

Salut,

Si tu as extrait le fichier INI.big avec FinalBIG pour en créer un dossier Data, il faut placer le dossier Ini qui se trouve dans Data par exemple dans,..., le dossier Data de la racine du jeu (là où il y a le dossier Cursors et Movies), tu ajoutes le dossier Ini là!
Par contre il faut ensuite retirer le fichier INI.big, pour ne pas que le jeu fasse appel à deux INI quand-même (par si tu lances le jeu, il choisira en premier celui qui est sous son extension BIG ben oui^^). Donc au lieu de le supprimer tu le places par exemple dans tes Documents.
Et ensuite tu fais tes modifications qu'à partir du dossier Data/Ini.
Revenir en haut Aller en bas
Saroumane
Moddeur confirmé
Moddeur confirmé
Saroumane


Nombre de messages : 202
Location : Où j'habite ?
Add-On : Oui
Date d'inscription : 14/07/2012

Balrog Empty
MessageSujet: Re: Balrog   Balrog Icon_minitimeMar 17 Juil - 14:53

Et pas obliger d'avoir l'addon pour mettre le balrog en héros ?


---------------------------------------------------------------------------------------------------------------------------------------------------------

Ha maintenant il me dit gamecrash dans MordorBalrog02.ini,ligne 327 à "BALROG_THREAT_LEVEL"
Revenir en haut Aller en bas
Korl
Moddeur expert
Moddeur expert
Korl


Nombre de messages : 564
Add-On : Oui
Date d'inscription : 26/06/2011

Balrog Empty
MessageSujet: Re: Balrog   Balrog Icon_minitimeMar 17 Juil - 15:28

Non ce code est compatible aux deux
Revenir en haut Aller en bas
Saroumane
Moddeur confirmé
Moddeur confirmé
Saroumane


Nombre de messages : 202
Location : Où j'habite ?
Add-On : Oui
Date d'inscription : 14/07/2012

Balrog Empty
MessageSujet: Re: Balrog   Balrog Icon_minitimeMar 17 Juil - 15:29

C'est bon j'ai réussi à le mettre en héros =)
Merci pour vos réponses :p
Revenir en haut Aller en bas
Korl
Moddeur expert
Moddeur expert
Korl


Nombre de messages : 564
Add-On : Oui
Date d'inscription : 26/06/2011

Balrog Empty
MessageSujet: Re: Balrog   Balrog Icon_minitimeMar 17 Juil - 16:15

cheers cheers cheers
Revenir en haut Aller en bas
Contenu sponsorisé





Balrog Empty
MessageSujet: Re: Balrog   Balrog Icon_minitime

Revenir en haut Aller en bas
 
Balrog
Revenir en haut 
Page 1 sur 1
 Sujets similaires
-
» Modifier la couleur du Balrog pour faire un Balrog noir
» Balrog HELP
» Fouet du Balrog
» Le Balrog en Héro
» Balrog Violet

Permission de ce forum:Vous ne pouvez pas répondre aux sujets dans ce forum
Imladris production :: Ini codes et .str :: Discussion-
Sauter vers: