Login

russian armor

Editing abp file of Soviet Sniper

27 Oct 2015, 19:45 PM
#1
avatar of Olhausen
Modmaker Badge

Posts: 245

Hi to all:

I am modding a new unit for the soviet, the razvedchiki recon squad. For this squad I use the blueprint of the soviet sniper.
Ok here my question, I tried to add to this squad the german MP40. I edit the abp file but I fail to give this unit the MP 40.
I tried with this two posibilities:

a. "..\\..\\weapons\\west_german_smg_mp40\\west_german_smg_mp40",
b. "..\\..\\weapons\\smg_mp40\\smg_mp40",

I check the "sovietcommongear.abp" and MP40 is not there too.
Is it possible to give this weapon to this unit ?
I tried everything but I fail all the times.

Thank you in advance
Olhausen
27 Oct 2015, 20:02 PM
#2
avatar of eliw00d
Honorary Member Badge

Posts: 756 | Subs: 8

It is possible. You are searching for German weapons from the Soviet folder. Adjust your path so that you are searching for German weapons from the German folder.

People seem to get hung up on paths a lot. So, think about it like this:

If you were looking inside the folder of the .abp (in Windows), and you went up two directories (which is what ..\\ means in the path), where would you be?
27 Oct 2015, 22:41 PM
#3
avatar of Olhausen
Modmaker Badge

Posts: 245

I tried with those values in the "sniper.abp" file

MP40 German

"..\\..\\..\\weapons\\smg_mp40\\smg_mp40",
"..\\..\\..\\german\\weapons\\smg_mp40\\smg_mp40",


MP40 West German

"..\\..\\..\\west_german\\weapons\\west_german_smg_mp40\\west_german_smg_mp40",
"..\\..\\..\\weapons\\west_german_smg_mp40\\west_german_smg_mp40",


In my panzer grenadiers I have this:

-- Weapons in Use
"..\\..\\weapons\\stielgranate_bundled\\stielgranate_bundled",
"..\\..\\weapons\\rifle_kar98\\rifle_kar98",
"..\\..\\weapons\\smg_mp40\\smg_mp40",
"..\\..\\weapons\\rifle_g43_sniper\\rifle_g43_sniper",
"..\\..\\..\\west_german\\weapons\\smg_mp44_default\\smg_mp44_default",
"..\\..\\..\\soviet\\weapons\\satchel_charge\\satchel_charge",
"..\\..\\..\\common\\props\\medic_kit\\medic_kit",

And as I can see here:

"..\\..\\..\\soviet\\weapons\\satchel_charge\\satchel_charge",

They are using a soviet weapon and
I tried to use the same logic up there but I fail again.

I will apreciate more help Mr Eliwood

Thank you in advance
Olhausen
28 Oct 2015, 01:01 AM
#4
avatar of eliw00d
Honorary Member Badge

Posts: 756 | Subs: 8

Assuming you are editing the sniper.abp and not sovietcommongear.abp...

These are correct:

Code

"..\\..\\..\\german\\weapons\\smg_mp40\\smg_mp40",
"..\\..\\..\\west_german\\weapons\\west_german_smg_mp40\\west_german_smg_mp40",


These are not:

Code

"..\\..\\..\\weapons\\smg_mp40\\smg_mp40",
"..\\..\\..\\weapons\\west_german_smg_mp40\\west_german_smg_mp40",


Because there is no army called "weapons".

Other than that, I am not sure what your issue is.
28 Oct 2015, 10:34 AM
#5
avatar of Olhausen
Modmaker Badge

Posts: 245

Thank you for your answer Eliwood but sadly I fail. I am missing something or I am doing something wrong. Btw, I already change a lot of weapons in a lot of entities (using your video tutorial with no problems) but I am failing with this one.

Here some extra data:

a. My sniper blueprint armies\soviet\soldiers\sniper\sniper
b. My sniper.abp file edited by me:

Code
model =
{
"..\\..\\..\\Common\\CompleteMotionTree.abp",

-- Weapons in Use
"..\\..\\weapons\\rifle_mosin_nagant_sniper\\rifle_mosin_nagant_sniper.abp",

-- Common Soviet Gear
"..\\..\\sovietcommongear.abp",

-- Main Mesh
"sniper",

"..\\..\\..\\west_german\\weapons\\west_german_smg_mp40\\west_german_smg_mp40",

}


I tried to put the value up and down etc.
I am using an MP40 of the West German Army in my ebps file (on my combat extension)
This weapon is located on west german tree too.

At the end:

. I saw in the sniper folder another .abp file called cin.sniper.abp. Do you know what it means ?

. I also tried to give the MP44 to the Soviet Fusiliers (I was ruining a test) and I also fail, and I think I was using a good path too.

Really, I do not want to give up

Thank you very much for your help
Olhausen

28 Oct 2015, 13:55 PM
#6
avatar of eliw00d
Honorary Member Badge

Posts: 756 | Subs: 8

Works fine for me:



My armies\soviet\sniper\sniper.abp looks like:

