.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #1  
Old May 26th, 2004, 03:11 PM
Ragnarok-X's Avatar

Ragnarok-X Ragnarok-X is offline
Major General
 
Join Date: Jan 2004
Location: Germany / Bielefeld
Posts: 2,035
Thanks: 33
Thanked 18 Times in 12 Posts
Ragnarok-X is an unknown quantity at this point
Default Re: AI scripts suggestions for SE5

While i like both modding and AI designing, i have to admit the text you pasted is almost impossible to read for me. Is there any way to increase the size of the font or something like that (except pasting it elsewhere)
Reply With Quote
  #2  
Old May 26th, 2004, 06:04 PM
Aiken's Avatar

Aiken Aiken is offline
Major
 
Join Date: Jan 2004
Location: Taganrog, Russia
Posts: 1,087
Thanks: 0
Thanked 0 Times in 0 Posts
Aiken is on a distinguished road
Default Re: AI scripts suggestions for SE5

That's because of the my comments (started with //). I don't know how to change the size of the font, but I'll try to do something to make it more readable.

But if this theme is interesting for 2 men only...
Well I hope not.
Reply With Quote
  #3  
Old May 26th, 2004, 06:16 PM
Aiken's Avatar

Aiken Aiken is offline
Major
 
Join Date: Jan 2004
Location: Taganrog, Russia
Posts: 1,087
Thanks: 0
Thanked 0 Times in 0 Posts
Aiken is on a distinguished road
Default Re: AI scripts suggestions for SE5

I hope it looks better now.

[ May 26, 2004, 17:26: Message edited by: aiken ]
Reply With Quote
  #4  
Old May 27th, 2004, 01:34 AM
Aiken's Avatar

Aiken Aiken is offline
Major
 
Join Date: Jan 2004
Location: Taganrog, Russia
Posts: 1,087
Thanks: 0
Thanked 0 Times in 0 Posts
Aiken is on a distinguished road
Default AI scripts suggestions for SE5

I've decided to start this topic to get people to take part in development of AI script files for SE5 (or at least to try to do it). One can say that this initiative is too premature, due to big changes in SE5 engine compared to SE4 and new AI algorithms. Well, probably, but nevertheless I think that basic principles, such as design creation, construction of facilities and vehicles and research queueing (maybe) will remain invariable.

Maybe some of us pretty happy with current structure of the scripts, but as well I think that others find them too limiting.

If we will end up with some solid and promising solutions, it wouldn't be a shame to sent them to Aaron.

So please post your ideas, suggestions and ready-to-use schemes here. I hope it will be a productive discussion.

Unfortunately, I'm not very good in AI modding (except some basic skills in AI_DC modding), but I'll try to make an example of possible AI_DC file to begin with. Note, It's just a slight expansion of an existing scheme.
// - my comments
> - changed syntax
code:
  
Name := Blahblah
Design Type := Attack Ship
Vehicle Type := Regular Ship
// other values: Colony Ship, Transport, Carrier (not to mention
// Sattelite, Mine etc) to avoid mess with hull type detection
Default Strategy := Optimal Firing Range
Size Minimum Tonnage := 100
Size Maximum Tonnage := 180
Num Must Have At Least 1 Ability := 1
Must Have Ability 1 := Weapon
// Must Have Ability shouldn't add a comp to design, but work as a trigger: "to design or not to design"
// alternatively this trigger could depend of Comp Family instead of Ability:
> Num Must Have At Least 1 Comp Family := 1
> Must Have Family := 25**
// the asterisk could be used as the pattern, ie: 25** matches
// all values from 2500 to 2599; for use with weapon picks primarily
Minimum Speed := 3
// should be actuall Standard Movement amount, not amount of engines
Desired Speed := 6
// due to changes in game physical engine (we could get even newtonian movement!) this section is rather questionable
Majority Weapon Family Pick 1 := 2501
Majority Weapon Family Pick 2 := 2502
Majority Weapon Family Pick 3 := 2503
Majority Weapon Family Pick 4 := 2504
Majority Weapon Family Pick 5 := 2505
Secondary Weapon Family Pick 1 := 2551
Secondary Weapon Family Pick 2 := 2552
Secondary Weapon Family Pick 3 := 2553
Secondary Weapon Family Pick 4 := 2554
Secondary Weapon Family Pick 5 := 2555
// all values match the 25** pattern
> Majority Weapon Spaces Per One :=150
> Majority Weapon Mount := Small Ship Mount (or code: Ssm)
> Secondary Weapon Spaces Per One :=150
> Secondary Weapon Mount := Small Ship Mount (or code: Ssm)
// Last 4 lines could replace the current usage of Majority(Secondary) Comp Spaces Per One := Weapon; for use in warships
Shields Spaces Per One := 200
Armor Spaces Per One := 100
Majority Comp Spaces Per One := 150
Majority Comp Ability := Weapon
Secondary Comp Spaces Per One := 150
Secondary Comp Ability := Weapon
// as in example with Must Have Ability this line could be replaced by this:
> Majority Comp Family Spaces Per One := 0
> Majority Comp Family := 0
> Majority Comp Family Mount := 0
> Secondary Comp Family Spaces Per One := 0
> Secondary Comp Family := 0
> Secondary Comp Family Mount := 0
// actually this section can be deleted at all, because the hull type will be defined in Vehicle Type
// and weapons will have their own section (Major/Sec Wpn SPO)
Num Misc Abilities := 1
Misc Ability 1 Name := Supply Storage
Misc Ability 1 Spaces Per One := 10000
// would be nice to see real values possible here, not integer only, ie: 28.3
// or alternatevely:
> Num Misc Comp Family := 1
> Misc Family 1 Name := 14
> Misc Family 1 Spaces Per One := 10000
> Misc Family 1 Mount := 0
// same about real values

