Share weapon animation between races?
22 Nov 2020, 22:53 PM
#1
Posts: 21
thx
23 Nov 2020, 02:58 AM
#2
1
Posts: 3052 | Subs: 15
This is an ABP file edit. Give this video a watch; it explains everything about it and how to add modded ABP's as apart of your project.
https://www.youtube.com/watch?v=z_ZrH0gUcr0
it works for same-faction units using a weapon they 'shouldn't' normally be ale to use(for example, VolksGrenadiers and FG42 assault rifles); and it also works for using weapons across different factions, but the video doesnt explain the little difference:
*usually*, The only thing you need to do after following the directions in that video; is that you manually add in the faction shortname to the modded aBP file directory lines.
for example after following the instructions in the video; if you wanted a SOVIET PPSH on USF assault engineers youd need to add "Soviet" to the cloned abp file directory lines so the game knows where to look to find the weapon to actually animate it for the model. otherwise youll get the Blue Box of death when you go to test it.
In addition; if you dig around the Archive viewer a bit you'll find that theres already examples of "crossfaction' weapon swaps, for example commandos already come prepackaged with the ability to equip USF thompsons, Tommys have the ability to use the M1 Garand. This is without any modding.
For example; below is the the Tommy ABP file; note how it's directory line is: --"..\\..\\..\\aef\\weapons\\rifle_m1_garand\\rifle_m1_garand", and not just \\weapons\\rifle_m1_garand\\rifle_m1_garand".
Below is the ABP of the Commando model; notice how they already have the ability to wield Garands, Thompsons, and the GERMAN G43. Notice how the directory is
"..\\..\\..\\german\\weapons\\rifle_g43_sniper\\rifle_g43_sniper",
and not just "..\\..\\weapons\\smg_mk2_sten\\smg_mk2_sten",
Like the "same faction" weapons in the same file. If you're using a weapon from the faction the unit comes from you dont need to add the faction 'prefix'
Finally; if you follow all this and get blue boxes still; you may have to mess with the "motion trees" in the top of the ABP file;
"..\\..\\..\\common\\NewMotionTree.abp", but thats unit to unit. Some units are still on the 'old' motion tree and require you to change that in order for the unit to use "new motion tree" weapons, which are typically weapons released on or after WFA, on that particular unit. You shouldnt need to change the motion tree unless you are using a soviet/ostheer weapon on a WFA or british unit.
Hope that help
https://www.youtube.com/watch?v=z_ZrH0gUcr0
it works for same-faction units using a weapon they 'shouldn't' normally be ale to use(for example, VolksGrenadiers and FG42 assault rifles); and it also works for using weapons across different factions, but the video doesnt explain the little difference:
*usually*, The only thing you need to do after following the directions in that video; is that you manually add in the faction shortname to the modded aBP file directory lines.
for example after following the instructions in the video; if you wanted a SOVIET PPSH on USF assault engineers youd need to add "Soviet" to the cloned abp file directory lines so the game knows where to look to find the weapon to actually animate it for the model. otherwise youll get the Blue Box of death when you go to test it.
In addition; if you dig around the Archive viewer a bit you'll find that theres already examples of "crossfaction' weapon swaps, for example commandos already come prepackaged with the ability to equip USF thompsons, Tommys have the ability to use the M1 Garand. This is without any modding.
For example; below is the the Tommy ABP file; note how it's directory line is: --"..\\..\\..\\aef\\weapons\\rifle_m1_garand\\rifle_m1_garand", and not just \\weapons\\rifle_m1_garand\\rifle_m1_garand".
model =
{
"..\\..\\..\\common\\NewMotionTree.abp",
"..\\..\\..\\common\\engineer.abp",
-- Main Mesh
"tommy",
-- Common AEF Gear
--"..\\..\\..\\aef\\aefcommongear.abp",
--"..\\..\\..\\aef\\weapons\\rifle_m1_garand\\rifle_m1_garand",
"..\\..\\weapons\\boys_at_rifle\\boys_at_rifle",
"..\\..\\weapons\\rifle_lee_enfield\\rifle_lee_enfield",
"..\\..\\weapons\\smg_mk2_sten\\smg_mk2_sten",
"..\\..\\weapons\\gammon_bomb\\gammon_bomb",
Below is the ABP of the Commando model; notice how they already have the ability to wield Garands, Thompsons, and the GERMAN G43. Notice how the directory is
"..\\..\\..\\german\\weapons\\rifle_g43_sniper\\rifle_g43_sniper",
and not just "..\\..\\weapons\\smg_mk2_sten\\smg_mk2_sten",
Like the "same faction" weapons in the same file. If you're using a weapon from the faction the unit comes from you dont need to add the faction 'prefix'
model =
{
"..\\..\\..\\common\\NewMotionTree.abp",
"..\\..\\..\\common\\engineer.abp",
-- Common AEF Gear
"..\\..\\..\\aef\\aefcommongear.abp",
"..\\..\\..\\aef\\weapons\\rifle_m1_garand\\rifle_m1_garand",
"..\\..\\..\\aef\\weapons\\smg_m1_thompson\\smg_m1_thompson",
"..\\..\\..\\german\\weapons\\rifle_g43_sniper\\rifle_g43_sniper",
"..\\..\\weapons\\smg_mk2_sten\\smg_mk2_sten",
"..\\..\\weapons\\rifle_lee_enfield\\rifle_lee_enfield",
"..\\..\\weapons\\gammon_bomb\\gammon_bomb",
-- Main Mesh
"commando",
}
Finally; if you follow all this and get blue boxes still; you may have to mess with the "motion trees" in the top of the ABP file;
"..\\..\\..\\common\\NewMotionTree.abp", but thats unit to unit. Some units are still on the 'old' motion tree and require you to change that in order for the unit to use "new motion tree" weapons, which are typically weapons released on or after WFA, on that particular unit. You shouldnt need to change the motion tree unless you are using a soviet/ostheer weapon on a WFA or british unit.
Hope that help
24 Nov 2020, 22:24 PM
#3
Posts: 21
This is an ABP file edit. Give this video a watch; it explains everything about it and how to add modded ABP's as apart of your project.
https://www.youtube.com/watch?v=z_ZrH0gUcr0
it works for same-faction units using a weapon they 'shouldn't' normally be ale to use(for example, VolksGrenadiers and FG42 assault rifles); and it also works for using weapons across different factions, but the video doesnt explain the little difference:
*usually*, The only thing you need to do after following the directions in that video; is that you manually add in the faction shortname to the modded aBP file directory lines.
for example after following the instructions in the video; if you wanted a SOVIET PPSH on USF assault engineers youd need to add "Soviet" to the cloned abp file directory lines so the game knows where to look to find the weapon to actually animate it for the model. otherwise youll get the Blue Box of death when you go to test it.
In addition; if you dig around the Archive viewer a bit you'll find that theres already examples of "crossfaction' weapon swaps, for example commandos already come prepackaged with the ability to equip USF thompsons, Tommys have the ability to use the M1 Garand. This is without any modding.
For example; below is the the Tommy ABP file; note how it's directory line is: --"..\\..\\..\\aef\\weapons\\rifle_m1_garand\\rifle_m1_garand", and not just \\weapons\\rifle_m1_garand\\rifle_m1_garand".
Below is the ABP of the Commando model; notice how they already have the ability to wield Garands, Thompsons, and the GERMAN G43. Notice how the directory is
"..\\..\\..\\german\\weapons\\rifle_g43_sniper\\rifle_g43_sniper",
and not just "..\\..\\weapons\\smg_mk2_sten\\smg_mk2_sten",
Like the "same faction" weapons in the same file. If you're using a weapon from the faction the unit comes from you dont need to add the faction 'prefix'
Finally; if you follow all this and get blue boxes still; you may have to mess with the "motion trees" in the top of the ABP file;
"..\\..\\..\\common\\NewMotionTree.abp", but thats unit to unit. Some units are still on the 'old' motion tree and require you to change that in order for the unit to use "new motion tree" weapons, which are typically weapons released on or after WFA, on that particular unit. You shouldnt need to change the motion tree unless you are using a soviet/ostheer weapon on a WFA or british unit.
Hope that help
Oh thank you so much for your help and I managed to use ggp40 on the Russians, but I have a question? The explosive tip is separated from the rifle by a space and looks like floating. Is this a flaw in the animation or did I do something wrong?
Another thing: is it possible to make the animation of the grenade on rifle inverted with the ggp 40? For example, I wanted the tip of the grenade launcher in the shape of a cup, but with normal shooting animation.
25 Nov 2020, 12:05 PM
#4
1
Posts: 3052 | Subs: 15
Oh thank you so much for your help and I managed to use ggp40 on the Russians, but I have a question? The explosive tip is separated from the rifle by a space and looks like floating. Is this a flaw in the animation or did I do something wrong?
Another thing: is it possible to make the animation of the grenade on rifle inverted with the ggp 40? For example, I wanted the tip of the grenade launcher in the shape of a cup, but with normal shooting animation.
i'm not sure EXACTLY how to fix that, but im pretty sure its not your fault. that might be something to do with the 'projectile marker' being different for the soviet mosin/SVT compared to the Grenadier K98, the 'marker' being what decides where projectiles like a rifle grenade or tank shell spawn at and appear from a unit or weapon. thats something that to my knowledge at least is NOT editable in the mod tools, you can only change which pre-existing 'marker' on a animated model is used.
And ofc, the Mosin or SVT was never intended to fire riflegrenades originally whatsoever by relic so it was never given a proper marker for launching rifle grenades, or projectiles. while on the flipside something like the USF M1 Garand youll find should not have this issue and can fire a rifle grenade synced up just fine.
The workaround may just have to be your Soviet squad using a lend lease M1 Garand equipped with a nade launcher
(Use the above described method to give your Conscripots the ability to wield M1 Garands without BlueBoxing, and then copy the Rear echelon Doctrinal/fighting pit rifle nade ability or the USF smoke grenade ability.. you should have a synced up grenade launch.)
Thats the best I can think of if you cant get past the projectile floating
PAGES (1)
1 user is browsing this thread:
1 guest
Livestreams
1 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.831222.789+37
- 2.34957.860+14
- 3.589215.733+4
- 4.1098613.642+2
- 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
VS
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger
Einhoven Country
Honor it
9
Download
1231
Board Info
576 users are online:
576 guests
2 posts in the last 24h
6 posts in the last week
38 posts in the last month
6 posts in the last week
38 posts in the last month
Registered members: 49059
Welcome our newest member, Macnas24
Most online: 2043 users on 29 Oct 2023, 01:04 AM
Welcome our newest member, Macnas24
Most online: 2043 users on 29 Oct 2023, 01:04 AM