Outpost Universe Forums

Projects & Development => Outpost 2 Programming & Development => Topic started by: Eddy-B on March 19, 2006, 11:27:30 AM

Title: Scripter 0.4 Beta
Post by: Eddy-B on March 19, 2006, 11:27:30 AM
!! Volunteers wanted !![/b][/size]

Documentation (http://wiki.opu.org.uk/Scripter)
Scripter website (http://home.eddy-b.com/AI-Scripter/)

Current version is 0.4
Reports bug on the Scripter website please.
Title: Scripter 0.4 Beta
Post by: Jgamer on March 19, 2006, 12:08:46 PM
Heya! So, apparently I seemed unable to run the game I tested. I used your Test feature by the way.
I set the game as Colony and it didn't show up in the Colony Game screen
Title: Scripter 0.4 Beta
Post by: Eddy-B on March 19, 2006, 01:26:49 PM
I should probably include this in the documentation: Colony games MUST start with a "c" and multiplayer games with an "m".

If you rename the SET NAME="Example" to something like: SET NAME="C-Test" it will show up as a colony game.
Likewise: if you want it to show as a multiplayer game use something like "M-Test"... anything, as long it starts with an M.  I'll think it over if i want to make this hard-coded or not... maybe some of the coding experts want ot comment on that too..
Title: Scripter 0.4 Beta
Post by: Jgamer on March 20, 2006, 10:18:46 AM
My personal opinion is that you should do it so that depending on the type of game set with SET MISSIONTYPE it automatically fills in the name thing with the proper option

Note: Right now I was tryeing to get it to work, the mission went well when I tried 'fixing' the test one to work, then I went to mine own. It gave a strange error: "Scripter could not run C++ compiler. Please check your folder settings"
It worked just nice before I switched back to this file!
Title: Scripter 0.4 Beta
Post by: Jgamer on March 23, 2006, 05:03:15 PM
Okay, i've been having a strange problem. The example file that came with it seems to be compiled just right, however when I make one of my own the compiles fails. I'll place in the Files section of the forum the log and .ais that I made

Oh, yeah. And you have to actually name the save file .ais manually for it to save in .ais

Here (http://forum.outpostuniverse.net/index.php?act=ST&f=10&t=2766)
Title: Scripter 0.4 Beta
Post by: Eddy-B on April 23, 2006, 08:08:30 AM
I tackled your problem.
1) it compiles now into a runnable mission
2) the placement of buildings is off!  You've got to put the buildings in the right spots: if they cant fit the way you've coded them, op2 will just move the building to the closest position in which it WILL fit (all to the best guess of op2)

Version 0.5 has all previously mentioned bugs resolved, but will undoubtedly create new ones. At the moment it is not yet released, but will be soon enough..