Search the archive:
YaBB - Yet another Bulletin Board
 
   
 
Page Index Toggle Pages: 1
Send Topic Print
Can AI CFS2 variables be accessed ? (Read 1521 times)
Dec 27th, 2002 at 5:20am

P4   Offline
Colonel
I love YaBB 1G - SP1!

Posts: 12
*****
 
Want to make a program to guide some weapons toward their targets ? And dont know if it is possible. If somebody can help me I thank him (her).
 
IP Logged
 
Reply #1 - Dec 28th, 2002 at 1:17am

Scorpiоn   Offline
Colonel
Take it easy!
The Alamo

Gender: male
Posts: 4496
*****
 
If you're suggesting a missile, no.  All ordnance in CFS2 is "dumb", there are no "smart" bombs or missiles.  Only rockets and dumb bombs.  You'll just have to use skill.  If you want to set up some modern warfare, CFS2 is one of the worst platforms to do so on.  Not only are guided weapons unfeasable in CFS2, if you pull in excess of about 8 Gs you blow up.  If you really want to do some modern air combat, I suggest you go out and get yourself a new game, such as LOMAC (Lock On: Modern Air Combat).  I never fancied it myself, so I can't tell you if it's worth the money.
 

The Devil's Advocate.&&...
IP Logged
 
Reply #2 - Dec 28th, 2002 at 7:14am

P4   Offline
Colonel
I love YaBB 1G - SP1!

Posts: 12
*****
 
Yes I could purchase Lomac, why not ?
but I like FS or CFS series because it is very easy to share addons with all FS community. I would like to make improvements by my own. Are you sure that it is not possible to access certain variables such like cordinnates or speed of an object ( ground object, aircraft,weapon,ship...), modifie them by a program and send the new data calculated to cfs in order it changes trajectories of a weapon by exemple ? I think these variables exist because they are displayed by exemple on tactical map, and when labels are activated you can have the distance between your plane and an object.
 
IP Logged
 
Reply #3 - Dec 28th, 2002 at 6:17pm

Scorpiоn   Offline
Colonel
Take it easy!
The Alamo

Gender: male
Posts: 4496
*****
 
Whoah P4, slow down! Wink Aircraft, ordnance, ships ect. are modified in very different ways, so explain a little further as to what you want to modify.  Now, try to elaborate a little more as to what you specifically want to do, but I'll go by what you gave me.  Yes, you can do some of what you want, but I'll give you this:
  • Aircraft
  • Model: You can't modify this.  Well, you can, but most people don't know how to modify code.  You can use programs such as FSDS and gmax to create aircraft, and then export them to .MDL format.
  • Panel:This can very easily be modified with CFGEdit, a panel editing program.  All you need are some gauges and a background.
  • Sound:This is modified through the "Sound.cfg" file but getting the right sound files (in .WAV format) can be tricky.
  • Texture:This is one of the most modified components of CFS2, you can modify it yourself with either DXTBMP or Imagetool and with a good paint program.
  • .AIR File:This actually controls how the aircraft flies, can be modified with Aired, but you have to know which variables to modify.
  • .CFG File:This is just basic info for the Sim, can be modified very easily.
  • .DP File: Exclusively a CFS file.  Controls damage for the object, what weapons are carried etc.
  • Ordnance
  • Model:(see above)
  • Texture:(see above)
  • .DP File Same as above, although the only real thing you can specify for ordnance's .DP file's is how fast the rocket travels and little stuff like that.
  • Ships
  • Model:(see aircraft)
  • Texture:(see aircraft)
  • .CFG File You can modify how much they rock, and on Carriers, where you start off and stuff like that.
  • .DP File (see aircraft)



Please correct me if I have misunderstood your question.  I probably have, but from what I make of it, you're just asking if CFS2 can be modified.  If that is your question, then your answer is: Yes.  But what you want to modify will take you to different levels and areas of expertise.  Reply back soon! Smiley
 

The Devil's Advocate.&&...
IP Logged
 
Reply #4 - Dec 31st, 2002 at 6:52am

P4   Offline
Colonel
I love YaBB 1G - SP1!

Posts: 12
*****
 
I knew all what you wrote in your reply, and that weapons or a lot of objects can be compiled in BGL libraries with some manipulations using scasm, mdldisas  and a lot of time...

I had seen in FS2002 a Radar gauge (thanks to Eric Marciano) that gives all information on a selected aircraft of AI traffic, trough FSUIPC.  I think that CFS2 AI conception is not very far from FS2k2's.

FSUIPC allows external programs to access to a lot of variables of FS such like AI or weather by exemple.

Accessing these variables could allow third users to developpe new gauges such like radar suitable for modern aircrafts (Rafale, Mig 21,F15...). And maybe  to design modern warfare systems.

I think that if you can access only to coordinates variables of an aircraft you can design a radar gauge.  I think that it either is possible to calculate the trajectory of a bomb dot by dot, at each step you can send to CFS its new position and guide it to an object (using with some numerical algorithmus). I'm currently getting information in order to run such a project.
 
IP Logged
 
Reply #5 - Mar 13th, 2003 at 7:23pm

Si   Offline
Colonel
I love YaBB 1G - SP1!

Posts: 20
*****
 
Hi there,
If your looking into tweeking cfs2's ai flight algerythme it would be "fat" if you could get it to fly choppers.
 
IP Logged
 
Reply #6 - Mar 30th, 2003 at 1:29am
captjulian2   Guest

 
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print