Having issues with bomb planting and engineers building tool


uk_rallypoint_preview{
_override:b=yes
building_builder_minDistanceToCapturePoints:r=100
}

I though that would do it but no, still able to build closer. i was able to edit the preview of what i was building but it never saves?

…sandbags_wall_5_preview{
_override:b=yes
building_builder__maxTimeToBuild:r=7.0
building_menu__text:t=“sandbag_position”
building__requireUnlockId:i=-1
}

“additiveBuildings:array”{

"item:object"{
  template:t="stationary_mg42_building_additive_preview"
  tm:m=[[-1.62921e-07, 0.0, 1.0] [0.0119619, 0.999928, 1.94885e-09] [-0.999928, 0.0119619, -1.62909e-07] [-0.210993, 1.01037, -0.72921]]
  additiveUp:p3=0.0, 1.0, 0.0

}
}…

so this?

Artillery cooldown seems to be an issue as well… cant find any forums on extending the cooldown

Hmmm… Try to edit other preview?

Yeah. It’s have [Genereated]. It means that object will be not saved in scene. And anyways… It will not affect to previews.

Is… Pain to read this code. Looks like yes, but it’s not inside sandbags_wall_5_preview, because you closed body after building__requireUnlockId:i=-1. I mean that you need move

to after latest

Talking about code.

Almost right, but use `

Well… Yeah. You can edit it. IIRC cooldowns are in enlisted_player.

Also you can give to team more artillery slots. For that need edit artillery properties in team entities (you can do it in editor).

‘’’
sandbags_wall_5_preview{
_override:b=yes
building_builder__maxTimeToBuild:r=7.0
building_menu__text:t=“sandbag_position”
building__requireUnlockId:i=-1

“additiveBuildings:array”{

"item:object"{
  template:t="stationary_mg42_building_additive_preview"
  tm:m=[[-1.62921e-07, 0.0, 1.0] [0.0119619, 0.999928, 1.94885e-09] [-0.999928, 0.0119619, -1.62909e-07] [-0.210993, 1.01037, -0.72921]]
  additiveUp:p3=0.0, 1.0, 0.0

}
}
‘’’

Sorry bro i dont understand the code thing with … and ’

so the above code gives me an error and cant load editor. im guessing thats wrong too

You forgot add }. So code will probably looks like:

sandbags_wall_5_preview{
  _override:b=yes
  building_builder__maxTimeToBuild:r=7.0
  building_menu__text:t=“sandbag_position”
  building__requireUnlockId:i=-1

  "additiveBuildings:array"{
    "item:object"{
      template:t="stationary_mg42_building_additive_preview"
      tm:m=[[-1.62921e-07, 0.0, 1.0] [0.0119619, 0.999928, 1.94885e-09] [-0.999928, 0.0119619, -1.62909e-07] [-0.210993, 1.01037, -0.72921]]
    additiveUp:p3=0.0, 1.0, 0.0
    }
  }
}

Talking about ` you did it almost right in this code:

Well… It should looks like here (screenshot):
image


so tried this, but now i cant spawn squads in test mode apparently… no active squads are visible to respawn…

The mg42 did show up on the preview but did not spawn on the sandbags. It was also just off to the right too much… which numbers change its position to center it more?

Ah. You can edit enlisted_player only in entities. I meant only artillery limit you can edit in editor.

0.o

…Well… Try to remove enlisted_player and do restart?

You need also edit sandbags (not preview).

Well… It’s probably: tm:m=[[...] [...] [...] [x, z, y]]. So probably you need a bit decrease first number in “latest box”.

Phew, that worked thank you.

1 Like

sandbags_wall_5_preview{
_override:b=yes
building_builder__maxTimeToBuild:r=7.0
building_menu__text:t=“sandbag_position”
building__requireUnlockId:i=-1

“additiveBuildings:array”{
“item:object”{
template:t=“stationary_mg42_building_additive_preview”
tm:m=[[-1.62921e-07, 0.0, 1.0] [0.0119619, 0.999928, 1.94885e-09] [-0.999928, 0.0119619, -1.62909e-07] [-0.210993, 1.01037, -0.72921]]
additiveUp:p3=0.0, 1.0, 0.0
}
}
}

sandbags_wall_5{
_override:b=yes

“additiveBuildings:array”{
“item:object”{
template:t=“stationary_mg42_building_additive”
tm:m=[[-1.62921e-07, 0.0, 1.0] [0.0119619, 0.999928, 1.94885e-09] [-0.999928, 0.0119619, -1.62909e-07] [-0.150993, 1.01037, -0.72921]]
additiveUp:p3=0.0, 1.0, 0.0
}
}
}

1 Like

Try to use it.

Okay so got it to work, thank you!

back/forward, height, sideways - Future reference
[-0.260993, 0.91037, -0.22921]]

1 Like

