Jump to content
GKABS

Information pertaining to the DATA.INI

Recommended Posts

Hello gentlemen;
I was wondering if perhaps someone would be willing to direct me to information pertaining to the DATA.INI files structure and functions. If none exists; would anyone be willing to create a short text-based tutorial or a video that explains how these functions are meant to used to create the data.ini for a model and what the values and titles mean specifically within the game. A few such text lines that elude my understanding are as mentioned below:

EffectSize=1.0 (Is there a list of the different sizes and what they do?)
MinExtentPosition=  (What does it mean, precisely? I am aware that you get this information from the LODViewer)
MaxExtentPosition=  (What does it mean, precisely? I am aware that you get this information from the LODViewer)
ArmorMaterial=STEEL (Where and what are the other materials listed or available?)
Armor[FRONT].Thickness=2 (What are the differences between the thickness values?)

[Gunner1]?
SystemType=GUNNER?
GunnerID=1?
TargetType=AIR_AND_GROUND?
RangeFinder=10?

And so on. Is there a database of the information that is required for these text functions that are required within DATA.INI files? Something that accurately explains how these lines are meant to be used to create the model data structure. 

Thanks
 

Share this post


Link to post
Share on other sites

AIR_AND_GROUND for aircraft gunner doesn't work. Only for ships/vehicles

GunnerID is for how many  AI gunners for each gun station

Min/Max Extension are the hit boxes, similiar to the bounding box as seen in MAX and in the Lod Viewer (also the Hit box itself when making those adjustments for "in the works birds")

Armor materials

wood

glass

aluminium

steel

titanium

(don't think "Fabric" is valid, even in in FE)

thickness in in mm, of course. IIRC, TK said each one is approx 5x the previous

25mm of wood  is equal to 5 mm glass

unfortunately, it's not excatly an accurate measurment. even on stock aircraft, the values vary wildly -- look at the F-4E's, vs the Mig-21. It tends to favor Western aircraft, and more so Player Usables

 

As to where this info is archived, there used to be posts about this in the 1stGen KB. I don't know if they're still here; they may have gotten lost over time.

  • Thanks 1

Share this post


Link to post
Share on other sites

Thank you for you help. :drinks:

33 minutes ago, Wrench said:

As to where this info is archived, there used to be posts about this in the 1stGen KB. I don't know if they're still here; they may have gotten lost over time.

 I hope and pray that I will find it.  :stars:

Share this post


Link to post
Share on other sites

Please bear with me, so with regard to the 
MinExtentPosition and MaxExtentPosition
For example a boat you take the measurement from the front to the back and that will be the max and min using the LODViewer? 

Share this post


Link to post
Share on other sites

@GKABS It is evening for me now but give me some time and I will send you an example ground object file. Alternately grab WhiteBoySamurai's Essex class (long-hull) aircraft carrier. I did the data file for it and it is a very good example of a ground object.

 

Edited by KJakker
  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites

MinExtentPosition and MaxExtentPosition

use this....drop in scripts folder ...then in max run it...close it then in max options...look for the min max mcr and select it in list and drop on toolbar of max to add it

then in a scene before export ...click the toolbar min max icon and it gives you a txt file with all min max extents...

 

Fuselage
MinExtentPosition=-0.448,-3.848,-0.994
MaxExtentPosition=0.448,3.848,0.994

Box01
MinExtentPosition=-0.007,-3.553,0.925
MaxExtentPosition=0.006,-3.478,1.049

Object45
MinExtentPosition=0.42,2.44,-0.554
MaxExtentPosition=0.504,3.516,-0.526

Object44
MinExtentPosition=0.316,2.414,-0.644
MaxExtentPosition=0.5,3.502,-0.544

Object13
MinExtentPosition=-0.384,3.848,-0.846
MaxExtentPosition=0.388,3.848,-0.074

Spinner
MinExtentPosition=-0.385,3.849,-0.846
MaxExtentPosition=0.388,4.398,-0.073

 

minmaxextents.mcr

Image2.jpg

Edited by russouk2004
  • Thanks 2

Share this post


Link to post
Share on other sites

Thank you both for you help gentleman's :drinks:

Share this post


Link to post
Share on other sites

Or just use LODViewer  and copy paste ;-)

pos1.jpg.58503db88805ff02a8c53d3d2100dbab.jpg

info2.jpg.9c9565fb22b5907c09f9bcd9dd719c88.jpg

 

  • Thanks 1

Share this post


Link to post
Share on other sites

That is a great new find too. :drinks:

 

Share this post


Link to post
Share on other sites

I knew it had that feature, but have always been too scared to use it!! 

  • Haha 1

Share this post


Link to post
Share on other sites
7 minutes ago, Wrench said:

I knew it had that feature, but have always been too scared to use it!! 

I use that feature of the LODViewer all the time.

Share this post


Link to post
Share on other sites

I have searched the forum and found some good information in the SF1 forum and I have put them all in one document, most likely there are some changes over time and others are missing that I didn't find please feel free to edit and add your comment and information to this document so we can have one that we can refer to.

 

SF2 Data.INI.docx

  • Thanks 1

Share this post


Link to post
Share on other sites

Another question gentlemen. 

CCBoat.thumb.jpg.0a871cd87ed91b0c4cbfa6de091735e7.jpg

I have 2 guns in the back on the boat and I am setting the data for them and I need some clarification if I understood the data correctly.

this is number 3

[REAR_LEFT_Cannon]
SystemType=GUNNER
GunnerID=2
TargetType=GROUND
MinExtentPosition=-1.719,-5.689,2.936
MaxExtentPosition=-0.675,-4.645,3.888
GunRange=1200
PitchAngleRate=45
MaxPitch=45
MinPitch=-10.0
DefaultPitchAngle=0
YawLimited=TRUE
YawAngleRate=50
MinYaw=220
MaxYaw=325
DefaultYawAngle=270

I need it to start at 270 angels but I would like to limit it to 325 to 220 is that correct?

Number 2

[REAR_Center_Cannon]
SystemType=GUNNER
GunnerID=3
TargetType=GROUND
MinExtentPosition=-0.541,-5.689,3.523
MaxExtentPosition=0.503,-4.645,4.476
GunRange=1200
PitchAngleRate=45
MaxPitch=45
MinPitch=-10.0
DefaultPitchAngle=0.0
YawLimited=TRUE
YawAngleRate=50
MinYaw=150
MaxYaw=210
DefaultYawAngle=180

I need it to start at 180 angels but I would like to limit it to 150 to 210 is that correct as well?

Last number 1

REAR_Right_Cannon]
SystemType=GUNNER
GunnerID=4
TargetType=GROUND
MinExtentPosition=0.675,-5.689,2.936
MaxExtentPosition=1.719,-4.645,3.888
GunRange=1200
PitchAngleRate=45
MaxPitch=45.0
MinPitch=-10.0
DefaultPitchAngle=0.0
YawLimited=TRUE
YawAngleRate=50
MinYaw=35
MaxYaw=140
DefaultYawAngle=90

Start at 90 and limited to 35 to 140.

Thanks 

Share this post


Link to post
Share on other sites

Thanks guuruu, :drinks:this is really good as this is my first attempt to study the data file structure. :biggrin:

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

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..