Scar error when building sand bags and tank trap.
Posts: 1220 | Subs: 1
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: 813 | Subs: 5
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: 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.
it wored now, thank you.
On the other hand, i have a other issue, still with this ostruppen squad. I want to give them 2 upgrade, a Bren gun, mimic a ZB 26, i edited the epb file and it work. But, when i add the PPSH 41 to their file, they still come empty, what is it with this model ?
Posts: 813 | Subs: 5
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: 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
yes, i did add that line but it still doesnt work. I edited ABP file before, if i did something wrong, models turn to boxes, but not this time.
Posts: 813 | Subs: 5
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: 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.
indeed, there is a misspelled in my file structure, i fixed it now. Thank.
Yet, the sand bag is now walked through, it still provide green cover but troop pass through it. Is there fix ?
Posts: 813 | Subs: 5
Posts: 1220 | Subs: 1
In impass_ext, set cant_build, land and light_crush to True
sorry for the long reply. I tried but squad still go through it.
Posts: 813 | Subs: 5
Also, did you remove the scar function call or add a second file without __construction__?
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__?
i removed the scar
Livestreams
199 | |||||
33 | |||||
13 | |||||
6 | |||||
1 | |||||
37 | |||||
31 | |||||
6 | |||||
3 | |||||
1 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.26237.876+7
- 2.928556.625+8
- 3.271110.711+9
- 4.249134.650+2
- 5.500216.698+12
- 6.248150.623+9
- 7.19165.746+4
- 8.14138.788+16
- 9.615408.601+2
- 10.15759.727+1
Replay highlight
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger
Board Info
empirescurropt
38 posts in the last week
92 posts in the last month
Welcome our newest member, Leiliqu96
Most online: 2043 users on 29 Oct 2023, 01:04 AM