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

This Month's Specials

Air Assault Task Force- Save $8.00
winSPWW2- Save $5.00

   







Go Back   .com.unity Forums > The Camo Workshop > WinSPWW2
Notices


Reply
 
Thread Tools Display Modes
  #1  
Old February 8th, 2019, 04:28 PM
ErikCumps's Avatar

ErikCumps ErikCumps is offline
Corporal
 
Join Date: Jan 2019
Location: Leuven, Belgium
Posts: 70
Thanks: 27
Thanked 89 Times in 29 Posts
ErikCumps is on a distinguished road
Default Re: OT: looking for zovs66

No hard game data is used for the influence calculation, it is not as such recorded in the savegame.
At least not that I know. If it was in there I would have used it.

Instead it's a very simple heuristic where for each hex a blue and red influence value is calculated and the highest value wins.

Each blue and red unit contributes to the total blue and red influence value, with modifiers for distance, unit readiness
and relative height difference.

The frontline is basically the edge between the blue and red influence zones.

As I said it is caluclated based on data in the savegame:
the battle does not have to be concluded, nor do you need savegames for all the turns of the battle.
Reply With Quote
  #2  
Old February 9th, 2019, 11:21 AM
ErikCumps's Avatar

ErikCumps ErikCumps is offline
Corporal
 
Join Date: Jan 2019
Location: Leuven, Belgium
Posts: 70
Thanks: 27
Thanked 89 Times in 29 Posts
ErikCumps is on a distinguished road
Potion Re: OT: looking for zovs66

Quick note: unit readiness is also a synthetic value, there is no such thing in the savegame data.

The calculation of the unit readiness is based on:
Code:
/*
 * A unit's readiness is influenced by:
 *    damage        more damage means less readiness
 *    headcount     less available effectives means less readiness
 *    suppression   more suppression means less readiness
 *    abandonment   means total loss of readiness (-100%)
 *    crew          means significant reduction of readiness (-90%)
 *    status        additional readiness reduction
 */
The suppression impact is calculated by deducting the unit's suppression from its morale: (morale - suppression) / morale.
The result is capped at zero, so that it cannot become negative.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 08:29 PM.


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