Login

russian armor

Can't equip Ania with different weapon using ABP file

14 Apr 2019, 23:39 PM
#1
avatar of choconinja

Posts: 2

Hello, I am making a mod that replaces each starting unit with a super soldier, a "high value target"

The soldier for the British is the Soviet sniper Ania, but I do not want her to use a Mosin. Instead, I want her to use the British 55 caliber sniper and I put this in her ABP:

--3DSMax Toolset Generated: abp_functions.ms--

model =
{

"..\\..\\..\\Common\\CompleteMotionTree.abp",
"..\\..\\..\\common\\base\\femalemotion\\femalemotion.abp",

-- Weapons in Use
"..\\..\\..\\british\\weapons\\boys_at_rifle\\boys_at_rifle",
"..\\..\\props\\demolitions\\demolitions",

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


Every time I spawn her in I do not get the proper display - she ends up holding some empty gun. I have successfully used ABP files to equip, for example, German troops with infrared STGs but I believe the issue here is that the 55 caliber is that it's from another army's files but I'm not too sure so I'm posting it here. Can anyone help?
15 Apr 2019, 04:50 AM
#2
avatar of SneakEye
Senior Modmaker Badge

Posts: 817 | Subs: 5

Can you try the 'NewMotionTree' instead of the 'CompleteMotionTree'?

"..\\..\\..\\Common\\NewMotionTree.abp",

The CompleteMotionTree was used to the standard two factions, but Okw, US and the UK weapons use the new one.
16 Apr 2019, 22:29 PM
#3
avatar of choconinja

Posts: 2

Can you try the 'NewMotionTree' instead of the 'CompleteMotionTree'?

"..\\..\\..\\Common\\NewMotionTree.abp",

The CompleteMotionTree was used to the standard two factions, but Okw, US and the UK weapons use the new one.


Just tried it, and it didn't work.
ABP file looks like this:
--3DSMax Toolset Generated: abp_functions.ms--

model =
{

"..\\..\\..\\Common\\NewMotionTree.abp",
"..\\..\\..\\common\\base\\femalemotion\\femalemotion.abp",

-- Weapons in Use
"..\\..\\..\\british\\weapons\\boys_at_rifle\\boys_at_rifle",
"..\\..\\props\\demolitions\\demolitions",

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

Is it perhaps a pathway problem? I tried to find the specific pathway to NewMotionTree but had no success.
17 Apr 2019, 15:45 PM
#4
avatar of Olhausen
Modmaker Badge

Posts: 245

Yes I can confirm the same. I think the weapon path is not correct. Probably in another folder.
18 Apr 2019, 09:57 AM
#5
avatar of RagnarTheGamer
Master Modmaker Badge

Posts: 317

Is it perhaps a pathway problem? I tried to find the specific pathway to NewMotionTree but had no success.


Well, I tried to create Ania with the AT rifle and worked just fine. My ania.abp file looks like this:

--3DSMax Toolset Generated: abp_functions.ms--

model =
{

"..\\..\\..\\common\\NewMotionTree.abp",
"..\\..\\..\\common\\base\\femalemotion\\femalemotion.abp",
"..\\..\\weapons\\rifle_mosin_nagant_sniper\\rifle_mosin_nagant_sniper.abp",
"..\\..\\props\\demolitions\\demolitions",
"..\\..\\..\\british\\weapons\\boys_at_rifle\\boys_at_rifle",
"ania",
}


19 Apr 2019, 11:06 AM
#6
avatar of Olhausen
Modmaker Badge

Posts: 245

Sorry my bad. Probably put the values in an incorrect model.
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

945 users are online: 945 guests
0 post in the last 24h
8 posts in the last week
37 posts in the last month
Registered members: 49104
Welcome our newest member, zhcnwps
Most online: 2043 users on 29 Oct 2023, 01:04 AM