Jump to content

gotyai

Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About gotyai

  • Rank
    On the Coast
  1. Hello dear community, I want to accelerate base building (the wall building part) in my private server, for testing things. I have already succeed to accelerate the barbed wire mounting for example by changing the value of : const float DEFAULT_DEPLOY = 0; In the scripts.pbo file. When I'm searching the reference about the base building time I find this constants : const float BASEBUILDING_CONSTRUCT_FAST = 5; const float BASEBUILDING_CONSTRUCT_MEDIUM = 7.5; const float BASEBUILDING_CONSTRUCT_SLOW = 10; Which seems related to the code that is implied into the building process : class ActionBuildPartCB : ActionContinuousBaseCB { override void CreateActionComponent() { float time = SetCallbackDuration(m_ActionData.m_MainItem); m_ActionData.m_ActionComponent = new CAContinuousTime( time ); } float SetCallbackDuration( ItemBase item ) { /*switch( item.Type() ) { case Pickaxe: case Shovel: case FieldShovel: return UATimeSpent.BASEBUILDING_CONSTRUCT_MEDIUM; default: return UATimeSpent.BASEBUILDING_CONSTRUCT_FAST; }*/ return UATimeSpent.BASEBUILDING_CONSTRUCT_MEDIUM; } }; Problem is, when I change the value of this constant (by any other value) I get this error every time : SCRIPT (E): @"scripts/3_Game/gameplay.c,956": Can't find variable 'SHOULDER' SCRIPT (E): @"scripts/3_Game/gameplay.c,956": Incompatible parameter 'SHOULDER' SCRIPT (E): Can't compile "Game" script module! scripts/3_Game/systems\inventory\handanimated_guards.c(34): Can't find variable 'SHOULDER' SCRIPT (E): Failed to load game scripts! If you have an idea for make it work or if you know a mod that is able to accelerate the building speed I would be grateful to have your answer I find nothing and I am on this problem since 3 days already... Thanks for your attention and your very kind help.
×