Very Simple Combat

General Discussion
mriddle
Commander
Commander
Posts: 102
Joined: Wed Oct 17, 2007 11:12 am
Location: Charlotte, NC

Post by mriddle »

here is the proposed version #2
FTYPE, <ID>, <DV>, <AS>, <AF>, <AS BONUS>, <AF BONUS>
STYPE, <ID>, <DV>, <AS>, <VALUE>,
WING,<SIDE>, <ID>, <FTYPE>,<COUNT>, [Mods AF,AS,DV, AS_ONLY, AF_ONLY]
SHIP, <SIDE>, <SQUAD>, <ID>, <STYPE>, <CRIPPPLED>, [Mods AF,AS,DV, VA, DAM]
SIDE,<SIDE>,<READINESS>, <LENGTH>, <AGGRESSION>
BATTLE, <LENGTH MOD>

Mods are in the syntx
<stat>=[+/-]<modifier>
ie AF = -2 means -2 to that ship or wing's AF (per flight)
AF =2 means the AF is OVERRIDDEN to 2.

while a single ship stat can be modified multiple times, order is important if using the OVERRIDE
ie AF =+2, AF=+1, AF =2
is going to set the AF to 2
while
ie AF =+2, AF=+1
is going to add 3 to the type's AF


Damage now defaults to 0 and can be modified

Mike
User avatar
andstrauss
Lieutenant
Lieutenant
Posts: 46
Joined: Tue Nov 06, 2007 4:39 pm
Location: São Paulo, SP, Brazil
Contact:

Post by andstrauss »

Looks good. Out of Supply Level seems very important too, or can I simulate it using damage?
Formation bonus seems useless, as you can't direct damage. Unless you use the aggression modifier as a way to make more direct shots to the most costly units.

As for value, Gareth asked, I think it's the EP cost of building the unit. Right?

Cheers,
mriddle
Commander
Commander
Posts: 102
Joined: Wed Oct 17, 2007 11:12 am
Location: Charlotte, NC

Post by mriddle »

andstrauss wrote:Looks good. Out of Supply Level seems very important too, or can I simulate it using damage?
Formation bonus seems useless, as you can't direct damage. Unless you use the aggression modifier as a way to make more direct shots to the most costly units.

As for value, Gareth asked, I think it's the EP cost of building the unit. Right?

Cheers,
I am not using formation bonuses, because only flights use directed damage

OOS can be handled by overriding/modifing AS and DV as needed

Cost is a reasonable value for value (no pun intended..), it is what I will use.
mriddle
Commander
Commander
Posts: 102
Joined: Wed Oct 17, 2007 11:12 am
Location: Charlotte, NC

Post by mriddle »

http://www.rsolutionsnc.com/auto_battle_resolver/
has been updated with the "ship class" change..

Mike
Gareth_Perkins
Captain
Captain
Posts: 242
Joined: Wed Oct 10, 2007 11:39 am
Location: Exeter; UK

Post by Gareth_Perkins »

Cool,

What is the range of values for 'value' (0-10?),

If a player has specified that he wants to target carriers how much should I add to the carriers value to reflect this?
Gareth Lazelle
mriddle
Commander
Commander
Posts: 102
Joined: Wed Oct 17, 2007 11:12 am
Location: Charlotte, NC

Post by mriddle »

Gareth_Perkins wrote:Cool,

What is the range of values for 'value' (0-10?),

If a player has specified that he wants to target carriers how much should I add to the carriers value to reflect this?
Value range is unlimited, it is used relative to other ship's values..

Short answer is you can not target high value targets due to a feature I failed to implement. To implement this well, I would need a "value" for defender and attacker, and apply formation bonuses.. (I intend to get there but need a time..)


when defender assigns damage the ships in the squadron are sorted in ascending order. and damage is assigned to lowest valued ship first.

when attacker assigns damage the ships in the squadron are sorted in descending order and damage is assigned the highest valued ship first. (NOTE just discovered while reading the code, I did not implement this)

Note that cripples are values are raised by 50%, making the defender tend to cripple ship than destroy and attacker tend to destroy cripples than damage undamaged ships.

Currently ship firing on ship AS do not use directed damage.

So only flights get to pick on "high value targets"..(NOTE just discovered while reading the code, I did not implement this.. So currently high value targets can not be targetted by the firer..)

value is also used to assign the "location" of defending fighter wings.
the value of each squadron is used to generate a random weighted distribution. (ie given 3 squadrons with values of (20,20,40), a defending wing has a 25% percent change to be assigned to squadron 1 or 2 and a 50 % chance to be assigned to squadron 3)

Mike.
mriddle
Commander
Commander
Posts: 102
Joined: Wed Oct 17, 2007 11:12 am
Location: Charlotte, NC

Post by mriddle »

http://www.rsolutionsnc.com/auto_battle_resolver/ has been updated..

It is still a one shot deal but we have added some targeting option, and some control over flight assignment.

comments welcome..

I am working on the one round at a time solution..

Mike
User avatar
virtutis.umbra
The Critic
The Critic
Posts: 207
Joined: Fri Jul 29, 2011 1:50 am
Contact:

Re: Very Simple Combat

Post by virtutis.umbra »

I really like this Resolver tool; but has anybody found a way to account for scouting factors in a satisfying way? I don't see a way to consistently account for any of the possible scouting missions:

Increase/Lower Formation Bonus (Formation Bonus is ignored)
Halving an enemy's combat factors (this is the closest to workable, one could just modify the affected ship's stats; but if the scout ship got destroyed that effect would end.)
Fleet Support (no way to apply a blanket modifier to an entire round's AS damage outcome)

Is there some tweak I should make to units' Value or other stats that would closely approximate Formation Bonus or Fleet Support? How do you handle this?
-Patrick
crit·ic /ˈkritik : Someone who knows the way but can't drive the car. -- Kenneth Tynan
mriddle
Commander
Commander
Posts: 102
Joined: Wed Oct 17, 2007 11:12 am
Location: Charlotte, NC

Re: Very Simple Combat

Post by mriddle »

Yeah I just ignored scouts.
that was one of those "too many in combat choices" deals..

Mike
Post Reply