Code
model =
{
"..\\..\\..\\Common\\CompleteMotionTree.abp",

-- Weapons in Use
"..\\..\\weapons\\rifle_mosin_nagant_sniper\\rifle_mosin_nagant_sniper.abp",

"..\\..\\..\\german\\weapons\\smg_mp40\\smg_mp40",

-- Common Soviet Gear
"..\\..\\sovietcommongear.abp",

-- Main Mesh
"sniper",
}


Notice that mine is above the main mesh. You do not want it to be after the main mesh.

If yours still does not work, I would suggest using the Rebuild option in Mod Builder to make sure it is actually being updated.

Edit: If you are getting the blue box, that means your path is wrong, even if you think it is right. If you are getting an invisible weapon, then you are using the wrong animator in the entity_blueprint_ext or the wrong anim_table in the weapon.
28 Oct 2015, 21:05 PM
#7
avatar of Olhausen
Modmaker Badge

Posts: 245

I must say thank you for your time Eliwood. I really apreciate that.

Well I did it like you say me.

a. I edit my sniper.abp file identical (using your values)
b. I am using an axis MP40 (I also try west german)
c. I Rebuild like you said me after edit sniper.abp file

The final resut is the same, Soldiers appear with no MP40 (invisible weapon)

After that I started all over again:

a. I Clone a new sbps&ebps from original sniper.mp
b. I Clone new MP40 from original attribs (axis ones)
c. I load all of this on my mod and tried again.

The final result is the same.
An invisible weapon in the hands of my sniper.

You said:
"an invisible weapon, then you are using the wrong animator in the entity_blueprint_ext or the wrong anim_table in the weapon"

I am missing something ? I am doing something wrong ? I need to do something extra ?

I do not know if I could solve the problem, but thank very much for your time ;) At lest I tried it ;)

Regards
Olhausen
28 Oct 2015, 21:51 PM
#8
avatar of eliw00d
Honorary Member Badge

Posts: 756 | Subs: 8

Can you PM me your mod? It is too hard to tell without seeing it directly.
28 Oct 2015, 22:03 PM
#9
avatar of Olhausen
Modmaker Badge

Posts: 245

Thank you eliwood, I am sending a PM right now ;)
29 Oct 2015, 02:59 AM
#10
avatar of eliw00d
Honorary Member Badge

Posts: 756 | Subs: 8

You have a PPSh-41 in the combat_ext of the entity. So, that is the reason none of your changes are working. You need to change it to an MP 40.
29 Oct 2015, 09:19 AM
#11
avatar of Olhausen
Modmaker Badge

Posts: 245

No no I change it always. In the version you have I change it because I roll back my work with the github. But If you have the change to test it, do it. It is not working for me.

29 Oct 2015, 13:39 PM
#12
avatar of eliw00d
Honorary Member Badge

Posts: 756 | Subs: 8

Okay, I figured it out:

Code
WIKINGER Mod\data\art\armies\soviet\sniper

should be

Code
WIKINGER Mod\data\art\armies\soviet\soldiers\sniper

in your mod folder. Your custom .abp files were never even being used.

Probably the same problem for the Fusiliers.
29 Oct 2015, 14:12 PM
#13
avatar of Olhausen
Modmaker Badge

Posts: 245

Thank you very much Eli, you make my day :)
This was my fail. I was moding in the wrong folder.
Now it is working ! Thank you very much for your time and your support.

My best Regards to you man






28 Feb 2016, 07:06 AM
#14
avatar of mavis

Posts: 27

thanks for both of you guys, as it help me a lot doing my own mod.

in AEF i try to give the captain sniper weapon from british sniper "boys_at_rifle_sniper_mp"

to Olhausen its invisible, but for me gives its a big blue box

model =
{
"..\\..\\..\\Common\\NewMotionTree.abp",

"..\\..\\weapons\\boys_at_rifle\\boys_at_rifle",

"..\\..\\..\\british\\weapons\\boys_at_rifle\\boys_at_rifle",

-- Common AEF Gear
"..\\..\\aefcommongear.abp",

-- Main Mesh
-- "captain",
"sniper",
}


can you help me with this code, thanks in advance
28 Feb 2016, 13:27 PM
#15
avatar of Planet Smasher
Senior Modmaker Badge

Posts: 632 | Subs: 1

If this is the ABP for the Captain, remove these lines:

"..\\..\\weapons\\boys_at_rifle\\boys_at_rifle",
(This is an incorrect path, you already have the correct one below that.)

"sniper"
(This would be the model used for the soldier, but you already have that above.)
29 Feb 2016, 06:16 AM
#16
avatar of mavis

Posts: 27

If this is the ABP for the Captain, remove these lines:

"..\\..\\weapons\\boys_at_rifle\\boys_at_rifle",
(This is an incorrect path, you already have the correct one below that.)

"sniper"
(This would be the model used for the soldier, but you already have that above.)





indeed it works, thanks so much for your help.
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

810 users are online: 810 guests
0 post in the last 24h
7 posts in the last week
34 posts in the last month
Registered members: 49120
Welcome our newest member, truvioll94
Most online: 2043 users on 29 Oct 2023, 01:04 AM