Cannot Mod the AI

Please post here for questions and discussion about scenario design and general game modding. The graphics and scenarios are easily modifiable. Discuss your experiements in this area and get tips and advice!

Moderators: Joel Billings, JanSorensen

Post Reply
User avatar
sveint
Posts: 3837
Joined: Fri Jan 19, 2001 10:00 am
Location: Glorious Europe

Cannot Mod the AI

Post by sveint »

I'd have to say this is really weak. There is NO way to change any of the AI behavior except production. Without this creating mods will be for PBeM only.

Any remote chance this would be opened up to modding?
PDiFolco
Posts: 1195
Joined: Mon Oct 11, 2004 8:14 am

RE: Cannot Mod the AI

Post by PDiFolco »

Are you sure ? The AI.txt file contains entries for
- Limiting production for each player and unit types
- Research priorities
- And build orders according to nation/year/unit
I suppose the rest is hard-coded (ie threat evaluation, troops movement, attacks..) and will behave the same whatever the scenario. Maybe some AI tweaks have been done but assume scenarios will look like history, yet there seems to be room for modding ...
PDF
color
Posts: 324
Joined: Tue Jul 24, 2001 8:00 am
Location: Oslo, Norway

RE: Cannot Mod the AI

Post by color »

Sorry, guys.

Just confirmed this with Joel. The AI is incorporated into the executable, so it's not possible to configure it. The ai.txt file only contains information about AI production.

Jorgen
User avatar
sveint
Posts: 3837
Joined: Fri Jan 19, 2001 10:00 am
Location: Glorious Europe

RE: Cannot Mod the AI

Post by sveint »

It's understandable but unfortunate.

Let me have a look at the code ;)
Traveler
Posts: 115
Joined: Wed Mar 30, 2005 11:47 pm

RE: Cannot Mod the AI

Post by Traveler »

It'd be nice if therte was some way to convince PLAYER_JAP under ai control to NOT attack Hawaii; at least not untill say China is nailed down.
User avatar
sveint
Posts: 3837
Joined: Fri Jan 19, 2001 10:00 am
Location: Glorious Europe

RE: Cannot Mod the AI

Post by sveint »

Somthing as simple as AI priority weights in a parameter file would be great. Example....

[JAPAN]
HAWAII 50
INDIA 200 (AI will spend more resources towards India)

versus

[JAPAN]
HAWAII 150
INDIA 100 (AI will play more balanced)

without a peek at the code though there's no hope of knowing what can and cannot be done. Matrix need any volounteers help? (never thought I'd say that - earn good money programming)
Post Reply

Return to “Mods and Scenarios”