Здравствуйте! Авторизуйтесь или зарегистрируйтесь, чтобы использовать полный функционал сайта
Быстрая авторизация через соцсети:

Главная » Статьи » Моддинг » Коддинг
Добавление отряда варгов Изенгарду
Добавление отряда варгов (без наездников) Изенгарду.
Ini.big

-CommandButtin.ini
-CommandSet.ini
-evilfactionhordes.ini

открываем CommandButton

ищите CommandButton Command_ConstructIsengardWargRiderHorde

сверху добавьте это:

CommandButton Command_ConstructNeutralWargHorde
Command = UNIT_BUILD
Object = NeutralWargHorde
Options = CANCELABLE
TextLabel = CONTROLBAR:ConstructIsengardWargRider
ButtonImage = UPNeutral_Warg
ButtonBorderType = BUILD ; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:ToolTipBuildIsengardWargRider
Radial = Yes
InPalantir = Yes
ShowProductionCount = Yes
End

теперь commandset.ini

ищите wargpitcommandset

заменяете пишите что-бы получилось так

CommandSet IsengardWargPitCommandSet
1 = Command_ConstructIsengardWargRiderHorde
2 = Command_ConstructNeutralWargHorde
3 = Command_Sell
End

и ищите WargRiderHordeCommandSet

и сверху добавьте это:

CommandSet WargHordeCommandSet
1 = Command_Guard
2 = Command_SpecialAbilityWargHowl
13 = Command_AttackMove
14 = Command_Stop
15 = Command_Guard
End

последние evilfactionhordes

ищите wargriderhorde

сверху пишите это

;////////////////////////////////////////////////////////////////////////////////
Object NeutralWargHorde

; This is required for garrisoned objects - please put in all objects.
ButtonImage = UPNeutral_Warg
SelectPortrait = UPNeutral_Warg

Draw = W3DScriptedModelDraw ModuleTag_W3DModelDraw
DependencySharedModelFlags = EMOTION_ALERT EMOTION_MORALE_HIGH EMOTION_MORALE_LOW EMOTION_AFRAID EMOTION_COWER SELECTED EMOTION_TERROR EMOTION_LOOK_TO_SKY
DefaultModelConditionState
Model = None ;InvisHrdeTmp5x1
End
ModelConditionState = HORDE_EMPTY
Model = None
End
ModelConditionState = WORLD_BUILDER
Model = HordeMarkIUWar
End
End

Side = Isengard
EditorSorting = UNIT
EmotionRange = 240
DisplayName = OBJECT:HordeNeutralWarghordes

WeaponSet
Conditions = None
Weapon = PRIMARY NormalMeleeHordeRangefinder ; Spear
Weapon = SECONDARY NormalMissileHordeRangefinder ; Bow
End

; *** AUDIO Parameters ***;
; Note: Don't put voice parameters here -- they will be ignored. Voice play requests
; are always passed through to members

BuildCost = 490
BuildTime = 15
VisionRange = VISION_STANDARD_HORSE
CommandPoints = 20

CommandSet = WargHordeCommandSet

FormationWidth = 2 ; Width it occupies in formations. Current choices are 1 or 2.
FormationDepth = 1 ; Depth it occupies in formations. Current choices are 1 or 2.

CrushableLevel = 2 ;What am I?: 0 = for infantry, 1 = for trees, 2 = general vehicles
CrusherLevel = 1 ;What can I crush?: 0 = small animals, 1 = infantry, 2 = trees, 3 = vehicles
MinCrushVelocityPercent = 50 ; Has to be moving at at least 50% of full speed.
CrushDecelerationPercent = 50 ; Lose 20 percent of max velocity when crushing.
CrushKnockback = 40 ; how hard we knock back crushed units.
CrushZFactor = 1.0 ; How much we knock upwards.

TransportSlotCount = 1
KindOf = SELECTABLE CAN_ATTACK ATTACK_NEEDS_LINE_OF_SIGHT CAVALRY HORDE MELEE_HORDE ARMY_SUMMARY ;UNATTACKABLE

Body = ImmortalBody ModuleTag_ImmortalBody
MaxHealth = 1
End

Behavior = HordeAIUpdate ModuleTag_HordeAIUpdate
AutoAcquireEnemiesWhenIdle = Yes ATTACK_BUILDINGS
MoodAttackCheckRate = 500
MaxCowerTime = 5000
MinCowerTime = 3000
AttackPriority = AttackPriority_Cavalry
End

Behavior = EmotionTrackerUpdate Module_EmotionTracker
TauntAndPointDistance = INFANTRY_TAUNT_POINT_RADIUS ; max distance to taunted/pointed objet
TauntAndPointUpdateDelay = 1000 ; how often scan (milliseconds)
TauntAndPointExcluded = NONE
AfraidOf = NONE +RohanOathbreakerHordeSmall +GondorGwaihir +RohanTreeBerd +RohanEntFir +RohanEntAsh +RohanEntBirch +MordorFellBeast +MordorWitchKingOnFellBeast +MordorBalrog +MordorCaveTroll +MordorMountainTroll +MordorDrummerTroll +MordorMumakil ;Must be SCARY kindof as well.
AlwaysAfraidOf = NONE +MordorBalrog +RohanOathbreaker; +MordorWitchKing +MordorWitchKingOnFellBeast
PointAt = NONE +GondorGwaihir
HeroScanDistance = 150
FearScanDistance = CAVALRY_FEAR_SCAN_RADIUS ;250

AddEmotion = Terror_Base
AddEmotion = Doom_Base
AddEmotion = UncontrollableFear_Base_Evil
AddEmotion = FearIdle_Base
AddEmotion = FearBusy_Base
AddEmotion = Point_Base
AddEmotion = Taunt_Base
AddEmotion = CheerIdle_Base
AddEmotion = CheerBusy_Base
AddEmotion = HeroCheerIdle_Base
AddEmotion = HeroCheerBusy_Base
AddEmotion = Alert_Base
End

Behavior = HorseHordeContain ModuleTag_HordeContain
ObjectStatusOfContained =
InitialPayload = NeutralWarg 5
Slots = 5
PassengerFilter = NONE +CAVALRY +NeutralWarg
ShowPips = No
RandomOffset = X:15 Y:4

RankInfo = RankNumber:1 UnitType:NeutralWarg Position:X:0 Y:0 Position:X:30 Y:20 Position:X:30 Y:-20 Position:X:-30 Y:-20 Position:X:-30 Y:20

ThisFormationIsTheMainFormation = Yes ;Used to determine which armorset to use (and anything else we want!)

RanksToReleaseWhenAttacking = 1
MeleeAttackLeashDistance = 25; How far the hordes can move from the center of the horde when melee attacking.
End

Behavior = PhysicsBehavior ModuleTag_PhysicsBehavior
GravityMult = 1.0
End

Behavior = SpecialPowerModule ModuleTag_HowlUpdate
SpecialPowerTemplate = SpecialAbilityWargHowl
UpdateModuleStartsAttack = No
AttributeModifier = IsengardWargHowl
; AttributeModifierRange = 200
AttributeModifierAffectsSelf = Yes
; AttributeModifierAffects = ANY +CAVALRY
AttributeModifierFX = FX_WargHowl
End

LocomotorSet
Locomotor = WargCavalryHordeLocomotor
Condition = SET_NORMAL
Speed = NORMAL_CAVALRY_HORDE_SPEED
End

Behavior = ProductionUpdate ProductionUpdateModuleTag
GiveNoXP = Yes
End

Geometry = BOX
GeometryMajorRadius = 12.0
GeometryMinorRadius = 24.0
GeometryHeight = 20.0
GeometryIsSmall = No
End

Всё, терь у Изенгарда в яме варгов можно сделать варгов (без наездника), туторы по замене портретов, и по редакции текста



Оценить:
Просмотров: 1500 | Комментарии: 2 | Рейтинг: 4.9/16
Категория: Коддинг | Добавил: SFS (21.09.2014)
Теги: Изенгард, Варги, Isengard, нейтралы, орда врагов
ПОХОЖИЕ МАТЕРИАЛЫ

Всего комментариев: 2
avatar
2 SFS • 15:14, 23.09.2014
не знаю у меня привычка писать орда.
avatar
1 arveleg • 14:32, 23.09.2014
почему ты все ордой зовешь? Отряд же правильно.
avatar