View topic - Single-Player Frontend WIP


All times are UTC + 1 hour


Post new topic Reply to topic  [ 16 posts ] 
Author Message
PostPosted: 03 Dec 2005, 06:31 
User avatar

Joined: 25 Jan 2005, 19:23
I'm working on a quick and shoddy front-end for Spring Single-player.

The first version will be all 2-d, with a 'Dynaverse' (Think offline PW), and eventually random mission scripting with RPG elements. Eventually, I want to include suppourt for AA and FF at once, AA for ground combat, and FF for space combat, intercepting fleets en rute to planets and the such, even building orbital defenses and GG jammers.

But first, I'm just trying to get the d**n thing to work right. :P

I'll post pics when it's working. So far it's intellegently creating the start script files and linking them to the AI DLLs I want it to. Next up is the graphical interface (WIP as I type) and then the map loading. If anyone has any questions/suggestions, feel free to post them.

BTW, is there any easy way to know if the local player won the last game, so I don't have to have it search teh entire game log? TY.
Top
 Offline Profile  
 
 Post subject:
PostPosted: 03 Dec 2005, 11:14 

Joined: 13 May 2005, 10:01
Location: Oslo, Norway
YAY!! YAY!!! YAY!!!!!
Top
 Offline Profile  
 
 Post subject:
PostPosted: 03 Dec 2005, 14:39 
User avatar

Joined: 17 Nov 2004, 20:19
Location: Behind You! :evil:
i really wanted OTA missions first oh well gl :)
Top
 Offline Profile  
 
 Post subject:
PostPosted: 03 Dec 2005, 18:07 
AI Coder
User avatar

Joined: 14 Sep 2004, 10:32
Location: Cookieland
Aha, I can add to the NTAI dll itnerface any bits you need. I've bene thinking I might add a bti that returns a html formatted string with NTAI the version number and a description. I could also rig it to log to a second file wether it won or not. Another possibility would be looking at the demo recording.

This all seems similair to my Spring: Total War diea, but that thread got hijacked so i gave up.
Top
 Offline Profile  
 
 Post subject:
PostPosted: 03 Dec 2005, 19:36 
Moderator
User avatar

Joined: 24 Jul 2005, 03:15
Location: Elsewhere, Iowa
Perhaps it would better to use Caydr's GEM for the space combat instead?
Top
 Offline Profile  
 
 Post subject:
PostPosted: 03 Dec 2005, 20:09 
User avatar

Joined: 25 Jan 2005, 19:23
Alantai Firestar wrote:
Aha, I can add to the NTAI dll itnerface any bits you need.


Actually, I could use a little help. Could you add a little bit that if the player wins, it creates a text file called PlayerWin.flg, and if player looses it creates one called PlayerLoose.flg? That would be most helpful, as I can't think of any other way than loading the whole game log and looking for what word is near the player's name.

Progress so far:


    It is dynamically creating scripts
    It is loading Spring
    It has different planet sprites for different maps
    It is randomly loading different planets
    It can load different mods
    It is compiling to ONE small file

    It is/will not load Spring's data files
    It is/will not detect new maps
    It is not making it's own missions yet
    It is does not have any strategic/RPG elements yet
    It is not randomly naming the different planets yet (damn string variables)

