Joined: 10 Aug 2003 Location: Laughing at Donald Trump in a rather flat place
Posted: Wed Dec 24, 2003 1:49 am Post subject:
Firing problems...
I edited the image for the Devil's Tounge about a week or two ago, and I haven't had a problem with it, until today. When I tell it to attack something, the red attack line comes to the point from the top of the screen, and then the Devil's tounge won't fire. here's the code in the rules.ini:
; Subterranean Tank
[SUBTANK]
Name=Devil's Tongue
Image=subtank4
Prerequisite=NAWEAP,NATECH
Primary=FireballLauncher
MoveToShroud=yes
Strength=300
Category=AFV
DeployTime=.022
TypeImmune=yes
Armor=light
Turret=no
IsTilter=yes
TechLevel=7
Sight=5
Speed=5
CrateGoodie=yes
Owner=Nod
AllowedToStartInMultiplayer=no
Cost=750
Points=25
ROT=6
Crusher=yes
NoMovingFire=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=
MaxDebris=4
Locomotor={4A582743-9839-11d1-B709-00A024DDAFD1}
MovementZone=Subterannean
ThreatPosed=30 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
Weight=3.5
EliteAbilities=SELF_HEAL
AutoCrush=yes
Accelerates=false
ZFudgeColumn=10
ZFudgeTunnel=14
Art.ini:
[subtank4]
cameo=SUBTICON
Voxel=yes
Remapable=yes
PrimaryFireFLH=128,040 _________________ Tiberian Station
Image guy on the Dune Sun\
- Peace - Through - Wossname - QUICK_EDIT
So what does FLH mean? it means Forward, Lateral, Height position from center. So it determines the offset from center where the weapon's projectile starts.
The PrimaryFire weapon of the mammoth is the railgun. It's in the front of the unit (80 units from the center), the railgun's of the unit are on the side of the unit (100 units to the left from the center), and finally these railguns are mounted on top of the unit, not hanging next to it's legs, so the fire position is quite high; hence 158.
NOTE: SecondaryFireFLH is NOT the offset the game uses for weapons with Burst=2 (two shots) ; the game simple uses the opposite Lateral value for that (so if the mammoth's railgun would be dual, the other shot would appear to come from the right-mounted railgun, because Lateral value would be -100 instead of 100)
Instead, SecondaryFireFLH is used for the Secondary Weapon. In the mammoth's case, anti aircraft missiles. you will probably know from the movies that these are mounted on the back of the railguns. Hence the Lateral and Height position is the same, but it's mounted more backwards from the center. Infact, so much it needs a negative value; -60 in this case, meaning 60 unit's from the center to the back-mounted missiles launchers. QUICK_EDIT
Also, you don't necessarily need to enter three values for these two tags I THINK; just entering 128,040 (in Fremen's case) would be read by the game as 128,40,0 (note the last zero)
This means 128 to the front, 40 to the left (and right if the weapon is dual, ie Burst=2), and zero Height offset.
Seems fine to me... (for safety try removing that zero in 040 anyway, Fremen, and add a zero for the Height value.. (so u get 128,40,0) QUICK_EDIT
Joined: 10 Aug 2003 Location: Laughing at Donald Trump in a rather flat place
Posted: Wed Dec 24, 2003 4:06 pm Post subject:
oh, so that's what I did wrong, and it was a typo!
the FLH=128,040, was going to be the Origional Devil Tounges: FLH=128,0,40
I should look for typos before asking... _________________ Tiberian Station
Image guy on the Dune Sun\
- Peace - Through - Wossname - 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