At first I tried just adding "VehicleThief" to an infantry unit. Then I tried just moving the code for the M. Hijacker from TS, as I did with the jumpjet (and change the image, naturally). The MHijacker still didn't work, so I moved the MHijacker's image over to the conquer.mix within ra2.mix. My hijacker doesn't work.
Is there good code for a hijacker out there?
Also, while I'm here, would it work to combine most, not all, the TS and RA2 files together and essentially have TS/RA2 under one user interface? I know you can't combine some of the code (such as that which controls RA2) but maybe the AI coding, unit coding, and such stuff as that?
Posts:
271
Threads:
24
Joined:
22 Apr 2006
Reputation:
copy and past from my rules.ini
Working hijacker
[HIJACKER]
UIName=Name:HIJACKER
Name=Vehicle Thief
Primary=CLINTGUN
Secondary=BetterScanner
ElitePrimary=CLINTGUNE
Category=Soldier
Prerequisite=BARRACKS,GAWEAP,GATECH
CrushSound=InfantrySquish
VehicleThief=yes
Thief=yes
Strength=120
BombSight=4
Pip=white
OccupyPip=PersonGreen
Armor=plate
TechLevel=6
Sight=5
Speed=4
AllowedToStartInMultiplayer=no
Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs,YuriCountry
Cost=700
Soylent=350
Points=30
IsSelectableCombatant=yes
VoiceSelect=SealSelect
VoiceMove=SealMove
VoiceAttack=SealAttackCommand
VoiceFeedback=
VoiceSpecialAttack=SealSpecialAttack
DieSound=SealDie
Locomotor={4A582744-9839-11d1-B709-00A024DDAFD1}
PhysicalSize=1
MovementZone=Infantry
ThreatPosed=50
SpecialThreatValue=1
ImmuneToVeins=yes
ImmuneToPsionics=no
Bombable=yes
VeteranAbilities=STRONGER,FIREPOWER,ROF,SIGHT,FASTER
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF,FASTER
Size=1
Crushable=no
IFVMode=2
DefaultToGuardArea=yes
GuardRange=10
CanPassiveAquire=yes
Explodes=yes
[BetterScanner]
Damage=1
Range=10
NeverUse=yes
Projectile=InvisibleAll
Warhead=SA
Speed=100
[CLINTGUN]
Damage=125
ROF=10
Range=6
Projectile=InvisibleLow
Speed=100
Warhead=HollowPoint
Report=ClintAttack
AssaultAnim=UCBLOOD
[CLINTGUNE]
Damage=125
ROF=10
Range=7
Projectile=InvisibleLow
Speed=100
Warhead=SSA
Report=ClintAttack
AssaultAnim=UCBLOOD
Posts:
573
Threads:
26
Joined:
14 Oct 2005
Reputation:
Or to put it simply, just add VehicleThief=yes and Thief=yes to any infantry that is not an engineer, spy or uses C4.
Ares Project Manager.
Open Ares positions: Documentation Maintainer, Active Testers.
PM if interested.
Posts:
13
Threads:
5
Joined:
15 Jul 2006
Reputation:
Applying C4 to a vehicle thief actually works though.
Posts:
1 571
Threads:
16
Joined:
12 Feb 2005
Reputation:
actually, its better if they are an engineer or spy, because the theif logic tries to enter buildings aswell, but does nothing if you actually enter it. making the hijacker combined with an engineer or spy makes it actually do something when you enter the building. R:ROTC has 2 hijackers, 1 is an engineer, the other is a spy.