I've been having a little bit of trouble with the Hacker's "hack internet" module tag. I attempted to add it to black lotus with a few small modifications to the amount of money recieved throughout the veteran status levels and nothing else. But after adding the tag and making no other changes to the FactionUnit.ini file, Black Lotus now no longer has the ability to move. She just stands there. I looked into the Locomotor.ini file and looked over the ChinaInfantryBlackLotus and Hacker again and again, but have yet to find the problem. Could somebody possibly tell me what I did wrong?
I'm posting the code here, just in case you need to look at it.
Code:
; ***DESIGN parameters ***
DisplayName = OBJECT:BlackLotus
Side = America China
EditorSorting = INFANTRY
TransportSlotCount = 1 ;how many "slots" we take in a transport (0 == not transportable)
WeaponSet
Conditions = None
End
ArmorSet
Conditions = None
Armor = HumanArmor
DamageFX = InfantryDamageFX
End
VisionRange = 300
ShroudClearingRange = 400
Prerequisites
Object = AmericaBarracks ChinaBarracks
;Object = AmericaStrategyCenter ChinaPropagandaCenter
End
BuildCost = 2000
BuildTime = 20.0 ;in seconds
MaxSimultaneousOfType = 1
CommandSet = ChinaInfantryBlackLotusCommandSet
ExperienceValue = 50 100 150 400 ;Experience point value at each level
ExperienceRequired = 0 150 450 900 ;Experience points needed to gain each level
IsTrainable = Yes ;Can gain experience
CrushableLevel = 2 ;What am I?: 0 = for infantry, 1 = for trees, 2 = general vehicles
; *** AUDIO Parameters ***
VoiceSelect = BlackLotusVoiceSelect
VoiceMove = BlackLotusVoiceMove
VoiceAttack = BlackLotusVoiceAttack
VoiceGuard = BlackLotusVoiceMove
VoiceFear = BlackLotusVoiceFear
VoiceTaskComplete = BlackLotusVoiceCaptureComplete
SoundDie = BlackLotusVoiceDie
SoundDieFire = DieByFireFemale
SoundDieToxin = DieByToxinFemale
SoundStealthOn = StealthOn
SoundStealthOff = StealthOff
UnitSpecificSounds
VoiceCreate = BlackLotusVoiceCreate
VoiceGarrison = BlackLotusVoiceMove
VoiceEnter = BlackLotusVoiceMove
VoiceEnterHostile = BlackLotusVoiceMove
VoiceStealCashComplete = BlackLotusVoiceCashComplete
VoiceDisableVehicleComplete = BlackLotusVoiceDisableComplete
VoiceCaptureBuildingComplete = BlackLotusVoiceCaptureComplete
VoiceGetHealed = BlackLotusVoiceMove
End
; *** ENGINEERING Parameters ***
RadarPriority = UNIT
KindOf = PRELOAD SELECTABLE CAN_ATTACK CAN_CAST_REFLECTIONS INFANTRY SCORE HERO
Body = ActiveBody ModuleTag_02
MaxHealth = 150.0
InitialHealth = 150.0
End
Behavior = CommandButtonHuntUpdate ModuleTag_03 ; allows use of command button hunt script with this unit.
End
Behavior = AIUpdateInterface ModuleTag_04
AutoAcquireEnemiesWhenIdle = No
End
Locomotor = SET_NORMAL BlackLotusLocomotor
Locomotor = SET_FREEFALL FreeFallLocomotor
Behavior = PhysicsBehavior ModuleTag_05
Mass = 5.0
End
Behavior = StealthUpdate ModuleTag_07
StealthDelay = 2500 ; msec
StealthForbiddenConditions = USING_ABILITY
HintDetectableConditions = USING_ABILITY
InnateStealth = Yes
OrderIdleEnemiesToAttackMeUponReveal = Yes
End
Behavior = StealthDetectorUpdate ModuleTag_44
DetectionRate = 500 ; how often to rescan for stealthed things in my sight (msec)
;DetectionRange = ??? ;Dustin, enable this for independant balancing!
CanDetectWhileGarrisoned = No ;Garrisoned means being in a structure that you units can shoot out of.
CanDetectWhileContained = No ;Contained means being in a transport or tunnel network.
End
Behavior = SpecialAbility ModuleTag_08
SpecialPowerTemplate = SpecialAbilityBlackLotusCaptureBuilding
UpdateModuleStartsAttack = Yes
InitiateSound = BlackLotusVoiceHackBuilding
End
Behavior = SpecialAbilityUpdate ModuleTag_09
SpecialPowerTemplate = SpecialAbilityBlackLotusCaptureBuilding
StartAbilityRange = 150.0
UnpackTime = 6730 ;animation time is 6730 (changing this will scale anim speed)
PackTime = 2800 ;animation time is 5800 (changing this will scale anim speed)
PreparationTime = 6000 ;time to complete hack once prepared (unpacked)
SpecialObject = BinaryDataStream
DoCaptureFX = Yes
PackSound = BlackLotusPack
UnpackSound = BlackLotusUnpack
TriggerSound = BlackLotusTrigger
PrepSoundLoop = BlackLotusPrepLoop
AwardXPForTriggering = 20
;SkillPointsForTriggering = ??? -- Dustin, fill me out if you want different balance values.
End
Behavior = SpecialAbility ModuleTag_10
SpecialPowerTemplate = SpecialAbilityBlackLotusDisableVehicleHack
UpdateModuleStartsAttack = Yes
InitiateSound = BlackLotusVoiceHackVehicle
End
Behavior = SpecialAbilityUpdate ModuleTag_11
SpecialPowerTemplate = SpecialAbilityBlackLotusDisableVehicleHack
StartAbilityRange = 150.0
UnpackTime = 2000 ;6730 ;animation time is 6730 (changing this will scale anim speed)
PackTime = 1000 ;2800 ;animation time is 5800 (changing this will scale anim speed)
PreparationTime = 2000 ;time to complete hack once prepared (unpacked)
EffectDuration = 15000 ;duration vehicle is disabled (30 seconds)
DisableFXParticleSystem = DisabledEffectBinaryShower0
SpecialObject = BinaryDataStream
PackSound = BlackLotusPack
UnpackSound = BlackLotusUnpack
TriggerSound = BlackLotusTrigger
PrepSoundLoop = BlackLotusPrepLoop
AwardXPForTriggering = 0
;SkillPointsForTriggering = ??? -- Dustin, fill me out if you want different balance values.
End
Behavior = SpecialAbility ModuleTag_12
SpecialPowerTemplate = SpecialAbilityBlackLotusStealCashHack
UpdateModuleStartsAttack = Yes
InitiateSound = BlackLotusVoiceHackCash
End
Behavior = SpecialAbilityUpdate ModuleTag_13
SpecialPowerTemplate = SpecialAbilityBlackLotusStealCashHack
StartAbilityRange = 150.0
UnpackTime = 6730 ;animation time is 6730 (changing this will scale anim speed)
PackTime = 5800 ;animation time is 5800 (changing this will scale anim speed)
PreparationTime = 6000 ;time to complete hack once prepared (unpacked)
EffectValue = 1000 ;amount of cash stolen
SpecialObject = BinaryDataStream
PackSound = BlackLotusPack
UnpackSound = BlackLotusUnpack
TriggerSound = BlackLotusTrigger
PrepSoundLoop = BlackLotusPrepLoop
AwardXPForTriggering = 20
;SkillPointsForTriggering = ??? -- Dustin, fill me out if you want different balance values.
End
;Hero units can't be squished!
;Behavior = SquishCollide ModuleTag_14
; ;nothing
;End
; --- begin Death modules ---
Behavior = SlowDeathBehavior ModuleTag_Death01
DeathTypes = ALL -CRUSHED -SPLATTED -EXPLODED -BURNED -POISONED -POISONED_BETA
SinkDelay = 3000
SinkRate = 0.5 ; in Dist/Sec
DestructionDelay = 8000
FX = INITIAL FX_GIDie
End
Behavior = SlowDeathBehavior ModuleTag_Death02
DeathTypes = NONE +CRUSHED +SPLATTED
SinkDelay = 3000
SinkRate = 0.5 ; in Dist/Sec
DestructionDelay = 8000
FX = INITIAL FX_GIDieCrushed
End
Behavior = SlowDeathBehavior ModuleTag_Death03
DeathTypes = NONE +EXPLODED
SinkDelay = 3000
SinkRate = 0.5 ; in Dist/Sec
DestructionDelay = 8000
FX = INITIAL FX_GIDie
FlingForce = 8
FlingForceVariance = 3
FlingPitch = 60
FlingPitchVariance = 10
End
Behavior = SlowDeathBehavior ModuleTag_Death04
DeathTypes = NONE +BURNED
DestructionDelay = 0
FX = INITIAL FX_GIDie
OCL = INITIAL OCL_FlamingInfantry
End
Behavior = SlowDeathBehavior ModuleTag_Death05
DeathTypes = NONE +POISONED
DestructionDelay = 0
FX = INITIAL FX_GIDie
OCL = INITIAL OCL_ToxicInfantry
End
Behavior = SlowDeathBehavior ModuleTag_Death06 ; don't forget to give it a new, unique module tag
DeathTypes = NONE +POISONED_BETA
DestructionDelay = 0
FX = INITIAL FX_GIDie
OCL = INITIAL OCL_ToxicInfantryBeta ;you'll have to create this OCL and make it use the blue guys instead of green ones
End
; --- end Death modules ---
Behavior = PoisonedBehavior ModuleTag_17
PoisonDamageInterval = 100 ; Every this many msec I will retake the poison damage dealt me...
PoisonDuration = 3000 ; ... for this long after last hit by poison damage
End
Behavior = HackInternetAIUpdate ModuleTag_20
UnpackTime = 7300 ;animation time is 7300 (changing this will scale anim speed)
PackTime = 5133 ;animation time is 5133 (changing this will scale anim speed)
CashUpdateDelay = 2000
RegularCashAmount = 10
VeteranCashAmount = 30
EliteCashAmount = 50
HeroicCashAmount = 100
XpPerCashUpdate = 1
PackUnpackVariationFactor = 0.5 ;Adds + or - 20% to pack and unpack time randomly.
End
Behavior = SpecialAbility ModuleTag_21
SpecialPowerTemplate = SpecialAbilityHackerDisableBuilding
UpdateModuleStartsAttack = Yes
InitiateSound = HackerVoiceHack
End
Behavior = SpecialAbilityUpdate ModuleTag_22
SpecialPowerTemplate = SpecialAbilityHackerDisableBuilding
StartAbilityRange = 150.0
UnpackTime = 7300 ;animation time is 7300 (changing this will scale anim speed)
PackTime = 5133 ;animation time is 5133 (changing this will scale anim speed)
PreparationTime = 3000
;PersistentPrepTime = 500 ; old setting
PersistentPrepTime = 333 ; NOTE! This drives how often the disable effect gets triggered
; This is also how often a new particle system effect is spawned
EffectDuration = 2000
SpecialObject = BinaryDataStream
DisableFXParticleSystem = DisabledEffectBinaryShower0
PackSound = HackerPack
UnpackSound = HackerUnpack
PrepSoundLoop = HackerPrepLoop
AwardXPForTriggering = 0 ;Careful, this is persistant so it's a DoT xp gain!
;SkillPointsForTriggering = ??? -- Dustin, fill me out if you want different balance values.
End
Behavior = OCLSpecialPower ModuleTag_23
SpecialPowerTemplate = SuperweaponClusterMines
OCL = SUPERWEAPON_ClusterMines
CreateLocation = CREATE_AT_EDGE_NEAR_SOURCE
End
Geometry = CYLINDER
GeometryMajorRadius = 10.0
GeometryMinorRadius = 10.0
GeometryHeight = 12.0
GeometryIsSmall = Yes
Shadow = SHADOW_DECAL
ShadowSizeX = 14;
ShadowSizeY = 14;
ShadowTexture = ShadowI;
BuildCompletion = APPEARS_AT_RALLY_POINT
End