Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

1.5.1 Disband manpower bug?

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [Current Games From Matrix.] >> [World War I] >> Commander - The Great War >> Tech Support >> 1.5.1 Disband manpower bug? Page: [1]
Login
Message << Older Topic   Newer Topic >>
1.5.1 Disband manpower bug? - 8/4/2014 4:14:19 PM   
jrone

 

Posts: 7
Joined: 8/30/2006
Status: offline
Searched forums but did not find anything on this so maybe it is intended.
Anyways if you disband a unit Mp is calculated using .costPP as base (see code below).
For exemple if Austria disbands their BB they get 124 Mp. If you disband a garrison you get 10 Mp back etc.



function GetDisbandRefund(unit)
local PPrefund
local MPrefund
if unit.type ~= Unit.NAVAL then
if unit.hex.originalFaction.alliance.id == unit.faction.alliance.id then
if unit.hex.originalFaction.id == unit.faction.id then
PPrefund = math.floor(unit.prototype.costPP * unit.hp * 50 / 10000)
else
PPrefund = math.floor(unit.prototype.costPP * unit.hp * 25 / 10000)
end
else
PPrefund = 0
end
if unit.hex.originalFaction.alliance.id == unit.faction.alliance.id then
if unit.hex.originalFaction.id == unit.faction.id then
* MPrefund = math.floor(unit.prototype.costPP * unit.hp * 100 / 10000)
else
* MPrefund = math.floor(unit.prototype.costPP * unit.hp * 50 / 10000)
end
else
MPrefund = 0
end
else
PPrefund = math.floor(unit.prototype.costPP * unit.hp * 50 / 10000)
* MPrefund = math.floor(unit.prototype.costPP * unit.hp * 100 / 10000)

return PPrefund, MPrefund
end


< Message edited by jrone -- 8/4/2014 5:16:39 PM >
Post #: 1
RE: 1.5.1 Disband manpower bug? - 8/4/2014 7:34:44 PM   
Vyper

 

Posts: 23
Joined: 10/24/2009
Status: offline
I don't think getting MP back from disbanding is currently working. I actually got through my first single player campaign this weekend, and in the end game the CP powers started to disband the massive armies I had returning from Russia....and 0 MP increases (Except for a very small seasonal increase in MP, which I'm guessing is just a part of the game).

Seems like bad bait though...doesn't the game messages say disbanding a BB flotilla cost 30% National Morale?

(in reply to jrone)
Post #: 2
RE: 1.5.1 Disband manpower bug? - 8/4/2014 8:05:48 PM   
jrone

 

Posts: 7
Joined: 8/30/2006
Status: offline
It is working but...
If your unit is inside its original country borders you get 100% refund of MP and 50 % of PP.
If your unit is inside orginal alliance borders but outisde its own country you get 50% refund of MP and 25 % of PP.
Any other case and you get 0.

Naval units don't have these restrictions they just need to be in a port and always yield 100% of MP and 50% of PP.

The bug lets you trade PP for manpower if you wish though. You can build artillery for 50 PP and 5 MP and disband it for 25 PP and 50 MP as long as it stays inside its original country border. Or build a submarine for 22 PP and 1 MP and disband it for 11 PP and 22 MP. I agree that disbanding the BB is not a smart move though .

(in reply to Vyper)
Post #: 3
RE: 1.5.1 Disband manpower bug? - 8/4/2014 8:07:21 PM   
kirk23


Posts: 2885
Joined: 10/15/2010
From: Fife Scotland
Status: offline
This has been rectified in the next Game Play patch I'm working on now cheers.when it should have been returning MP it has been returning addition PP.

_____________________________

Make it so!

(in reply to Vyper)
Post #: 4
RE: 1.5.1 Disband manpower bug? - 8/4/2014 8:11:46 PM   
jrone

 

Posts: 7
Joined: 8/30/2006
Status: offline
Thanks, good to know.
Though it is returning MP and not extra PP. Just alot of extra MP .

(in reply to kirk23)
Post #: 5
RE: 1.5.1 Disband manpower bug? - 8/4/2014 8:17:36 PM   
kirk23


Posts: 2885
Joined: 10/15/2010
From: Fife Scotland
Status: offline
The disband problem was discussed in this thread a couple of weeks back,you can read about it here.

http://www.matrixgames.com/forums/tm.asp?m=3659671

_____________________________

Make it so!

(in reply to jrone)
Post #: 6
RE: 1.5.1 Disband manpower bug? - 8/4/2014 8:22:03 PM   
jrone

 

Posts: 7
Joined: 8/30/2006
Status: offline
Oh sorry I must have missed that thread somehow when I did a search.
Nevermind then nothing to see here .

(in reply to kirk23)
Post #: 7
Page:   [1]
All Forums >> [Current Games From Matrix.] >> [World War I] >> Commander - The Great War >> Tech Support >> 1.5.1 Disband manpower bug? Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

1.715