Important Message

You are browsing the archived Lancers Reactor forums. You cannot register or login.
The content may be outdated and links may not be functional.


To get the latest in Freelancer news, mods, modding and downloads, go to
The-Starport

Question about the game AI

The general place to discuss MOD''ing Freelancer!

Post Tue Sep 16, 2003 10:31 pm

Question about the game AI

Has anyone been able to modify any aspects of the game's AI? I have examined the state_graph.db file in the AI folder, but have not been able to interpret any of the data contained in it. Here is an example entry from the file:

FIGHTER
LEADER

0.00 0.50 0.00 0.00 0.05 0.50 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.05 0.00 0.40 0.05 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.15 0.00 0.30 0.00 0.05 0.00 0.00 0.00
0.00 0.20 0.05 0.50 0.05 0.50 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.05 0.00 0.05 0.05 0.00 0.00 0.00 0.00
0.00 0.10 0.05 0.05 0.05 0.40 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.10 0.00 0.05 0.00 0.05 0.00 0.00 0.00
0.00 0.05 0.05 0.55 0.05 0.45 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.05 0.00 0.05 0.00 0.05 0.00 0.00 0.00
0.00 0.85 0.05 0.05 0.05 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.05 0.00 0.00 0.00 0.05 0.00 0.00 0.00
0.00 0.05 0.05 0.50 0.05 0.05 0.00 0.05 0.05 0.00 0.00 0.00 0.00 0.05 0.00 0.05 0.05 0.00 0.00 0.00 0.00
0.00 0.50 0.00 0.50 0.05 0.00 0.00 0.05 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.50 0.05 0.50 0.05 0.30 0.00 0.05 0.00 0.05 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.50 0.05 0.45 0.05 0.20 0.00 0.05 0.00 0.05 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.05 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.05 0.05 0.50 0.05 0.05 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.50 0.00 0.05 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.05 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.05 0.00 0.00 0.00 0.00
0.00 0.60 0.05 0.40 0.05 0.85 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.05 0.00 0.00 0.00 0.05 0.00 0.00 0.00
0.00 0.20 0.00 0.50 0.05 0.50 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.05 0.00 0.05 0.00 0.00 0.00 0.00 0.00
0.00 0.75 0.00 0.25 0.05 0.05 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.05 0.00 0.00 0.00 0.05 0.00 0.00 0.00
0.00 0.05 0.00 0.05 0.05 0.05 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.05 0.00 0.05 0.05 0.00 0.00 0.00 0.00
0.00 0.20 0.00 0.20 0.05 0.20 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.05 0.00 0.05 0.05 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.05 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00

has anyone experimented with any of the numbers?

___________________________________________

"In space, no-one can hear you scream!"

Post Tue Sep 16, 2003 10:51 pm

Don't worry about the state graph, it's much easier than that

Look for pilots_population.ini, edit to your hearts content, you can do some cool things with the AI in there.

A couple of examples of what I incorporated into my MP mod:

- AI pilots fire less frequently, but more accurately. Great for helping with lag and none of the players even noticed except to say they had less lag in combat.

- AI pilots use nanobots and shield batteries. The equipment has to be added to their loadouts too, but once they have them it works like a charm. Very easy to set it up by difficulty level too and no bugs or unwanted side effects that are common with regenerating shields.

I've also managed to get them to behave slightly differently in formations and I've been able to make some fo them much more aggressive then they were. The file itself is pretty straight forward allthough since they use inheritence between the data blocks sometimes you have to do some searching to find what you want.

Post Wed Sep 17, 2003 9:03 pm

I wish i could understand this file. FightSpace gave me some problems when I killed too many things at once and the console said 'Behavior not found in state_graph database.

Return to Freelancer General Editing Forum