Bug 112471 - ai not functional when creating new maps
Summary: ai not functional when creating new maps
Status: RESOLVED FIXED
Alias: None
Product: boson
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: The Boson Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-12 13:16 UTC by Andreas Beckermann
Modified: 2005-09-16 17:41 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Beckermann 2005-09-12 13:16:30 UTC
Version:            (using KDE KDE 3.4.2)

When loading a map from a previous boson version the file converter adds a dummy .py file for every computer player, which imports the necessary functions from the global ai.py file.

However this basic ai is not added when creating new maps - so if you create a new map with the current boson version, the AI won't be working on that map.

The problem does not (well, should not at least) appear when saving an old file with the current version, as the scripts in memory are saved, too in that case.

CU
Andi
Comment 1 Andreas Beckermann 2005-09-16 17:41:55 UTC
Should be fixed.

CU
Andi