usa_building_tool_gun{
_override:b=yes

“buildingLimits:list”{
item:i=1
item:i=3
item:i=6
item:i=4
item:i=1
item:i=2
item:i=1
item:i=1
item:i=3
item:i=1
item:i=2
}

"previewTemplate:list<t>"{
item:t="usa_rallypoint_preview"
item:t="czech_hedgehog_a_preview"
item:t="barbedwire_engineer_a_preview"
item:t="sandbags_wall_2_preview"
item:t="sandbags_wall_8_preview"
item:t="sandbags_wall_4_preview"
item:t="sandbags_wall_6_preview"
item:t="sandbags_wall_browning_m2_preview"
item:t="sandbags_wall_1_preview"
item:t="cannon_us_20mm_polsten_preview"
item:t="sandbags_wall_3_preview"

}
}

usa_building_tool_award_gun{
_override:b=yes

“buildingLimits:list”{
item:i=1
item:i=3
item:i=6
item:i=4
item:i=1
item:i=2
item:i=1
item:i=1
item:i=3
item:i=1
item:i=2
}

"previewTemplate:list<t>"{
item:t="usa_rallypoint_preview"
item:t="czech_hedgehog_a_preview"
item:t="barbedwire_engineer_a_preview"
item:t="sandbags_wall_2_preview"
item:t="sandbags_wall_8_preview"
item:t="sandbags_wall_4_preview"
item:t="sandbags_wall_6_preview"
item:t="sandbags_wall_browning_m2_preview"
item:t="sandbags_wall_1_preview"
item:t="cannon_us_20mm_polsten_preview"
item:t="sandbags_wall_3_preview"

}
}

uk_building_tool_gun{
_override:b=yes

“buildingLimits:list”{
item:i=1
item:i=3
item:i=6
item:i=4
item:i=1
item:i=2
item:i=1
item:i=1
item:i=3
item:i=1
item:i=2
}

"previewTemplate:list<t>"{
item:t="usa_rallypoint_preview"
item:t="czech_hedgehog_a_preview"
item:t="barbedwire_engineer_a_preview"
item:t="sandbags_wall_2_preview"
item:t="sandbags_wall_8_preview"
item:t="sandbags_wall_4_preview"
item:t="sandbags_wall_6_preview"
item:t="sandbags_wall_browning_m2_preview"
item:t="sandbags_wall_1_preview"
item:t="cannon_us_20mm_polsten_preview"
item:t="sandbags_wall_3_preview"

}
}

uk_building_tool_award_gun{
_override:b=yes

“buildingLimits:list”{
item:i=1
item:i=3
item:i=6
item:i=4
item:i=1
item:i=2
item:i=1
item:i=1
item:i=3
item:i=1
item:i=2
}

"previewTemplate:list<t>"{
item:t="usa_rallypoint_preview"
item:t="czech_hedgehog_a_preview"
item:t="barbedwire_engineer_a_preview"
item:t="sandbags_wall_2_preview"
item:t="sandbags_wall_8_preview"
item:t="sandbags_wall_4_preview"
item:t="sandbags_wall_6_preview"
item:t="sandbags_wall_browning_m2_preview"
item:t="sandbags_wall_1_preview"
item:t="cannon_us_20mm_polsten_preview"
item:t="sandbags_wall_3_preview"

}
}

So now that most of these things are out the way, with the above code, shouldnt this work in multiplayer using the file?

This is exactly what i did and put it here
image

1 Like

Sorry if you misunderstood, but this is not working in the custom servers… i cant build the above buildings still…

I got it. I add like because it’s all informative and contains code. I’ll check it a bit later, sorry.

1 Like

Thanks Devenddar, you have been extremely helpful. Not sure why its not coming through. ill keep trying but just at stand still with this part.

Hey Devenddar, how did you go having a look at what the problem might be? Still unable to see the override on the engineer tools in the custom servers games.

Can you please sent file (change file type to .txt or pack it in .zip)? I want to check real code. Because forum " " are different and maybe because of it you have some problems (some wrong symbols).

Well… In other words… It works for me.


Yeah. I didn’t add all changes, because I a bit lazy to edit/replace ".

usa_building_tool_gun{
  _override:b=yes

  "previewTemplate:list<t>"{
    template:t="ammunition_box_a_preview"
    template:t="czech_hedgehog_a_preview"
    template:t="barbedwire_engineer_a_preview"
    template:t="sandbags_wall_mg_preview"
    template:t="gaz_67_preview"
  }

  "buildingLimits:list<i>"{
    limit:i=100
    limit:i=100
    limit:i=100
    limit:i=100
    limit:i=100
  }
}

usa_building_tool_award_gun{
  _override:b=yes

  "previewTemplate:list<t>"{
    template:t="ammunition_box_a_preview"
    template:t="czech_hedgehog_a_preview"
    template:t="barbedwire_engineer_a_preview"
    template:t="sandbags_wall_mg_preview"
    template:t="gaz_67_preview"
  }

  "buildingLimits:list<i>"{
    limit:i=100
    limit:i=100
    limit:i=100
    limit:i=100
    limit:i=100
  }
}

uk_building_tool_gun{
  _override:b=yes

  "previewTemplate:list<t>"{
    template:t="ammunition_box_a_preview"
    template:t="czech_hedgehog_a_preview"
    template:t="barbedwire_engineer_a_preview"
    template:t="sandbags_wall_mg_preview"
    template:t="gaz_67_preview"
  }

  "buildingLimits:list<i>"{
    limit:i=100
    limit:i=100
    limit:i=100
    limit:i=100
    limit:i=100
  }
}