Login

russian armor

Hard times with adding the MP-40

23 Oct 2016, 19:49 PM
#1
avatar of TheWise

Posts: 31

Actually, topic.

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.
23 Oct 2016, 22:58 PM
#2
avatar of Planet Smasher
Senior Modmaker Badge

Posts: 632 | Subs: 1

Could you post what path you used for the MP40? It might be incorrect.
24 Oct 2016, 15:01 PM
#3
avatar of TheWise

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.
24 Oct 2016, 16:22 PM
#4
avatar of eliw00d
Honorary Member Badge

Posts: 756 | Subs: 8

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
}
24 Oct 2016, 19:25 PM
#5
avatar of TheWise

Posts: 31

jump backJump back to quoted post24 Oct 2016, 16:22 PMeliw00d
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.
25 Oct 2016, 09:25 AM
#6
avatar of Planet Smasher
Senior Modmaker Badge

Posts: 632 | Subs: 1

jump backJump back to quoted post24 Oct 2016, 19:25 PMTheWise
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:
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!
25 Oct 2016, 20:02 PM
#7
avatar of TheWise

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 :-))
26 Oct 2016, 04:21 AM
#8
avatar of eliw00d
Honorary Member Badge

Posts: 756 | Subs: 8

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.
26 Oct 2016, 16:46 PM
#9
avatar of TheWise

Posts: 31

jump backJump back to quoted post26 Oct 2016, 04:21 AMeliw00d
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.
27 Oct 2016, 01:56 AM
#10
27 Oct 2016, 16:44 PM
#11
avatar of TheWise

Posts: 31

jump backJump back to quoted post27 Oct 2016, 01:56 AMeliw00d
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 :-(
27 Oct 2016, 23:39 PM
#12
avatar of eliw00d
Honorary Member Badge

Posts: 756 | Subs: 8

It's no different than editing an existing one, just a different path in the animator field of the entity_blueprint_ext.
28 Oct 2016, 16:10 PM
#13
avatar of TheWise

Posts: 31

jump backJump back to quoted post27 Oct 2016, 23:39 PMeliw00d
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?
28 Oct 2016, 18:34 PM
#14
avatar of eliw00d
Honorary Member Badge

Posts: 756 | Subs: 8

No, there shouldn't be. An .abp can be independent, and in many cases has to be (common weapons and such).

It's probably something in your attributes that is not properly set up. Without seeing the files themselves, all we can do is conjecture.
27 Nov 2016, 09:48 AM
#15
avatar of TheWise

Posts: 31

Got tired with *.abp tinkering and merely used the Osttruppen model (only model) for MP-40 Partisans :-)). It is somewhat far-fetched, but - it did the trick.

Who's got a better solution - may throw a stone at me :-))
1 user is browsing this thread: 1 guest

Ladders Top 10

  • #
    Steam Alias
    W
    L
    %
    Streak
Data provided by Relic Relic Entertainment

Replay highlight

VS
  • U.S. Forces flag cblanco ★
  • The British Forces flag 보드카 중대
  • Oberkommando West flag VonManteuffel
  • Ostheer flag Heartless Jäger
uploaded by XXxxHeartlessxxXX

Board Info

502 users are online: 502 guests
1 post in the last 24h
7 posts in the last week
39 posts in the last month
Registered members: 49062
Welcome our newest member, Mclatc16
Most online: 2043 users on 29 Oct 2023, 01:04 AM