As promised, a worthless screenshot. (Can somone give me a new cursor JPEG? I'm lazy. :roll: )

Image

[edit]Oh yeah, 2 things: I'd DEFINATELY use Caydr's mod when he gets it done; and the maps I've imported so far: (Feel free to suggest more)

    Small Devide
    Castles
    Blue Planet
    The Cold Place
    Core Prime Industrial Area
    Comet Catcher


Last edited by Slamoid on 03 Dec 2005, 20:13, edited 1 time in total.
Top
 Offline Profile  
 
 Post subject:
PostPosted: 03 Dec 2005, 20:10 
User avatar

Joined: 05 Jun 2005, 18:13
Location: NL
Maybe it's better to build a SP starter with the new gui components, so it's integrated into spring,
but it's nice to see someone working on this anyway 8)

EDIT: Nice, I see that it's going to be more than just a Singleplayer AI launcher, so maybe a seperate app is better :)
Top
 Offline Profile  
 
 Post subject:
PostPosted: 03 Dec 2005, 20:42 
User avatar

Joined: 31 Aug 2005, 12:00
Location: On enough caffeine to kill ten and a HALF horses.
Slamoid wrote:
    Small Devide
    Castles
    Blue Planet
    The Cold Place
    Core Prime Industrial Area
    Comet Catcher


Mountain Siege! It's very hilly and can be won with unusual tactics :)
Top
 Offline Profile  
 
 Post subject:
PostPosted: 03 Dec 2005, 21:53 
User avatar

Joined: 17 Nov 2004, 20:19
Location: Behind You! :evil:
Painted Desert remake
Comet Catcher
Greenhaven
Mars
River Dale and its parts
Flooded Desert
Sands of War
Plains and Passes
Cliffdown
Volcano Island
to name a few
Top
 Offline Profile  
 
 Post subject:
PostPosted: 04 Dec 2005, 00:39 
Omnidouche
User avatar

Joined: 16 Oct 2004, 18:40
Location: Canada
Not sure how well g/e/m will work for this sort of thing. The units have nothing to do with the TA universe and, at least in the initial release, there will probably only be one side.
Top
 Offline Profile  
 
 Post subject:
PostPosted: 04 Dec 2005, 17:33 
AI Coder
User avatar

Joined: 14 Sep 2004, 10:32
Location: Cookieland
Actualyl nwo i see that adn what zaphodsaid It wouldnt be that hard to make ti start a new game using the player with a globalAI helper that showed an itnerface. That way you could sue all the graphcis the game has and have big real 3D planets rotating etc, adn stars etc.

The necessary tools to get a GUI working on the map are there, I cna only think that there'd be need for an exit command in the AI interface toher than NTAI's fabled ".Crash" command.

I'll make the next version of NTAI write a crash.flg, then if it ends it'll write a second file either playerwin.flg or playerlost.flg.

If you do decide to go for Ingame GUI or you use 3D planets, there are hundreds of 3rd party free textures for ST:Armada 2 planets that can just be applied to a sphere ro ellipse for a decent planet affect.
Top
 Offline Profile  
 
 Post subject:
PostPosted: 06 Dec 2005, 05:28 
User avatar

Joined: 15 Dec 2004, 20:53
Location: London
Slamoid wrote:
... (Can somone give me a new cursor JPEG? I'm lazy. :roll: )
...

Try posting a request in the Art forum!? (even though you shouldn't keep high expectations)
Top
 Offline Profile  
 
 Post subject:
PostPosted: 06 Dec 2005, 06:03 
User avatar

Joined: 25 Jan 2005, 19:23
Well, progress is coming along fairly well. NTAI will be the only one suppourted for now, and I will release the source code.

The good/bad news: It's not C++. It's not even a dedicated programming language. It's built in Game Maker 4, a free hobbyist programming suite. Honestly, I'm amazed it got so far! It's almost a whole dynaverse already. There's alot to be implamented, and it's EASY to program, so I'll just release a beta + source code soon. I hope everyone enjoys it!!

Beta 0.01 to be released soon. It chooses a map for you and launches spring. Framework is there for *FAR* more, but I'm loosing interest, so I'd better let somone else take it from here before I delete it. I hope somone looks into the builder, as it reads/writes text files easily, so you can also dynamically create LUA missions (as was my intention), but I don't know how to launch Spring's LUA missions from prompt.

Good luck. :lol:

PS: You can download the 4.3b version I'm using free from here. I reccomend trying it first.
Top
 Offline Profile  
 
 Post subject:
PostPosted: 06 Dec 2005, 07:13 
User avatar

Joined: 23 Jul 2005, 13:52
Well once you get a basic version working, I will be happy to port it to VB. More people will probably know that language. Unless someone wants to port it to C++ or something.

Anyways, once you get it working ill try and clone it into VB, if you dont feel like working on it anymore.
Top
 Offline Profile  
 
 Post subject:
PostPosted: 07 Dec 2005, 20:34 
AI Coder
User avatar

Joined: 14 Sep 2004, 10:32
Location: Cookieland
hmmm, I think i know a way you can get along without any NTAI support.

The game saves all the console emssages to InfoLog.txt. This includes messages saying a player has bene killed and which player that is. You can just search for ti and hey presto you knwo wetehr a player has won or lost. You could fidn ti useful to know what the player had left at the very end though if nubmers of untis matters affectign the dynaverse thing....
Top
 Offline Profile  
 
 Post subject:
PostPosted: 11 Dec 2005, 09:19 
User avatar

Joined: 12 Oct 2005, 16:32
Location: Uguu~~
if we put our 1337 skills to this one, we could get a boneyards-style interface, that would seriously rock :). it could change mods depending on where the battle takes place, and what mods are available, etc (AA, FF, XTA).
Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Site layout created by Roflcopter et al.