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: 817 | 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: 817 | 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: 817 | 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: 817 | 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: 817 | 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
49 | |||||
21 | |||||
10 | |||||
3 | |||||
3 | |||||
230 | |||||
53 | |||||
24 | |||||
2 | |||||
1 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.831222.789+37
- 2.34957.860+14
- 3.589215.733+4
- 4.1099614.642-1
- 5.280162.633+8
- 6.305114.728+1
- 7.916405.693-2
- 8.271108.715+22
- 9.721440.621+3
- 10.1041674.607-2
Replay highlight
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger
Board Info
mmp
7 posts in the last week
39 posts in the last month
Welcome our newest member, cablingindfw
Most online: 2043 users on 29 Oct 2023, 01:04 AM