Hard times with adding the MP-40
![avatar of TheWise](/uploads/avatar/21189.png?updated=1474998349)
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.
![avatar of Planet Smasher](/images/avatars/uberkubel.png?updated=1414778283)
![Senior Modmaker Badge](/images/badges/badge_SENIOR_MODMAKER.png)
Posts: 632 | Subs: 1
![avatar of TheWise](/uploads/avatar/21189.png?updated=1474998349)
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.
![avatar of eliw00d](/uploads/avatar/7827.png?updated=1529603937)
![Honorary Member Badge](/images/badges/badge_HONORARY.png)
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
}
![avatar of TheWise](/uploads/avatar/21189.png?updated=1474998349)
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.
![avatar of Planet Smasher](/images/avatars/uberkubel.png?updated=1414778283)
![Senior Modmaker Badge](/images/badges/badge_SENIOR_MODMAKER.png)
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!
![avatar of TheWise](/uploads/avatar/21189.png?updated=1474998349)
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 :-))
![avatar of eliw00d](/uploads/avatar/7827.png?updated=1529603937)
![Honorary Member Badge](/images/badges/badge_HONORARY.png)
Posts: 756 | Subs: 8
![avatar of TheWise](/uploads/avatar/21189.png?updated=1474998349)
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.
![avatar of eliw00d](/uploads/avatar/7827.png?updated=1529603937)
![Honorary Member Badge](/images/badges/badge_HONORARY.png)
Posts: 756 | Subs: 8
![avatar of TheWise](/uploads/avatar/21189.png?updated=1474998349)
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 :-(
![avatar of eliw00d](/uploads/avatar/7827.png?updated=1529603937)
![Honorary Member Badge](/images/badges/badge_HONORARY.png)
Posts: 756 | Subs: 8
![avatar of TheWise](/uploads/avatar/21189.png?updated=1474998349)
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?
![avatar of eliw00d](/uploads/avatar/7827.png?updated=1529603937)
![Honorary Member Badge](/images/badges/badge_HONORARY.png)
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.
![avatar of TheWise](/uploads/avatar/21189.png?updated=1474998349)
Posts: 31
Who's got a better solution - may throw a stone at me :-))
![down](/images/buttons/down_arrow.png)
Livestreams
![]() |
![]() |
![]() |
12 | ||
![]() |
![]() |
![]() |
277 | ||
![]() |
![]() |
![]() |
22 | ||
![]() |
![]() |
![]() |
15 | ||
![]() |
![]() |
![]() |
4 | ||
![]() |
![]() |
![]() |
2 | ||
![]() |
![]() |
![]() |
1 | ||
![]() |
![]() |
![]() |
1 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.41662.870+14
- 2.659233.739+2
- 3.299158.654+3
- 4.286110.722-2
- 5.309114.730+5
- 6.12243.739-1
- 7.193100.659+3
- 8.10829.788+9
- 9.370283.567+3
- 10.1171650.643+2
Replay highlight
-
cblanco ★
-
보드카 중대
-
VonManteuffel
-
Heartless Jäger
![Einhoven Country](/images/maps/4p_enhoven_country.jpg)
![Honor](/images/buttons/HONOR_icon.png)
![Download](/images/buttons/DOWNLOAD_icon.png)
Board Info
18 posts in the last week
45 posts in the last month
Welcome our newest member, Wnukowskit
Most online: 2043 users on 29 Oct 2023, 01:04 AM