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
28 | |||||
14 | |||||
8 | |||||
6 | |||||
3 | |||||
1 | |||||
1 | |||||
1 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.655231.739+15
- 2.842223.791+5
- 3.35157.860+16
- 4.599234.719+7
- 5.934410.695-1
- 6.278108.720+29
- 7.307114.729+3
- 8.645.928+5
- 9.10629.785+7
- 10.527.881+18
Replay highlight
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger
Board Info
12 posts in the last week
24 posts in the last month
Welcome our newest member, vn88company
Most online: 2043 users on 29 Oct 2023, 01:04 AM