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

This Month's Specials

BCT Commander- Save $8.00
winSPWW2- Save $5.00

   







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


Reply
 
Thread Tools Display Modes
  #1  
Old May 3rd, 2013, 01:55 PM

Pfor Pfor is offline
Private
 
Join Date: Sep 2012
Posts: 31
Thanks: 7
Thanked 7 Times in 7 Posts
Pfor is on a distinguished road
Default Invisible Costs

For some inexplicable reason, I was scrolling through the Cost Calculator the other day and came across some engineer tanks where the 'Extras' cost was 800 (fair enough) but there was also an additional 800 buried in the cross-add of Base + Ammo + ? = Cost + Extras = Total cost.

Rather than closing my eyes and backing slowly away - never to return - I wondered what this might be for, and saw that it affected a number of different unit classes ... ?

(USA OOB 12 Lines 196-199)
Reply With Quote
  #2  
Old May 3rd, 2013, 03:27 PM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,227
Thanks: 3,798
Thanked 5,390 Times in 2,687 Posts
DRG will become famous soon enough
Default Re: Invisible Costs

At first glance it does appear to be a double charge but that may be intentional to do that. I'll leave this one to Andy as the CC is his baby


Don
Reply With Quote
  #3  
Old May 3rd, 2013, 06:39 PM
Mobhack's Avatar

Mobhack Mobhack is offline
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 5,929
Thanks: 440
Thanked 1,853 Times in 1,217 Posts
Mobhack is on a distinguished road
Default Re: Invisible Costs

Those values were put in for debug many years back. Some of the new values added over the years may not be added in to that total field - I have not bothered to keep it in synch.

Raw points values in the calc get divided by the overall divisor - by 40 I think, to get the final value. (a ~40 point Sherman would thus be 1600 or so points internally).

800/40 -> the added cost (in final points) for an engineer vehicle is about 20 points.

I'll have a look at that some day - and probably also remove the debug info as it was for code working only, but I'll check its totalising correctly as well.

Andy
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:23 AM.


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