.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 July 5th, 2002, 03:12 PM
geoschmo's Avatar

geoschmo geoschmo is offline
National Security Advisor
 
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
geoschmo is on a distinguished road
Default AI Design Creation Errors: ... Unknown value "Drone Attack" ...

Quote:
AI Design Creation Errors: c:\games\space empires iv gold\pictures\races\RACENAME_ai_designcreation.txt

Unknown value "Drone Attack" for Default Strategy in
record "Anti-ship Drone".
Unknown value "Drone Attack" for Default Strategy in
record "Anti-planet Drone".
I had heard of this before but never figured out exactly what it was before now. I appologize if this is not new information.

When a player sets up their empire files, if there is no "Drone Attack" strategy listed in the AI_Strategies.txt file for that shipset, then they will not see a "Drone Attack" strategy in their Empire Options-Strategies screen. These strategies then become part of the player record that is stored in the .gam file. The "AI_Design creation" files are not part of the .gam file, they are pulled from whatever machine is running the host portion of the turns, PBW in our case. The game attempts to reconcile the two records and thats when you get the error.

This will cause a PBW turn to fail, and if you run the turns offline that is when you will see the errors.

You don't have to restart the game because of this. You actually may never see the error pop up if the players always run their turns. It only happens when the AI tries to run the turn and only for a player that doesn't have the "Drone Attack" strategy. Usually this is because they created the .emp file using pre-Gold and the game is being played on Gold. You can run turns offline and ignore the errors. I have noticed they seem to stop after a few turns. I guess this is because the AI only checks the design creation file when it is making new designs. Since it does this every time it gets new tech I would expect the errors to resurface every so often, whenever one of the players affected gets a new tech.

A better fix would be to have these players go into their empire options, strageies screen and create a strategy called "Drone Attack". Once they do this the error should never come back for that player.

Or you can restart and have them give you an empire file created with Gold. But that wouldn't neccesarily be fair to the players in the game that setup their empires correctly, and is not nessecary if you use the fix above.

Geoschmo
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
Reply With Quote
  #2  
Old July 5th, 2002, 11:56 PM

sachmo sachmo is offline
Captain
 
Join Date: Jun 2002
Location: Texas, yall
Posts: 956
Thanks: 0
Thanked 0 Times in 0 Posts
sachmo is on a distinguished road
Default Re: AI Design Creation Errors: ... Unknown value "Drone Attack" ...

Geo,

I saw this the other day and it had me going loopy. I was cleaning up some races I had downloaded to gold, and thought I had solved everything, when a game with the Colonials gave this error each turn. Thanks for the info!
Reply With Quote
  #3  
Old July 6th, 2002, 07:46 AM
Q's Avatar

Q Q is offline
Colonel
 
Join Date: Jan 2001
Posts: 1,661
Thanks: 0
Thanked 0 Times in 0 Posts
Q is on a distinguished road
Default Re: AI Design Creation Errors: ... Unknown value "Drone Attack" ...

This may be a stupid question, but what's the use of the standard "drone attack" strategy anyway?
Isn't the same as "ram"??
Reply With Quote
  #4  
Old July 7th, 2002, 12:34 AM
capnq's Avatar

capnq capnq is offline
General
 
Join Date: Feb 2001
Location: Pittsburgh, PA, USA
Posts: 3,070
Thanks: 13
Thanked 9 Times in 8 Posts
capnq is on a distinguished road
Default Re: AI Design Creation Errors: ... Unknown value "Drone Attack" ...

Quote:
what's the use of the standard "drone attack" strategy anyway?
Isn't the same as "ram"??
No; if you look at AI\Default_AI_Strategies.txt, they have different secondary movement strategies; however "Ram" and "Kamikaze" are identical.

You should customize the strategies to suit your preferred designs and tactics. For example, you could have anti-ship drones ram, while anti-planet drones kamikaze, and some third drone design without warheads uses drone attacks, all with different targeting priorities.
__________________
Cap'n Q

"Good morning, Pooh Bear," said Eeyore gloomily. "If it is a good morning," he said. "Which I doubt," said he.
Reply With Quote
  #5  
Old July 7th, 2002, 01:34 AM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: AI Design Creation Errors: ... Unknown value "Drone Attack" ...

Hmm... I have sparked Geoschmo to make a new post here.
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #6  
Old July 7th, 2002, 07:43 AM
Q's Avatar

Q Q is offline
Colonel
 
Join Date: Jan 2001
Posts: 1,661
Thanks: 0
Thanked 0 Times in 0 Posts
Q is on a distinguished road
Default Re: AI Design Creation Errors: ... Unknown value "Drone Attack" ...

Quote:
Originally posted by capnq:
quote:
what's the use of the standard "drone attack" strategy anyway?
Isn't the same as "ram"??
No; if you look at AI\Default_AI_Strategies.txt, they have different secondary movement strategies; however "Ram" and "Kamikaze" are identical.

You should customize the strategies to suit your preferred designs and tactics. For example, you could have anti-ship drones ram, while anti-planet drones kamikaze, and some third drone design without warheads uses drone attacks, all with different targeting priorities.

But the secondary strategy will hardly ever be used when the first strategy is "ram"! It is clear that you can modify different strategies for your specialized drone designs (e.g. drones with weapons) with different targeting priorities, but wouldn't it be the easiest fix if you choose "ram" as the standard strategy for drones?
Reply With Quote
  #7  
Old July 7th, 2002, 04:26 PM

Baron Munchausen Baron Munchausen is offline
General
 
Join Date: Aug 2000
Location: Ohio, USA
Posts: 4,323
Thanks: 0
Thanked 0 Times in 0 Posts
Baron Munchausen is on a distinguished road
Default Re: AI Design Creation Errors: ... Unknown value "Drone Attack" ...

I wish drones would form up into some sort of recognizable formation and move in a coordinated fashion. The best way to make effective attacks with them is to send large numbers ('mass quantities' as the Coneheads would say) and when moving in those haphazard clouds they often get in each other's way. They ought to be sorted into their moving order before they appear in combat so they can move and attack simultaneously. The traffic jams that they frequently get into only make it easier for their targets to shoot them down.

[ July 07, 2002, 15:40: Message edited by: Baron Munchausen ]
Reply With Quote
  #8  
Old July 7th, 2002, 09:14 PM
capnq's Avatar

capnq capnq is offline
General
 
Join Date: Feb 2001
Location: Pittsburgh, PA, USA
Posts: 3,070
Thanks: 13
Thanked 9 Times in 8 Posts
capnq is on a distinguished road
Default Re: AI Design Creation Errors: ... Unknown value "Drone Attack" ...

That's one of the things on my wish list for hardcode changes: improved pathfinding algorithms, especially in combat.
__________________
Cap'n Q

"Good morning, Pooh Bear," said Eeyore gloomily. "If it is a good morning," he said. "Which I doubt," said he.
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 01:36 PM.


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