Posted: Mon Apr 24, 2017 2:25 pm Post subject:
AI Hijacker.
So, I want at least AI are capable of using Hijackers but failing to do so as their Hijackers usually stand still. I want at least they behave like Attack Dogs or Terror Drones that they hunt infantry or vehicles while being passive.
Here's my stuff on Hijacker in case anyone might need to know:
Code:
[HIJACKER]
UIName=Name:HIJACKER
Name=Hijacker
Category=Soldier
Primary=Hijack
Secondary=VirtualScanner
NavalTargeting=6
Prerequisite=NAHAND,NATECH
CrushSound=InfantrySquish
Strength=125
Armor=flak
DefaultToGuardArea=yes ; the much awaited dog default to move and attack when resting
TechLevel=9
Pip=red
Sight=9
Speed=7
Owner=Arabs
RequiredHouses=Arabs,Russians
Cost=1500
Soylent=750
Points=25
IsSelectableCombatant=yes
Thief=yes
VehicleThief=yes
VoiceSelect=HijackerSelect
VoiceMove=HijackerMove
VoiceAttack=HijackerAttackCommand
VoiceFeedback=HijackerFear
VoiceSpecialAttack=HijackerMove
VoiceSpecialAttack=HijackerAttackCommand
VoiceEnter=HijackerMove
VoiceCapture=HijackerAttackCommand
DieSound=HijackerDie
VehicleThief.EnterSound=HijackerEnter
VehicleThief.LeaveSound=HijackerLeave
Locomotor={4A582744-9839-11d1-B709-00A024DDAFD1}
PhysicalSize=1
MovementZone=Infantry
ThreatPosed=20 ; This value MUST be 0 for all building addons
ImmuneToRadiation=no
Bombable=yes
AllowedToStartInMultiplayer=no
Size=1
VeteranAbilities=STRONGER,FIREPOWER,ROF,SIGHT,FASTER,SCATTER
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
;GEF going to be two dogs now DoubleOwned=Yes
ImmuneToPsionics=yes
IFVMode=0
Sensors=yes
SensorsSight=5
VehicleThief.KillPilots=-1
Cloakable=yes
CloakingSpeed=1
Only on rules. It seems the problem why my AI not using Hijackers is because of the rules that I created on Hijacker. I feel there's a mistake but I don't know which, particularly its weapon, as I want my Hijacker behaves like Attack Dog at least. QUICK_EDIT
Been awhile since I've modded, but I feel like the biggest issue you're having is that your main weapon is Range=1 and the VirtualScanner isn't helping.
Try adding: GuardRange=15 (or whatever number of cells) to [HIJACKER].
If that doesn't help then my only other guess is it's something to do with VehicleThief which may need a team + mission in aimd.ini. _________________ "Don't beg for things; Do it yourself or you'll never get anything." QUICK_EDIT
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum