Login

russian armor

hull_down ability

18 Dec 2018, 14:35 PM
#1
avatar of Stingy

Posts: 26

Hi.

Have been testing a bit with the "Hull Down" ability from the Osther faction, I want my rear echelon troops to be able to Hull down AEF and British vehicles. Have been cloning upgrades, abilities and commander abilities, but somehow I'am not able to fortify my tanks.

I do have the ability ingame, and have added the ability to the rear echelon, but when I try the ability on a tank it just says "too far away" or something.

What am I missing? have someone done this before?

18 Dec 2018, 15:06 PM
#2
avatar of RagnarTheGamer
Master Modmaker Badge

Posts: 317

jump backJump back to quoted post18 Dec 2018, 14:35 PMStingy
Hi.

Have been testing a bit with the "Hull Down" ability from the Osther faction, I want my rear echelon troops to be able to Hull down AEF and British vehicles. Have been cloning upgrades, abilities and commander abilities, but somehow I'am not able to fortify my tanks.

I do have the ability ingame, and have added the ability to the rear echelon, but when I try the ability on a tank it just says "too far away" or something.

What am I missing? have someone done this before?



Hey,
the problem is that only some vehicles support hull down. So for USF you can't just clone the standard animation but you would need to make your own "animation".

Regards,
RagnarTheGamer

18 Dec 2018, 17:02 PM
#3
avatar of Stingy

Posts: 26



Hey,
the problem is that only some vehicles support hull down. So for UKF you can't just clone the standard animation but you would need to make your own "animation".

Regards,
RagnarTheGamer



Thanks for the reply RagnarTheGamer, ok so it is not possible to have the "Hull Down" ability for the British.

But the issue applies also to AEF vehicles, my echelon troops are not able to create hull down on shermans.
18 Dec 2018, 17:35 PM
#4
avatar of SneakEye
Senior Modmaker Badge

Posts: 817 | Subs: 5

It sure is possible to add hull down for all vehicles :D, although the sandbag animation won't fit perfectly for all of them.

1. To enable the animation, you have to put one of these line in the abp file of your vehicle:
(https://www.coh2.org/topic/35797/tutorial-editing-abp-files)
"..\\..\\..\\west_german\\structures\\west_german_hull_down_m\\west_german_hull_down_m",
"..\\..\\..\\west_german\\structures\\west_german_hull_down_l\\west_german_hull_down_l",
"..\\..\\..\\west_german\\structures\\west_german_hull_down_xl\\west_german_hull_down_xl",

2. In ebps\type_ext, add 'hull_down' to the list. (I think this solves the 'too far away' issue)
3. Copy the 3rd action from ebps\races\german\vehicles\panzer_iv_sdkfz_161\panzer_iv_sdkfz_161_mp
action_apply/actions/3. requirement_action. This applies the bonuses when hull_down is enabled.

I think that's all. The hull_down ability itself doesn't require any changes.
18 Dec 2018, 17:53 PM
#5
avatar of RagnarTheGamer
Master Modmaker Badge

Posts: 317

It sure is possible to add hull down for all vehicles :D, although the sandbag animation won't fit perfectly for all of them.

1. To enable the animation, you have to put one of these line in the abp file of your vehicle:
(https://www.coh2.org/topic/35797/tutorial-editing-abp-files)
"..\\..\\..\\west_german\\structures\\west_german_hull_down_m\\west_german_hull_down_m",
"..\\..\\..\\west_german\\structures\\west_german_hull_down_l\\west_german_hull_down_l",
"..\\..\\..\\west_german\\structures\\west_german_hull_down_xl\\west_german_hull_down_xl",

2. In ebps\type_ext, add 'hull_down' to the list. (I think this solves the 'too far away' issue)
3. Copy the 3rd action from ebps\races\german\vehicles\panzer_iv_sdkfz_161\panzer_iv_sdkfz_161_mp
action_apply/actions/3. requirement_action. This applies the bonuses when hull_down is enabled.

I think that's all. The hull_down ability itself doesn't require any changes.


Hmm ..., well that makes things easier then. Didn't know it was possible but I would still prefer making my own to make it fit on point. :P

jump backJump back to quoted post18 Dec 2018, 17:02 PMStingy


Sorry for confusing you.
18 Dec 2018, 18:00 PM
#6
avatar of Stingy

Posts: 26

Thank you all for replying, awesome if it works, will try to add it. :D:D

Update: Got it to work. Thanks for helping out :) with my first try I cloned probably to many fields.
5 Jul 2019, 05:59 AM
#7
avatar of BoshelvikHall

Posts: 54



Hmm ..., well that makes things easier then. Didn't know it was possible but I would still prefer making my own to make it fit on point. :P


Sorry for confusing you.


How do you make your own animation?
6 Jul 2019, 12:30 PM
#8
avatar of Olhausen
Modmaker Badge

Posts: 245

@sneakeye Thank you sr. for your expertices. In Wikinger we have our own hull down system but I think the vanilla one could be usefull too.
The info is welcome

Cheers
8 Jul 2019, 10:35 AM
#9
avatar of RagnarTheGamer
Master Modmaker Badge

Posts: 317

How do you make your own animation?


Well its actually quite simple but it can get complicated.

First what you want to do is to design your vehicle/building in World Builder to give you an idea of how it will look after executing the ability or action to trigger the animation. You also need to do this to know where you will be spawning the new entities.



Ok, so now let's go step by step.

1) You need to make sure your main entity(the entity that you are creating the animation for) has its x and y coordinates are as close as possible to 0. In the picture above, you see that I have x = 0.15 and y = -0.16.

2) Place your objects around your main entity.

Now, let's open the Attribute Editor.

3) We make a new ability (a toggle ability in this example).

4) In action_list > start_target_action, we will add apply_modifiers_action. To the modifiers, we add move_enable_modifier and set the usage_type to enable and value to -1. We do this to disable the movement of the vehicle while the ability is active.

5) Another action we add to start_target_action is delay. To delay_actions we add change_target_action and set the change_target_type to entities.

6) Now in change_target_action to actions we add spawn_entity and we set duration to 0, entity_blueprint to entity we want to spawn and offset to the x, y, z coordinates to match the coordinates from the World Builder.
NOTE: If z coordinates in World Builder are equal to 10 then the z offset will be 0 in the spawn_entity action.

And now you should be good to go just to double check your delay action should look like on the picture below.



To make the animation better looking we spawn 2-4 entities in one change_target_action. And then just add another delay action to the original delays delay_actions and repeat what we did.

I hope this helped you and if I made something unclear or you need more assistance feel free to ask.

Regards,
Ragnar



25 Nov 2020, 15:18 PM
#10
avatar of Popsicle

Posts: 42

It sure is possible to add hull down for all vehicles :D, although the sandbag animation won't fit perfectly for all of them.

1. To enable the animation, you have to put one of these line in the abp file of your vehicle:
(https://www.coh2.org/topic/35797/tutorial-editing-abp-files)
"..\\..\\..\\west_german\\structures\\west_german_hull_down_m\\west_german_hull_down_m",
"..\\..\\..\\west_german\\structures\\west_german_hull_down_l\\west_german_hull_down_l",
"..\\..\\..\\west_german\\structures\\west_german_hull_down_xl\\west_german_hull_down_xl",

2. In ebps\type_ext, add 'hull_down' to the list. (I think this solves the 'too far away' issue)
3. Copy the 3rd action from ebps\races\german\vehicles\panzer_iv_sdkfz_161\panzer_iv_sdkfz_161_mp
action_apply/actions/3. requirement_action. This applies the bonuses when hull_down is enabled.

I think that's all. The hull_down ability itself doesn't require any changes.



Hello again. After adding this line to my pershing .abp file, the Pershing now has a big blue box in-game that says missing rgm.

"..\\..\\..\\west_german\\structures\\west_german_hull_down_l\\west_german_hull_down_l",

I was going to try extracting the .rgm from the archive and including it in my mod but I don't know where to find it.
25 Nov 2020, 18:04 PM
#11
avatar of SneakEye
Senior Modmaker Badge

Posts: 817 | Subs: 5

Hello again. After adding this line to my pershing .abp file, the Pershing now has a big blue box in-game that says missing rgm.

"..\\..\\..\\west_german\\structures\\west_german_hull_down_l\\west_german_hull_down_l",

I was going to try extracting the .rgm from the archive and including it in my mod but I don't know where to find it.

The Archive Viewer can be used to view the paths to the referred file. I assume you are familiar with this since you extracted the .abp file already. All paths in the .abp are relative and should be carefully checked if they are valid from the directory where you saved the .abp. There is either a typo or wrong path that causes the blue box.
25 Nov 2020, 21:56 PM
#12
avatar of Popsicle

Posts: 42


The Archive Viewer can be used to view the paths to the referred file. I assume you are familiar with this since you extracted the .abp file already. All paths in the .abp are relative and should be carefully checked if they are valid from the directory where you saved the .abp. There is either a typo or wrong path that causes the blue box.


Yes to the Archive Viewer. I have other changes in other .abp files and don't have this problem. Must have just been lucky. I am sure it has to be a relative path problem. I'll sort it out. Thanks Sneakeye.
28 Nov 2020, 00:00 AM
#13
avatar of Moocats

Posts: 71



.............
1) You need to make sure your main entity(the entity that you are creating the animation for) has its x and y coordinates are as close as possible to 0. In the picture above, you see that I have x = 0.15 and y = -0.16.
................





Is there a way to rotate the spawned entity? X, Y, Z only gives us so many options.
28 Nov 2020, 10:44 AM
#14
avatar of RagnarTheGamer
Master Modmaker Badge

Posts: 317

jump backJump back to quoted post28 Nov 2020, 00:00 AMMoocats


Is there a way to rotate the spawned entity? X, Y, Z only gives us so many options.

Sadly not. Only X and Y cords.
28 Nov 2020, 15:33 PM
#15
avatar of Moocats

Posts: 71


Sadly not. Only X and Y cords.


Thanks.
N/A
29 Nov 2020, 13:05 PM
#16
avatar of N/A

Posts: 29

jump backJump back to quoted post28 Nov 2020, 00:00 AMMoocats


Is there a way to rotate the spawned entity? X, Y, Z only gives us so many options.


spawn_entity Y must have no moving_ext in ebps

Rotating entities can use target
refer to usf_medic_squad_mp abilities medic_auto_heal
I used this ability to achieve rotation, moving entities to track targets.
1 user is browsing this thread: 1 guest

SHOUT IT OUT!

No ProfanityNumber of ShoutsRefresh Shout Box
Osinyagov: Suddenly, coh2 is slowly dying, but you can play it, playerbase still big enough
Yesterday, 17:00 PM
Osinyagov: Wow, i remember you from zansi and vali videos, good old memories
Yesterday, 16:58 PM
Beinhard: o7 miss this game and zansi
Yesterday, 14:09 PM
Lady Xenarra: @Willy Pete The lack of April Fools this year is odd lol
02 Apr 2025, 01:34 AM
Willy Pete: @Rosbone not dead yet. when that happens the font will switch to Papyrus :*(
02 Apr 2025, 00:16 AM
dasheepeh: it was an honor guys :guyokay:
01 Apr 2025, 20:34 PM
aerafield: yeah I already prepared my "Can't believe there's comic mode for the 10 daily visitors even on this April 1st" :guyokay:
01 Apr 2025, 20:29 PM
Rosbone: @dasheepeh I guess that means this site is officially dead :guyokay:
01 Apr 2025, 20:19 PM
dasheepeh: no comic sans font for april 1st this year?
01 Apr 2025, 19:56 PM
Willy Pete: @Lady Xenarra this you? https://i.imgflip.com/3e4thi.jpg
01 Apr 2025, 02:53 AM
Lady Xenarra: Does anyone else think that USF needs buffs? It feels like they’re on life support sometimes
01 Apr 2025, 02:36 AM
Willy Pete: @Rosbone Ahh I missed that memo. I still think its a bad decision though. Adds frustration for players and isnt gonna make them that much money
27 Mar 2025, 15:46 PM
Rosbone: It is also good they left it free until after the free to play weekend. Points for that.
27 Mar 2025, 09:34 AM
Rosbone: But I agree, the cost to get a full decent Coh game pushing $115 US is not the best idea. Especially when it needs so much more work for casuals.
27 Mar 2025, 09:32 AM
Rosbone: To be fair, it was a thank you to early fans right? They said it was not free for long and it would become a pay DLC at some point.
27 Mar 2025, 09:30 AM
Willy Pete: Re-releasing free DLC so they can charge new players money for it. Brilliant marketing strategy :clap:
27 Mar 2025, 04:31 AM
Soheil: Coh2 still broken server ?
25 Mar 2025, 18:27 PM
Rosbone: Congrats to Relic. Looks like Coh3 has finally usurped Coh2 s the popular Coh. You smell terrific. :snfQuinn:.
24 Mar 2025, 02:46 AM
Nickbn: and again someone else replies. I mean come on guys. Give @adamírcz a chance
22 Mar 2025, 14:00 PM

Livestreams

unknown 38
Germany 13
Australia 2
Canada 2
unknown 1

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

451 users are online: 451 guests
0 post in the last 24h
6 posts in the last week
69 posts in the last month
Registered members: 53450
Welcome our newest member, bet88bzcom
Most online: 2043 users on 29 Oct 2023, 01:04 AM