|
|
|
Notices |
Do you own this game? Write a review and let others know how you like it.
|
|
August 12th, 2005, 01:19 PM
|
Private
|
|
Join Date: Jun 2005
Posts: 36
Thanks: 0
Thanked 2 Times in 1 Post
|
|
Utility to Adjust OOB Values
I have written a VB6 program that allows the user to adjust the value of an entire OOB by entering a cost multiplier. For instance, to make all units available at 80% of the original cost, enter a cost multiplier of "0.8". The original file will be automatically backed up.
Attached is a screenshot of the utility.
If forum moderators give me permission, I'll upload the util (8KB rar) to this thread.
|
August 13th, 2005, 10:13 AM
|
|
National Security Advisor
|
|
Join Date: Mar 2005
Location: Dundee
Posts: 5,956
Thanks: 465
Thanked 1,899 Times in 1,237 Posts
|
|
Re: Utility to Adjust OOB Values
Quote:
jvankessel said:
I have written a VB6 program that allows the user to adjust the value of an entire OOB by entering a cost multiplier. For instance, to make all units available at 80% of the original cost, enter a cost multiplier of "0.8". The original file will be automatically backed up.
Attached is a screenshot of the utility.
If forum moderators give me permission, I'll upload the util (8KB rar) to this thread.
|
Just adjusting the scaling factors in the cost calculator should let you do that, if you feel the need to do so (and that will let you adjust by individual unit class as well). Plus - you can load or save your scaling factor set as a file from that tab of the CC. Scaling factor is a divisor as I recall - to make cheaper, you will need to increase the divisor value.
Cheers
Andy
|
August 13th, 2005, 12:10 PM
|
Private
|
|
Join Date: Jun 2005
Posts: 36
Thanks: 0
Thanked 2 Times in 1 Post
|
|
Re: Utility to Adjust OOB Values
No, it doesn't. The scaling factor works on everything (armor, vision, etc.) except the ammo loadout.
Example - Obat12.obf - M24 Chaffee:
Scaling 40: Base=1585 Ammo=459 Cost=2044/40 >> Scaled Value=51
Scaling 80: Base=3155 Ammo=459 Cost=3614/80 >> Scaled Value=45
With regards to unit classes, I might implement that in a later version. For the moment I just need to take 10% of an oob and this does the trick.
Can I upload the utility?
|
August 14th, 2005, 04:08 PM
|
Private
|
|
Join Date: Jun 2005
Posts: 36
Thanks: 0
Thanked 2 Times in 1 Post
|
|
Re: Utility to Adjust OOB Values
Well, here it is then. It's 15kb as I've included the source code. The readme.txt is there for a reason, so don't forget to read it. :-)
|
August 28th, 2005, 03:38 PM
|
|
National Security Advisor
|
|
Join Date: Mar 2005
Location: Dundee
Posts: 5,956
Thanks: 465
Thanked 1,899 Times in 1,237 Posts
|
|
Re: Utility to Adjust OOB Values
I've added a scaling field to the new cost calculator which will be coming out in the patch.
It is applied after the scaling factors and is an overall multiplier. Set to 1.0 by default - use 0.8 to scale the final costs to 80%, 0.5 for 50%, 1.25 for 125% etc, then hit recalculate, or load a fresh OOB and it will apply to the calculation made on OOB load.
Applies to the current calculations - so a batch calculation of all OOBS will get the same overall multiplier as set in the field in the scalings tab.
Cheers
Andy
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|