Posted: Fri May 25, 2012 9:55 pm Post subject:
Crucio Artillery Problem
Subject description: Vxl by ICEDRAGON200
i recently started modding TS again and already i have got a problem 3 days have gone by and i still can't figure it out i have also found a post about this problem which was posted 3 years ago here... http://www.ppmsite.com/forum/viewtopic.php?highlight=crucio&t=23441
the issue i'm having is ICEDRAGON200's deployed Crucio.shp is invisable meaning it will not shoot, undeploy, move or do anything other than be selected once the unit is deployed. but the units undeployed vxl shows up and does everything just fine and i have no problems with it.
in the 3 days i've been trying to get this working i have gone though many codes (1 even got it to fire at one point) but none have got the deployed shp (or buildup) to show so i'm just gonna post my original code...
Code:
(art)
;vehicle art
[SHADART]
Cameo=SHADICON
Remapable=yes
TurretOffset=-56
PBarrelLength=224
Voxel=yes
PrimaryFireFLH=0,0,64
Just like any other unit or building, the [ID] of the deployed shadow artillery should be written in all caps and not contain any spaces.
Also, when the ID of the building isn't the same as that of its image (Im assuming SHADD in this case), its image should be specified after Image=; although since the ID you currently gave to it can't possibly work anyhow, you're best off to just change it to SHADD.
So in short;
change
DeploysInto=Deployed Shadow Artillery
to
DeploysInto=SHADD
and change
[Deployed Shadow Artillery]
to
[SHADD]
Also make sure SHADD is entered in the [BuildingTypes] list.
Note: this will only work if the building's SHP is named shadd.shp; if it's named something else, either rename the SHP, or rename SHADD in both rules.ini and art.ini.
The building aside, it actually surprises me the voxel itself is working for you and I'd recommend for you to rename it the same way (in other words, rename its ID to SHADART in rules.ini).
So for future reference, try to always write IDs of units and buildings in caps, without spaces and try to keep them short. It's also most convenient to give things the exact same ID in both rules.ini and art.ini. _________________ QUICK_EDIT
i knew having spaces in names and having differnt names was a bad idea for years but had never had anything bad go wrong before thx for finally getting me not to do this now my unit will show up but i still have one problem the barrel of the turret isn't showing do you know how to fix this quickly already had 3 days of pure agony getting this working (can't believe it was so simple the fix so all those pproblems over the years were probebly this oh why im i such a nob) QUICK_EDIT
thx but everythings fine now still i'll tryed your code and works great cheers for all the help (mainly for teaching not to have put in names a task many have tryed and failed to accomplish) 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