Help Creating Concrete mortar bunker
23 May 2022, 09:42 AM
#1
Posts: 1220 | Subs: 1
I am trying to make the concrete mortar bunker for ost. For now, i managed to built a structure with the right blueprint but not yet know how to give it funtional weapons and abilities. Please help me, thank you.
24 May 2022, 12:48 PM
#2
Posts: 38
Hi. You should be able to give it weapon by adding one of the mortar weapons into its combat.ext.
To give it an ability just clone any mortar barrage ability. Set up the actions like this
Then add it to the unit.
To give it an ability just clone any mortar barrage ability. Set up the actions like this
Then add it to the unit.
25 May 2022, 16:01 PM
#3
Posts: 1220 | Subs: 1
Hi. You should be able to give it weapon by adding one of the mortar weapons into its combat.ext.
To give it an ability just clone any mortar barrage ability. Set up the actions like this
Then add it to the unit.
Thank, i created an ability for testing. The hatch open and there are mortar round droped on target but there are no sound effect or flash on the mortar tube.
26 May 2022, 21:56 PM
#4
Posts: 38
Unfortunately it wont have either. A lot of the models left from coh1 don't anymore (probably cause their sound and visual effect files were deleted).
For the sound however you can try this workaround (though its not perfect)
For the sound however you can try this workaround (though its not perfect)
27 May 2022, 01:44 AM
#5
Posts: 817 | Subs: 5
Unfortunately it wont have either. A lot of the models left from coh1 don't anymore (probably cause their sound and visual effect files were deleted).
For the sound however you can try this workaround (though its not perfect)
I use the following workaround to create the sound:
Clone "ebps\races\west_german\buildings\defensive_structures\med_supply_stash" and give it a unique new name.
Remove "construction_ext"
Empty the actions list in "action_apply"
Change the "entity/blueprint_ext/animator" to: armies\british\weapons\3in_mortar\3in_mortar
Then go to the weapon file of your mortar bunker and set this in "fire":
"mortar_sound" is the new created object.
The firing effect is working normal for me and don't recall doing anything special for that. It is possible to force it with "animator_set_action" in on_fire_actions (outsite the spawn_entity). Set action_name to: 60mmmortar_fire_fx
27 May 2022, 05:29 AM
#6
Posts: 1220 | Subs: 1
I use the following workaround to create the sound:
Clone "ebps\races\west_german\buildings\defensive_structures\med_supply_stash" and give it a unique new name.
Remove "construction_ext"
Empty the actions list in "action_apply"
Change the "entity/blueprint_ext/animator" to: armies\british\weapons\3in_mortar\3in_mortar
Then go to the weapon file of your mortar bunker and set this in "fire":
"mortar_sound" is the new created object.
The firing effect is working normal for me and don't recall doing anything special for that. It is possible to force it with "animator_set_action" in on_fire_actions (outsite the spawn_entity). Set action_name to: 60mmmortar_fire_fx
I think i'm getting there. I got the sound and flash effect. But the mortar barrel is not turn to the firing direction. Also, how do you "buried" the bunker to the ground ?
27 May 2022, 06:15 AM
#7
Posts: 817 | Subs: 5
I think i'm getting there. I got the sound and flash effect. But the mortar barrel is not turn to the firing direction. Also, how do you "buried" the bunker to the ground ?
In the weapon,
Set anim_table/track_horizontal to Mortar_Angle
Set anim_table/track_horizontal_speed to Turn_Rate
In the barrage ability,
Set artillery_attack/face_to_target to True
To make it burried, you have to create an .abp like this:
vehicle_render_offsety does the trick
Code
model =
{
"ums_mortar_bunker",
}
simvis_attributes =
{
vehicle_physics = 0,
vehicle_width = 0,
vehicle_length = 0,
vehicle_nr_wheels = 0,
vehicle_spring_constant = 0,
vehicle_damper_constant = 0,
vehicle_wheel_travel = 0,
vehicle_acceleration_factor = 0,
vehicle_gravity = 1,
vehicle_render_offset = 0,
vehicle_debug_render = 0,
vehicle_smoothness = 3,
vehicle_render_offsetx = 0,
vehicle_render_offsety = -2.4,
vehicle_render_offsetz = 0,
}
27 May 2022, 08:37 AM
#8
Posts: 1220 | Subs: 1
In the weapon,
Set anim_table/track_horizontal to Mortar_Angle
Set anim_table/track_horizontal_speed to Turn_Rate
In the barrage ability,
Set artillery_attack/face_to_target to True
To make it burried, you have to create an .abp like this:
vehicle_render_offsety does the trick
Code
model =
{
"ums_mortar_bunker",
}
simvis_attributes =
{
vehicle_physics = 0,
vehicle_width = 0,
vehicle_length = 0,
vehicle_nr_wheels = 0,
vehicle_spring_constant = 0,
vehicle_damper_constant = 0,
vehicle_wheel_travel = 0,
vehicle_acceleration_factor = 0,
vehicle_gravity = 1,
vehicle_render_offset = 0,
vehicle_debug_render = 0,
vehicle_smoothness = 3,
vehicle_render_offsetx = 0,
vehicle_render_offsety = -2.4,
vehicle_render_offsetz = 0,
}
I do so, but the mortar still doesn't turn.
PAGES (1)
1 user is browsing this thread:
1 guest
Livestreams
24 | |||||
13 | |||||
9 | |||||
4 | |||||
260 | |||||
56 | |||||
30 | |||||
2 | |||||
1 | |||||
1 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.831222.789+37
- 2.34957.860+14
- 3.589215.733+4
- 4.1099614.642-1
- 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
673 users are online:
673 guests
1 post in the last 24h
7 posts in the last week
39 posts in the last month
7 posts in the last week
39 posts in the last month
Registered members: 49065
Welcome our newest member, Huhmpal01
Most online: 2043 users on 29 Oct 2023, 01:04 AM
Welcome our newest member, Huhmpal01
Most online: 2043 users on 29 Oct 2023, 01:04 AM