PDA

View Full Version : TS - new units


westy543
05-08-2006, 10:17 PM
So I'm trying to get the following new units to work... oh btw, this is my first post :D

Anyway, yea, I can't get the following to work:

1. Nod mortar soldier - this works.
2. GDI sniper - this works.

3. Nod deployable turret - this doesn't work.
4. GDI Ambulance - this CTD's my game when I finish building one :\

Here's the rules and art for the deployable Nod laser turret - it builds fine, has a pic, but it doesn't deploy, it has a "can't move here" cursor!

;Deployable laser
[DPLYLSR]
Name=Deployable laser turret
Prerequisite=NAWEAP
Category=AFV
Image=MONOENG
Strength=245
Armor=wood
Turret=yes
Tech level=6
Deploysinto=NALASRdep
Deploytime=2
Primary=Laserfire2
Turret=yes
TechLevel=6
Sight=7
Speed=6
Owner=Nod
AllowedToStartInMultiplayer=no
Cost=800
Points=40
CrateGoodie=yes
ROT=2
Crusher=yes
Crewed=yes
EliteAbilities=Sensors
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
NoMovingFire=yes
DeployToFire=yes
VoiceSelect=25-I000,25-I002,25-I004,25-I006
VoiceMove=25-I012,25-I014,25-I016,25-I018,25-I022
VoiceAttack=25-I014,25-I022,25-I024,25-I026
VoiceFeedback=
MaxDebris=4
Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1}
MovementZone=Crusher
ThreatPosed=10 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
Weight=3.5
EliteAbilities=CLOAK
ZFudgeColumn=10
ZFudgeTunnel=14

[NALASRdep]
Name=Deployed Nod Laser
TechLevel=6
Strength=450
Points=50
Cost=800
Power=0
Armor=wood
Sight=9
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=4
UndeploysInto=DPLYLSR
BaseNormal=no
VoiceSelect=15-I004,15-I006,15-I008,15-I010,15-I012,15-I038,15-I040,15-I048
VoiceMove=15-I014,15-I016,15-I018,15-I020,15-I022,15-I024,15-I060
VoiceAttack=15-I026,15-I032,15-I044,15-I046,15-I050
Crewed=yes
Primary=laserfire2
Turret=yes
ROT=5
TurretAnim=LASER
TurretAnimIsVoxel=true
TurretAnimX=-8
TurretAnimY=16
TurretAnimZAdjust=-40
ThreatPosed=30 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys,BigGreySmokeSys
DamageSmokeOffset=500, 500, 400
EliteAbilities=CLOAK
Trainable=yes
TogglePower=no
HasStupidGuardMode=false
Artillary=yes

I'll post the art files on request. The art was what was messed up in my previous one too... I'll try one more fix with medic truck though...

I think I had the wrong art though, but here's the code, just in case.

[MEDIC TRUCK]
Name=Ambulance
Category=AFV
Image=TRUCKB
Primary=TRUCK HEAL
Secondary=TRUCK HEAL
Prerequisite=GAWEAP
Strength=220
Armor=wood
Crategoodie=yes
TechLevel=5
Passengers=2
Sight=6
Speed=6.25
SelfHealing=no
Pip=red
Owner=GDI
Crewed=yes
AllowedToStartInMultiplayer=no
Cost=950
Points=20
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
VoiceSelect=25-I000,25-I002,25-I004,25-I006
VoiceMove=25-I012,25-I014,25-I016,25-I018,25-I022
VoiceAttack=25-I014,25-I022,25-I024,25-I026
VoiceFeedback=
Locomotor={4A582744-9839-11d1-B709-00A024DDAFD1}
PhysicalSize=1
MovementZone=normal
ThreatPosed=0 ; This value MUST be 0 for all building addons
GuardRange=10
SpecialThreatValue=1
ImmuneToVeins=no
Debristype=Tire
DebrisMaximums=4
Hospital=yes

Notice the 2 passenger and hospital=yes - this should creature a realism of someone in the back being "healed", right? I also want to change the bar on the bottom to reflect the number of people in it. Thanks.

Edit: Did I post this twice? If so, it was an accident, and I didn't mean to... I'm new, and I don't know how delete posts. Looks like I did :(

NODorGDI5
04-06-2007, 02:58 PM
Uh.. Is it possible to have a space in the name of the unit (the name that's in "[NAME]")? Also, I guess I was under the impression that, that name had to be in all uppercase. Unless this is some special case with the laser turret :looklive:, I think it may be good to add a "Image=" to your deployed version. Oh, and I'm not quite sure what "CTD" means..
:dunce:

nuker7735
04-07-2007, 01:38 AM
Y did u bump this thread?!?! this is over a year old!!