Jump to content
Sign in to follow this  
suhsjake

SF2 Weapon Layout

Recommended Posts

All weapons folders go into:

 

Vista: C:\Users\(USER NAME)\Saved Games\Thirdwire\StrikeFighters2\Objects\Weapons

XP: C:\My Documents\(USER NAME)\ThirdWire\StrikeFighters2\Objects\Weapons

 

File Structure Example

 

R-60MK (Main Folder)

R-60MK.ini

AA-8B_DATA.ini

AA-8B.bmp

AA-8M.LOD

AA-8M_LOD002.LOD

 

NOTES

 

*The folder name must be the same as the basic ini file (example: R-60MK and R-60MK.ini)

 

What is in the Main .ini?

 

[WeaponData]
ObjectFullName=BASIC WEAPON NAME
ObjectDataFile=WEAPONDATAFILE_data.ini

[LOD001]
Filename=LODNAME.LOD
Distance=250

[LOD002]
Filename=LODNAME_002.LOD
Distance=1000

[Shadow]
CastShadow=TRUE
ShadowCastDist=2000
MaxVisibleDistance=100

[TextureSet001]
Specular=0.500000
Glossiness=0.400000
Reflection=0.400000

 

Example

 

[WeaponData]
ObjectFullName=R-60MK Aphid
ObjectDataFile=AA-8B_data.ini

[LOD001]
Filename=AA-8M.lod
Distance=250

[LOD002]
Filename=AA-8M_Lod002.lod
Distance=1250

[Shadow]
CastShadow=TRUE
ShadowCastDist=2000
MaxVisibleDistance=100

[TextureSet001]
Specular=0.500000
Glossiness=0.400000
Reflection=0.400000

 

NOTES

 

*You can have more than two lods in a weapon

*You can adjust the distance to what ever your computer can handle

*You can adjust the shadow to what ever your computer can handle

*TextureSet001 adjusts the lighting on the weapon just the same way as an aircraft

 

What is in the _data.ini?

 

[WeaponData001]
TypeName=AA-8B
FullName=R-60MK Aphid-B
ModelName=aa-8m
Mass=...
So on and so forth

 

EXAMPLE

 

[WeaponData001]
TypeName=AA-8B
FullName=R-60MK Aphid-B
ModelName=aa-8m
Mass=45.000000
Diameter=0.120000
Length=2.137000
SubsonicDragCoeff=0.387000
SupersonicDragCoeff=1.967000
AttachmentType=SOVIET
SpecificStationCode=
NationName=SOVIET
StartYear=1982
EndYear=2005
Availability=3
BaseQuantity=8
Exported=TRUE
ExportStartYear=1982
ExportEndYear=2005
ExportAvailability=3
WeaponDataType=1
RailLaunched=TRUE
RocketPod=FALSE
Retarded=FALSE
FinStabilized=TRUE
SpinStabilized=FALSE
HasGrowl=TRUE
EffectClassName=SmallMissileEffects
ReleaseDelay=0.000000
WarheadType=0
Explosives=3.500000
FusingDistance=0.200000
ClusterBomblets=0
ClusterDispersion=0.000000
GuidanceType=10
Accuracy=85
MaxTurnRate=28.000000
MaxLaunchG=8.000000
LockonChance=80
LaunchReliability=80
ArmingTime=0.200000
SeekerFOV=40.000000
SeekerGimbleLimit=40.000000
SeekerTrackRate=35.000000
SeekerRange=7200.000000
MinLaunchRange=200.000000
MaxLaunchRange=5000.000000
Duration=25.000000
CounterCountermeasure=85.000000
NoiseRejection=60.000000
CapabilityFlags=0x000004c0
LoftAngle=0.000000
DescentAngle=0.000000
MaxLoftAltitude=0.000000
CLmax=15.344000
MinFreq=0.000000
MaxFreq=0.000000
BoosterStart=0.000000
BoosterDuration=2.200000
BoosterAccel=34.000000
BoosterEffectName=MissileFireEffect
BoosterSoundName=Missile
BoosterNodeName=
BoosterPosition=0.000000,-1.050000,0.000000
SustainerDuration=0.000000
SustainerAccel=0.000000
SustainerEffectName=
SustainerSoundName=
SustainerPosition=0.000000,-1.050000,0.000000
InFlightEffectName=MissileInFlightEffect
InFlightSoundName=
ReleaseAnimationID=-1
EODisplayFlags=0
CEP=0.000000

 

NOTES

 

*Unfortunately, you can not add more than one weapon to the _Data.ini.

*If you wanted to, you must make a separate folder with its own contents

 

Final Notes

*Needs XP folder setup (PM me or Edit if Admin)

 

Original Post about this subject

 

Original Post

 

Credits

 

Fubar512 - Tutorial and Example Files

 

Version History

 

v1.0 - 3 April, 2009 - First version

v1.1 - 3 April, 2009 - Updated install paths

r_60mk.rar

Edited by suhsjake

Share this post


Link to post
Share on other sites

XP: C:/ My Documents/<UserName>/ThirdWire/StrikeFighters2/Objects/Weapons

 

BTW, TK says use the "Type Name" when labeling the Folders. Not the .LOD Names as been done before....

Edited by 331Killerbee

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use, Privacy Policy, and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..