Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Wed Apr 24, 2024 2:43 pm
All times are UTC + 0
Firing problems...
Moderators: Global Moderators, Tiberian Sun Moderators
Post new topic   Reply to topic Page 1 of 1 [7 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Fremen5
Commander


Joined: 10 Aug 2003
Location: Laughing at Donald Trump in a rather flat place

PostPosted: Wed Dec 24, 2003 1:49 am    Post subject:  Firing problems... Reply with quote  Mark this post and the followings unread

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 -

Back to top
View user's profile Send private message Send e-mail Visit poster's website
John Galt
Commander


Joined: 01 Aug 2003
Location: Galt's Gulch

PostPosted: Wed Dec 24, 2003 5:51 am    Post subject: Reply with quote  Mark this post and the followings unread

Why the leading zero in PrimaryFLH? And it should have three numbers, not two.

Back to top
View user's profile Send private message Visit poster's website Skype Account
The DvD
TiberiumWeb.com Webmaster


Joined: 30 Dec 2002
Location: Netherlands

PostPosted: Wed Dec 24, 2003 11:19 am    Post subject: Reply with quote  Mark this post and the followings unread

Well the PrimaryFireFLH can be a difficult tag, and no, it doesn't necessarily need three numbers, Nobody..

lemme explain stuff with an example, the HMEC (mammoth mk II) art.ini entry.

Quote:

[HMEC]
Cameo=HMECICON
Voxel=yes
Remapable=yes
PrimaryFireFLH=80,100,158
SecondaryFireFLH=-60,100,158
UseTurretShadow=yes
ShadowIndex=12


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.

Back to top
View user's profile Send private message Visit poster's website Skype Account
The DvD
TiberiumWeb.com Webmaster


Joined: 30 Dec 2002
Location: Netherlands

PostPosted: Wed Dec 24, 2003 11:22 am    Post subject: Reply with quote  Mark this post and the followings unread

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)

Back to top
View user's profile Send private message Visit poster's website Skype Account
Fremen5
Commander


Joined: 10 Aug 2003
Location: Laughing at Donald Trump in a rather flat place

PostPosted: Wed Dec 24, 2003 4:06 pm    Post subject: Reply with quote  Mark this post and the followings unread

oh, so that's what I did wrong, and it was a typo! Embarassed Laughing
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 -

Back to top
View user's profile Send private message Send e-mail Visit poster's website
The DvD
TiberiumWeb.com Webmaster


Joined: 30 Dec 2002
Location: Netherlands

PostPosted: Wed Dec 24, 2003 9:17 pm    Post subject: Reply with quote  Mark this post and the followings unread

Well at least it made me write a little tutorial like thingy.

Back to top
View user's profile Send private message Visit poster's website Skype Account
Fremen5
Commander


Joined: 10 Aug 2003
Location: Laughing at Donald Trump in a rather flat place

PostPosted: Tue Dec 30, 2003 3:23 pm    Post subject: Reply with quote  Mark this post and the followings unread

tutorials are always helpful!

_________________
Tiberian Station
Image guy on the Dune Sun\
- Peace - Through - Wossname -

Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [7 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
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


Powered by phpBB © phpBB Group

[ Time: 0.1413s ][ Queries: 11 (0.0070s) ][ Debug on ]