Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! Clones, Extensions, Modding » FreeStars » Ground Combat
Ground Combat Thu, 12 June 2003 13:03 Go to previous message
LEit is currently offline LEit

 
Lt. Commander

Messages: 879
Registered: April 2003
Location: CT
In looking at ground combat with more then two races, I've found things get complex. In Posey's spreadsheet there are formulas that Bill Butler figured out for how it works and how he thinks it should work. (Note the spreadsheet is wrong about the effects of defenses, they don't divide the attackers, they multiply the defenders. In an even battle, or where the defense wins, it works out the same. But in an overwelming attack, it isn't the same)

Briefly summarized they are:
How it works:
all attackers fight the defender, then they fight it out based on player #.

How Bill Butler suggested it be fixed:
all attackers fight the defender, then the biggest fights the 2nd biggest, all others are ignored


I have another idea:
Friend status is checked, if a races is a friend of the defender it will fight others who arn't friends of the defender first.
Then defender fights all remaining (even his friends if they won the first part).
If defender is defeated, all survivors fight it out.
All fights are in order from weakest to strongest, doing damage in proportion of each enemy to total enemies.

Damage and strength is in strength units which is based on population with modifiers for PRT (WM, IS, and AR), general attacker bonus, and defenders defense bonus.

For example if race A drops 10000 strength and is a friend of the defender, and there are two attackers (B and C) with 20000 and 30000, then the first round A will fight B and C in proportion to their total strength: He will send 40% to fight B, and 60% to fight C, leaving B with 16000 and C with 24000. If the defender (D of course) also has 10000 he will do 40% to B and 60% to C, leaving B with 12000 and C with 18000. Then B and C will fight, leaving C with 6000 and possesion of the world.



The question is, which method should FreeStars use? I like the last one because it uses player relations and takes all combatants into effect.



- LEit

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Open source?
Next Topic: FreeStars AI will be?
Goto Forum:
  


Current Time: Sat May 11 11:34:53 EDT 2024