Author Topic: ai_profiles.tbl not being read by FRED2  (Read 1897 times)

0 Members and 1 Guest are viewing this topic.

ai_profiles.tbl not being read by FRED2

I have modified the ai_profiles table heavily, to no effect.  I've read this site's old posts on the ai_profiles table, to no avail.  Basically, for some reason the game is not recognizing this table because when I open up FRED2 and go into the Mission Specs, FS2_RETAIL is my only choice, even though I've completely renamed that AI profile.  ai_profiles.tbl is in the right folder (i.e. same as all the functional tables), so I'm a tad confused.  I've attached the file here in case it turns out to be a formatting error (the table was constructed in notepad).  Thanks as always.

[attachment deleted by ninja]

 
Re: ai_profiles.tbl not being read by FRED2
You need to save it as a modular table .tbm for it to be recognised by FRED
for ai_profiles it is xxx-aip.tbm, you can replace xxx with anything you want

 

Offline Goober5000

  • HLP Loremaster
  • 214
    • Goober5000 Productions
Re: ai_profiles.tbl not being read by FRED2
You need to save it as a modular table .tbm for it to be recognised by FRED
No you don't.

Or rather, you shouldn't have to.  If you have to, it's a bug.

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: ai_profiles.tbl not being read by FRED2
Ok.. I downloaded the tbl placed it into a separate mod directory and it worked exactly as it should have. So as far as i can see there is nothing wrong with the table file.

What build are you using? You do have the mod directory defined in FRED?
Do not meddle in the affairs of coders for they are soggy and hard to light

 
Re: ai_profiles.tbl not being read by FRED2
You need to save it as a modular table .tbm for it to be recognised by FRED
No you don't.

Or rather, you shouldn't have to.  If you have to, it's a bug.

My bad sorry I didn't have the mod directory set if FRED, it works as expected now.

 
Re: ai_profiles.tbl not being read by FRED2

"You do have the mod directory defined in FRED?"

What exactly does this mean?  All of my other modified tables - ships, weapons, music - have an impact on FRED2; i.e. when building a mission I can select my modified weapons, ships, music tracks.  But for some reason, this is not true for my ai_profiles.tbl, which is in the exact same folder as all the others.  Mission Specs reads FS2RETAIL as my only option, and that seems quite impossible as I've deleted that profile entirely.  This is build 3.6.9.  I am really quite stumped and it seems insane that I can't figure this out!

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: ai_profiles.tbl not being read by FRED2
What i meant with that is that i thought you hadn't used '-mod zzzz' command line entry when using fred with mods

FS2 RETAIL entry is hardcoded and you cant really get rid of it. And for me the table you posted worked just fine. It added a new option to the pulldown menu just as it should have. Notice that game wont automagically swap the set ai profile to the new one. It happens only for/with new missions. In old missions it has to be set by hand.
Do not meddle in the affairs of coders for they are soggy and hard to light

 
Re: ai_profiles.tbl not being read by FRED2

Hold on...I've never had to do ANY command line entry to get my modded tables to work in Fred2 Open.  But I'm certainly willing to give it a shot, if it might work.  How exactly do I do it?

 

Offline Zoltan

  • 26
Re: ai_profiles.tbl not being read by FRED2

Hold on...I've never had to do ANY command line entry to get my modded tables to work in Fred2 Open.  But I'm certainly willing to give it a shot, if it might work.  How exactly do I do it?

You don't need a command line if you are putting your tables in "freespace2/data/tables", but that's not recommended. To add the command line create a shortcut for Fred2, then right click on the shortcut then click on properties. In the "target" line add "-mod xxxx", xxxx being the name of the mod folder. That should be all you need to do.
"A child of five would understand this. Send someone to fetch a child of five." - Groucho Marx