Posted: Mon Nov 26, 2012 3:31 pm Post subject:
Nod Light Tank
Subject description: 1tnk
Heres the situation, I made a new light tank voxel and its working just fine except it is invisible in map editor (Final Sun). Thanks!!
rules.ini
48=1TNK
[1TNK]
Name=Light Tank
Primary=75mm
Category=Transport
Strength=200
Armor=light
Turret=yes
TechLevel=-1
Sight=5
Speed=6
DeployTime=.022
PipScale=Passengers
Passengers=2
Owner=Nod
CrateGoodie=yes
Nominal=yes
AllowedToStartInMultiplayer=no
Cost=500
Points=50
ROT=3
Crusher=yes
Crewed=yes
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={4A582741-9839-11d1-B709-00A024DDAFD1}
SpeedType=Track
Weight=2
MovementZone=Destroyer
ThreatPosed=10 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
VeteranAbilities=FASTER,SIGHT,STRONGER,ROF
EliteAbilities=FASTER,SIGHT,STRONGER,ROF,SELF_HEAL
Elite=75mmE
MaxDebris=2
DebrisTypes=TIRE
DebrisMaximums=4
art.ini
[1TNK]
Voxel=yes
Remapable=yes
PrimaryFireFLH=40,32,96
SecondaryFireFLH=-32,80,120
PBarrelLength=192 _________________ Welcome to the unit, I´ll see you around.
Tiberian Sun 2.05:
https://www.moddb.com/mods/tiberian-sun-205 QUICK_EDIT
It has nothing to do with the code. Make sure the voxel is inside on of the mix files that FinalSun can read. Try placing it in Expand02.mix. _________________ QUICK_EDIT
It was in expand02, I also tried expand03.mix but still the same problem. _________________ Welcome to the unit, I´ll see you around.
Tiberian Sun 2.05:
https://www.moddb.com/mods/tiberian-sun-205 QUICK_EDIT
I guess FinalSun doesn't read those then. Try removing the voxel and see if it becomes visible then. A 1tnk voxel and HVA already exist within local.mix after, so it should at least display that one; if the light tank only becomes invisible once your new voxel is added while the original displays fine, it must be an issue with the voxel itself. _________________ QUICK_EDIT
Options->Settings->check "Act like Tiberian Sun when searching for files"
might help _________________ SHP Artist of Twisted Insurrection: Nod buildings
I'm not sure if that's really the cause, considering it should just find the 1tnk voxel that's located within local.mix when that option is disabled (he's using the same ID and file names after all). _________________ QUICK_EDIT
Maybe he has 2 Tiberian Suns installed, one modded, the other not. And FinalSun takes the stupid registry entry of the unmodded TS to find the files.
Or the stupid windaft registry has some old leftover entries of a previous installed TS, which now point to the wrong folder. _________________ SHP Artist of Twisted Insurrection: Nod buildings
Make sure the .hva file is also included. Voxels without hva files will not display in Final Sun. _________________ You come for the modding but you stay for the Crap Forum. QUICK_EDIT
1.) Image=1TNK on TTNK in rules.ini
Does the tick tank use the new image?
no-> check art.ini
yes-> check rules.ini
1. no: add Image=TTNK to 1TNK in art.ini
1.A) Does 1TNK now use TTNK as image?
yes: check the 1TNK vxl and hva files
no: check art.ini if there are problems with the 1TNK section (e.g. a duplicate one stands farther below)
1. yes: try TTNK on the 1TNK section in rules.ini
1.B) Does it now use the tick tank image?
yes: check the vehicletypes list if 1TNK is correct in there (no other unit using index 48 etc, no firestrm.ini overwriting 1TNK etc)
no: don't know. find some explanation... Last edited by Lin Kuei Ominae on Mon Nov 26, 2012 7:44 pm; edited 2 times in total QUICK_EDIT
FinalSun would then just find 1tnk.hva located within local.mix. The issue is probably what what LKO just said (the registry pointing to a different TS install dir). _________________ QUICK_EDIT
1.) Image=1TNK on TTNK in rules.ini
Does the tick tank use the new image?
no-> check art.ini
yes-> check rules.ini
1. no: add Image=TTNK to 1TNK in art.ini
1.A) Does 1TNK now use TTNK as image?
yes: check the 1TNK vxl and hva files
no: check art.ini if there are problems with the 1TNK section (e.g. a duplicate one stands farther below)
1. yes: try TTNK on the 1TNK section in rules.ini
1.B) Does it now use the tick tank image?
yes: check the vehicletypes list if 1TNK is correct in there (no other unit using index 48 etc, no firestrm.ini overwriting 1TNK etc)
no: don't know. find some explanation...
The 1TNK uses TTNK image but not contrariwise, must be something wrong with the 1tnk voxel or hva then, anyway thanks for your advice guys. _________________ Welcome to the unit, I´ll see you around.
Tiberian Sun 2.05:
https://www.moddb.com/mods/tiberian-sun-205 QUICK_EDIT
if the vxl/hva are in a mix, create the mix again. It might be corrupt so you only had luck that the game was able to read it. _________________ SHP Artist of Twisted Insurrection: Nod buildings
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