Why I'm so persistent about replacement of Abilities with Component Families in comp calls? Well, I just think it's more flexible, especially then you want to add several different comps with same ability (stacking comp with combat bonuses, for example). Of course it will make script less "human-friendly" (this can be avoided by implementing the comments into the scripts, like "//" or ";" ) and will force modders to be very careful about comp families, but I think where are more benefits than defects in such approach.

[ May 26, 2004, 17:32: Message edited by: aiken ]
Reply With Quote
  #5  
Old May 27th, 2004, 02:06 AM

Paul1980au Paul1980au is offline
Second Lieutenant
 
Join Date: Jan 2004
Location: Australia
Posts: 538
Thanks: 0
Thanked 0 Times in 0 Posts
Paul1980au is on a distinguished road
Default Re: AI scripts suggestions for SE5

Id still like to see the AI learn feature - ie say you are a specific username and each time you play the AI assigns points on what works againt you etc - it learns how you played and the scripts are able to have some "intelligence" to give you a greater challange each time you play. That is mush easier than now where the same tactics work every time, id like to see the AI a lot more experimental in its ship designs and be able to use a wide range of tactics.

Ie invasion, slash and burn (no invasion but kill all youre planets) defensive (mines and sats aroudn warp poitns) intel war - it pursues intel against youre planets, madman - pumps out massive ship numbers - captures techs but is weak on research.
Reply With Quote
  #6  
Old May 27th, 2004, 04:16 AM
Aiken's Avatar

Aiken Aiken is offline
Major
 
Join Date: Jan 2004
Location: Taganrog, Russia
Posts: 1,087
Thanks: 0
Thanked 0 Times in 0 Posts
Aiken is on a distinguished road
Default Re: AI scripts suggestions for SE5

Learning AI is no doubt would be a great improvement. But if Aaron is going to do it? It's questionable. Making such AI from the scratch (using neuronets or game theory algorithms) is a LOT of work, which is nearly impossible to do in a year.
Reply With Quote
  #7  
Old May 27th, 2004, 06:23 AM

TNZ TNZ is offline
Sergeant
 
Join Date: Jul 2003
Location: New Zealand
Posts: 252
Thanks: 0
Thanked 0 Times in 0 Posts
TNZ is on a distinguished road
Default Re: AI scripts suggestions for SE5

This idea may be a little out there, but why not make it possible for ships designed in the game by the player to be saved in the AI design creation file format. The must have at least 1 ability entry and weapon family pick entries could be changed manually.
Reply With Quote
  #8  
Old May 27th, 2004, 06:30 AM
Mephisto's Avatar

Mephisto Mephisto is offline
Brigadier General
 
Join Date: Sep 2000
Location: Frankfurt, Germany
Posts: 1,994
Thanks: 0
Thanked 0 Times in 0 Posts
Mephisto is on a distinguished road
Default Re: AI scripts suggestions for SE5

We'll see if a good script language will be included. It would be great since the Modders could adjust their races and learn the new tactics the Modders themselves learn while playing humans for example. But first of all we would need two crucial things for the AI: a) the ability to remember and b) the ability to adapt it's colonies, i.e. scrapping and re-building colonies base on the economic needs.

[ May 27, 2004, 12:12: Message edited by: Mephisto ]
__________________
For, in the final analysis, our most basic common link is that we all inhabit this small planet. We all breathe the same air. We all cherish our children's futures. And we are all mortal. - JFK
Reply With Quote
  #9  
Old May 27th, 2004, 06:39 AM
Aiken's Avatar

Aiken Aiken is offline
Major
 
Join Date: Jan 2004
Location: Taganrog, Russia
Posts: 1,087
Thanks: 0
Thanked 0 Times in 0 Posts
Aiken is on a distinguished road
Default Re: AI scripts suggestions for SE5

What's the purpose of this? Easier conVersion of particular ship designs into the ai_dc format or just a barter of ship designs between players?
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 03:03 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.