Create individual profiles for AI

Blitz3D Forums/Blitz3D Programming/Create individual profiles for AI

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I consider this more of an "advanced" type question, thus why it's not in B3D beginners area..

How can you create individual profiles for the AI of your game as follows.

In seperate text documents, you lay out everything you want and describe it..

This is just an idea I have for my game, but it would be really nice if possible, here's an example:
;--Fletcher Class Destroyer
fletcherdd=LoadMesh("fletcherdd.b3d")
topspeed=30        ;number of units passed a second
rotatespeed=48   ;seconds for a complete 360 circle
maxdistance=500000     ;set as units passed
ROE=Evade,Attack,DepthCharge,Patrol,Escort
;before march 1942
if < 03011942 then
Passivesonar=True
ActiveSonar=True
SonarRange=300    ;units
depthcharges=26
if > 03021942 then
PassiveSonar=True
ActiveSonar=True
SonarRange=400
depthcharges=38

And then in a seperate text I create a profile for each one of those telling what they do..
;PassiveSonar
passivesonar=AIlistener
sweep=270   ;arc of listening
If < 03011942 then
range=300

on and on and on..

If you get what I'm saying, please help me understand how to actually do this stuff.

Thanks,
Chad