Posted: Fri Aug 15, 2008 7:38 pm Post subject:
How To Make A Vehicle Mechanic
The is how to make a soldier that will heal vehicles.
This unit must be put under the vehicle type list the repair weapon will ONLY work with vehicles. But using this code you can keep the same voxel and voices, but it will be produced from a warfactory, if anyone knows how to bypass the warfactory and put it as barracks please tell me.
Unit Code (remember put as a vehicle type important)
Code:
[MECHANIC]
Name=Mechanic
Image=ENGINEER
Category=AFV
Primary=Repair
Prerequisite=FACTORY
CrushSound=SQUISH6
Strength=100
Pip=green
Armor=none
TechLevel=1
Sight=5
Speed=5
Owner=GDI,Nod
Cost=230
Points=5
VoiceSelect=15-I000,15-I004,15-I012,15-I048
VoiceMove=15-I018,15-I024,15-I044
VoiceAttack=15-I044,15-I050,15-I044,15-I046
VoiceFeedback=15-I058,15-I064
VoiceDie=DEDMAN1,DEDMAN2,DEDMAN2,DEDMAN4,DEDMAN5,DEDMAN6
Locomotor={4A582744-9839-11d1-B709-00A024DDAFD1}
PhysicalSize=1
MovementZone=Infantry
ThreatPosed=10 ; This value MUST be 0 for all building addons
Elite=M1Carbine
EliteAbilities=SCATTER
ImmuneToVeins=yes
And this is the weapon code I made for it, just a clone of the original healer one xD but weaker to be different. Feel free to edit it.
Can't be done. Infantry can only heal infantry, while vehicles can only heal vehicles. The logic from RA1 doesn't excist anymore...
Um dude I knew that's why I made it a vehicle type and made the image the engineer and cameo etc just try it out and repair a vehicle it'll work but it's made from warfactory so yea I tested it myself. QUICK_EDIT
1. infantrysequences don't work on vehicletypes.
2. voxel=yes in the art.ini entry is wrong. it's an SHP like every infantry
3. an infantry made as vehicletype gets the big selection box and always takes a whole cell (not only a third as infantry); it isn't an infantry anymore and also can't be transported by an APC
4. Image=ENGINEER in rules.ini and it should use the MECHANIC art.ini entry? total fail!
1. infantrysequences don't work on vehicletypes.
2. voxel=yes in the art.ini entry is wrong. it's an SHP like every infantry
3. an infantry made as vehicletype gets the big selection box and always takes a whole cell (not only a third as infantry); it isn't an infantry anymore and also can't be transported by an APC
4. Image=ENGINEER in rules.ini and it should use the MECHANIC art.ini entry? total fail!
Imo this "tutorial" should be moved in the crap forum.
Um well ok I might have messed up on that but in the test I did it worked perfectly fine so I'll just ignore all my obvious mistakes and glitches QUICK_EDIT
MOVED
@asiangod
Test your code before posting it as a Tutorial
Edit:Moved to Editing discussion instead of crap forum.... just incase something possibly useful comes out of this ? _________________ Last edited by SMIFFGIG on Sat Aug 16, 2008 1:42 pm; edited 1 time in total QUICK_EDIT
actually, it can be transported by an apc if size=1; See the terror drone. And hasn't someone already done this? _________________ Please, read the signature rules of the forum. QUICK_EDIT
well, to make it a bit logical, one can make a power-armored mechanic and just code it in like the wolverine.
no infantry sequences there, but you'll have to animate it in such a way the wolverine is; with corresponding "repair" animations as attack animations.
Death animations will have to be made separately and will have to be coded as "Explosion=XXX"
it'll be up to the modeller to make the walk animations as human looking as he can, although potential drawbacks I can see are:
1) no crawl animations
2) ROT must be coded to be very high to make it turn almost instantly like infantry.
3) speed < 12
4.) big selection box
5.) won't be transported by means of APC _________________ "War.... war never changes....." 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