Renegade Projects Network Forums

Full Version: Deployable Artillery
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

Guest

Hi,

I'm trying to port the deployable artillery over from TS into YR. I have succeeded in getting the artillery to deploy to fire, but it will not undeploy. It keeps saying "New Rally Point Established". I'm guessing it hs something to do with the deployed building being able to fire... Would SimpleDeployer work better for this?

Here is the code...
Code:
rulesmd.ini

[ARTY]
UIName=Name:ARTY
Name=Artillery
FireAngle=42
Prerequisite=GAWEAP,RADAR,GATECH
Primary=155mm
Category=LRFS
Strength=300
;DeployTime=1.0
Turret=yes
DeploysInto=GAARTY
Armor=light
TechLevel=6
Sight=9
Speed=5
Owner=British,French,Germans,Americans,Alliance
AllowedToStartInMultiplayer=no
Cost=1000
Points=35
CrateGoodie=yes
ROT=2
Crusher=yes
Crewed=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
NoMovingFire=yes
DeployToFire=yes
VoiceSelect=GenAllVehicleSelect
VoiceMove=GenAllVehicleMove
VoiceAttack=GenAllVehicleAttackCommand
VoiceFeedback=
DieSound=GenVehicleDie
MoveSound=ApocalypseMoveStart
CrushSound=TankCrush
MaxDebris=4
Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1}
MovementZone=Normal
ThreatPosed=10; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
Weight=3.5
VeteranAbilites=STRONGER,SIGHT,FASTER
EliteAbilities=SELF_HEAL,STRONGER,FASTER
ZFudgeColumn=10
ZFudgeTunnel=14

[GAARTY]
UIName=Name:GAARTY
Name=Deployed Artillery
TechLevel=-1
Strength=300
Points=50
Cost=975
Power=0
Armor=light
Sight=9
Owner=British,French,Germans,Americans,Alliance
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=4
UndeploysInto=ARTY
BaseNormal=no
VoiceSelect=GenAllVehicleSelect
VoiceMove=GenAllVehicleMove
VoiceAttack=GenAllVehicleAttackCommand
Crewed=yes
Primary=155mm
Turret=yes
ROT=5
Artillary=yes
TurretAnim=gaartytur
TurretAnimIsVoxel=true
TurretAnimX=-8
TurretAnimY=15
TurretAnimZAdjust=-20
ThreatPosed=30; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys,BigGreySmokeSys
DamageSmokeOffset=500, 500, 400
EliteAbilities=SELF_HEAL
Trainable=yes
TogglePower=no
HasStupidGuardMode=false

[VehicleTypes]
90=ARTY

[BuildingTypes]
409=GAARTY

artmd.ini:

[ARTY]
Cameo=ARTYICON
Remapable=yes
TurretOffset=50
Voxel=yes
PrimaryFireFLH=0,0,64

[GAARTY]
Normalized=yes
Remapable=yes
Foundation=1x1
Buildup=GAARTYMK
Height=1
NewTheater=yes
PrimaryFireFLH=20,0,64
TurretNotExportedOnGround=yes
Voxel=yes;the building is a voxel

Anyone know what the problem is?
Firstly, SimpleDeployer would work different for it. I mostly prefer simples nowadays, because they are -you guessed it- simpler, but since the system is not much more than a hack from Westwood's side, it has it's shortcomings (selection of weapons, for example).

Nevertheless, SimpleDeployer would be possible if you copied arty.vxl to arty2.vxl and copied gaartytur.vxl to arty2tur.vxl. Then just copy/mod the Siege Chopper.

However, the TS artillery should work just fine the way it was in YR. Check if your buildup is legal. Check the ConYard's deploy/undeploy code.

-----! ??? (insert confused look here)

And before I continue typing, explain
Voxel=yes;the building is a voxel
to me. That makes no sense at all, will, to my knowledge, not work at all, and is not part of the TS artillery code. If you want to port a unit from one game to another, I suggest actually doing so, and not just making up code for it.

Guest

Oh, whoops. Buildings can't be voxels. Ack, what a mess I am. Oh well. Thanks for the information, I'll try it out right away! (after I finish a buildup, which I will probably screw up.) Thanks alot!