Hard times with adding the MP-40
Posts: 31
Tried to add two more kinds of anti-infantry partisans: ones with MP-44 (found the respective weapon in the Mod Tools) and ones with MP-40 (cloned the Panzergrenadiers' one). First ones were added without any problems, second appeared without any weapon in their hands except for MG-42, added as a slot item.
"Not a big deal" - I thought - "editing the *.abp will do the trick". Found the respective files (partisan_male_random.abp, partisan_male_01.abp and partisan_male_02.abp), discovered, that all they use the partisan_weapons.abp.
Added the MP-40 to the latter, and - nothing. Separately added the MP-40 to partisan_male_random.abp - still nothing. Added the MP-40 to both partisan_male_01.abp and partisan_male_02.abp - still nothing!
Can anyone tell me, what do I do wrong? Thanks in advance.
Posts: 632 | Subs: 1
Posts: 31
Could you post what path you used for the MP40? It might be incorrect.
"..\\..\\german\\weapons\\smg_mp40\\smg_mp40" - I merely copied it from the grenadier's .abp and pasted into above mentioned partisan ones. May seem to be too simple, but it worked before.
Posts: 756 | Subs: 8
model =
{
--"..\\..\\german\\weapons\\granatwerfer_34_sync\\granatwerfer_34_sync",
"..\\..\\soviet\\weapons\\mortar_82mm_pm41_sync\\mortar_82mm_pm41_sync",
"..\\..\\german\\weapons\\rifle_kar98\\rifle_kar98",
"..\\..\\german\\weapons\\smg_mp40\\smg_mp40",
"..\\..\\soviet\\weapons\\rifle_mosin_nagant\\rifle_mosin_nagant",
"..\\..\\soviet\\weapons\\rifle_mosin_nagant_sniper\\rifle_mosin_nagant_sniper",
"..\\..\\soviet\\weapons\\lmg_dp28\\lmg_dp28",
"..\\..\\soviet\\weapons\\rifle_ptrs41\\rifle_ptrs41",
"..\\..\\soviet\\weapons\\smg_ppsh41\\smg_ppsh41",
"..\\..\\soviet\\weapons\\rifle_svt40\\rifle_svt40",
"..\\..\\soviet\\props\\demolitions\\demolitions",
}
-- Intermediate ABP
simvis_attributes =
{
Intermediate_Model = 1
}
Posts: 31
So, your partisan_weapons.abp looks something like this?
Code
model =
{
--"..\\..\\german\\weapons\\granatwerfer_34_sync\\granatwerfer_34_sync",
"..\\..\\soviet\\weapons\\mortar_82mm_pm41_sync\\mortar_82mm_pm41_sync",
"..\\..\\german\\weapons\\rifle_kar98\\rifle_kar98",
"..\\..\\german\\weapons\\smg_mp40\\smg_mp40",
"..\\..\\soviet\\weapons\\rifle_mosin_nagant\\rifle_mosin_nagant",
"..\\..\\soviet\\weapons\\rifle_mosin_nagant_sniper\\rifle_mosin_nagant_sniper",
"..\\..\\soviet\\weapons\\lmg_dp28\\lmg_dp28",
"..\\..\\soviet\\weapons\\rifle_ptrs41\\rifle_ptrs41",
"..\\..\\soviet\\weapons\\smg_ppsh41\\smg_ppsh41",
"..\\..\\soviet\\weapons\\rifle_svt40\\rifle_svt40",
"..\\..\\soviet\\props\\demolitions\\demolitions",
}
-- Intermediate ABP
simvis_attributes =
{
Intermediate_Model = 1
}
Right, exactly like this. I even added the "..\\..\\german\\weapons\\smg_mp40\\smg_mp40" line to partisan_male_random.abp and partisan_male_01 and partisan_male_02.abp separately. And still to no avail.
Posts: 632 | Subs: 1
I even added the "..\\..\\german\\weapons\\smg_mp40\\smg_mp40" line to partisan_male_random.abp and partisan_male_01 and partisan_male_02.abp separately. And still to no avail.
In these specific Partisan ABP files, the path should look like this instead:
"..\\..\\..\\german\\weapons\\smg_mp40\\smg_mp40",
You should probably use either only the shared partisan_weapons.abp OR only the specific Partisan ABP files, not both!
Posts: 31
In these specific Partisan ABP files, the path should look like this instead:
Code"..\\..\\..\\german\\weapons\\smg_mp40\\smg_mp40",
You should probably use either only the shared partisan_weapons.abp OR only the specific Partisan ABP files, not both!
Tried both variants - none worked. Looks like they don't want to carry the MP-40 :-))
Posts: 756 | Subs: 8
Posts: 31
Certain weapons have conflicts with each other. Try ONLY having the MP 40 as a test, or making a new .abp for your MP 40 wielding partisan ebps.
If it's not too hard or time-consuming - please, explain a bit more about creating a new .abp. For I tried to merely make a copy of, say, partisan_male_01, renamed it to partisan_male_01_mp_40.abp and tried to replace the original partisan_male_random.abp in the respective ebps.
The result was like "The file partisan_male_01_mp_40.abp references the files that do not exist ... bla-bla-bla".
Pretty much the same with extracting the entire folder (I took refugee_male_01) to the data/art etc. folder of my mod.
Posts: 756 | Subs: 8
Posts: 31
https://www.youtube.com/watch?v=z_ZrH0gUcr0
With all respect - but there's nothing about proper creation of new .abp or correct replacing of the entity's animator in this video :-(
Posts: 756 | Subs: 8
Posts: 31
It's no different than editing an existing one, just a different path in the animator field of the entity_blueprint_ext.
The point is, that there should be all these *.rgb, *.rgt, *.mua and so on for this newly created *.abp. How can I create them? Does copying and renaming work?
Posts: 756 | Subs: 8
It's probably something in your attributes that is not properly set up. Without seeing the files themselves, all we can do is conjecture.
Posts: 31
Who's got a better solution - may throw a stone at me :-))
Livestreams
33 | |||||
217 | |||||
33 | |||||
10 | |||||
4 | |||||
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
8 posts in the last week
40 posts in the last month
Welcome our newest member, uk88world
Most online: 2043 users on 29 Oct 2023, 01:04 AM