![](https://www.coh2.org/file/19971/scar-bags.jpg)
I was cloning the sandbag to give it to a number of squad, mod built normally but when i built the sand bag in game, i have this error. How can i fix it ?
The same issue happen when i give tank trap to sapper.
Posts: 1220 | Subs: 1
Posts: 817 | Subs: 5
Posts: 1220 | Subs: 1
Both objects have a workaround to prevent ghosting which involves scar. This consists of two files,
the original: ending on _mp
and a new one: ending on __construction__mp
When the __construction__mp is constructed it will be replaced by the _mp version. This functioncall is located in construction_ext/on_construction_actions/3.scar_function_call. I think if you cloned the entity which ends on __construction__mp while there is no matching file without the __construction__ part this can happen.
So to fix it I think either remove the scar_function_call or create a second file without __construction__ in the name.
Posts: 817 | Subs: 5
Posts: 1220 | Subs: 1
The Bren gun is part of the CompleteMotionTree.abp and will work by default.
The PPSh is not, therefor you need to add this line to the .abp of the Osttruppen:
"..\\..\\..\\soviet\\weapons\\smg_ppsh41\\smg_ppsh41",
Just in case: Editing .abp files tutorial
Posts: 817 | Subs: 5
Posts: 1220 | Subs: 1
That is strange, when I try this identical .abp it still works.
Is the folder structure of the .abp correct?
armies\german\soldiers\ostruppen\ostruppen.abp (ostruppen spelled with one t at both places?)
This can be tested by putting an invalid path in the .abp and see if a blue box appears.
Posts: 817 | Subs: 5
Posts: 1220 | Subs: 1
In impass_ext, set cant_build, land and light_crush to True
Posts: 817 | Subs: 5
Posts: 1220 | Subs: 1
Could you post your .xml file?
Also, did you remove the scar function call or add a second file without __construction__?
![]() |
![]() |
![]() |
7 | ||
![]() |
![]() |
![]() |
261 | ||
![]() |
![]() |
![]() |
20 | ||
![]() |
![]() |
![]() |
13 | ||
![]() |
![]() |
![]() |
6 | ||
![]() |
![]() |
![]() |
1 | ||
![]() |
![]() |
![]() |
1 | ||
![]() |
![]() |
![]() |
1 |