adding population bug

View previous topic View next topic Go down

adding population bug

Post by Karchedon on Fri Aug 16, 2013 3:41 am

I usually add population in population.lua file. When I changed all values x5 crew system stop working. In normal complex and ce 8.5.2 it works correctly with my change. Do you know how to fix it?
Here are values which i changed:
function population()
--determina quanti piloti/ufficiali vengono aggiunti ad ogni avanzamento di grado, basato sul parametro unitcapsrank
local pilottoadd = 500
local officertoadd = 25
if unitcapsrank == 4 then
pilottoadd = 650
officertoadd = 50
elseif unitcapsrank == 3 then
pilottoadd = 550
officertoadd = 30
elseif unitcapsrank == 2 then
pilottoadd = 500
officertoadd = 25
elseif unitcapsrank == 1 then
pilottoadd = 450
officertoadd = 20
else
pilottoadd = 500
officertoadd = 25
end
i saved file in Data\leveldata\multiplayer\lib


ok, override population.lua disable crew system even if it is pure file which i took from .big. what the hell? Does it need any more files from .big to work correctly?

Karchedon

Posts : 2
Reputation : 0
Join date : 2013-08-16

Back to top Go down

Re: adding population bug

Post by Nakamura on Fri Aug 16, 2013 10:43 am

We no longer use low unit caps. Remove 
elseif unitcapsrank == 3 then 
pilottoadd = 550 
officertoadd = 30 
elseif unitcapsrank == 2 then 
pilottoadd = 500 
officertoadd = 25 
elseif unitcapsrank == 1 then 
pilottoadd = 450 
officertoadd = 20 
avatar
Nakamura

Posts : 1233
Reputation : 19
Join date : 2013-03-01
Age : 24
Location : Norway

http://www.moddb.com/mods/hw2rebirth

Back to top Go down

Re: adding population bug

Post by Karchedon on Fri Aug 16, 2013 1:46 pm

Thank you man, now everything is working correctly:)

Karchedon

Posts : 2
Reputation : 0
Join date : 2013-08-16

Back to top Go down

Re: adding population bug

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum