So when a vehicle in this game touches the road and starts moving on it, it'll move much faster (driving speed increases).
I have a vehicle_unit in my mod, which I don't want that bonus to apply to it when it touches road terrain. How do I disable it for this unit? I tried looking into its _moving but I couldn't find anything that matches what I'm looking for.
Is there a way to disable road movement_speed bonus?
15 Feb 2018, 04:45 AM
#1

Posts: 64
15 Feb 2018, 05:01 AM
#2


Posts: 1467 | Subs: 4
It is tied to the terrain type, and not to the vehicles. You would have to make a map that doesn't utilize the texture from "road_asphalt", at least, to me as a mapper.
A modder might be able to help you more, but I am not entirely sure that this isn't just tied 100% to textures, since that would mean that crates/ditches that have cover tied to it would also be coded into units that utilize it, which would be strange.
A modder might be able to help you more, but I am not entirely sure that this isn't just tied 100% to textures, since that would mean that crates/ditches that have cover tied to it would also be coded into units that utilize it, which would be strange.
15 Feb 2018, 07:44 AM
#3


Posts: 817 | Subs: 5
Speed multipliers are set to cover types. A few years ago water did slow down soldiers, but they changed the speed_multiplier of water for each soldier entity.
All roads are negative cover, so you can edit the cover_ext in your ebps vehicle:
All roads are negative cover, so you can edit the cover_ext in your ebps vehicle:
<template_reference name="exts" value="ebpextensions\cover_ext">
<group name="tp_negative">
<group name="posture">
<bool name="prevent_prone" value="False" />
<bool name="prevent_standing" value="False" />
</group>
<float name="safety_value" value="0" />
<float name="speed_multiplier" value="1.5" />
<list name="actions">
<template_reference name="action" value="action\animator_set_action">
<string name="action_name" value="UI\Cover\Negative_Cover" />
<float name="duration" value="0" />
<bool name="fire_and_forget" value="True" />
<bool name="is_terrain_only" value="False" />
<bool name="allies_only" value="False" />
<uniqueid name="id" value="1073745852" />
</template_reference>
</list>
</group>
</template_reference>
16 Feb 2018, 10:34 AM
#4

Posts: 64
Speed multipliers are set to cover types. A few years ago water did slow down soldiers, but they changed the speed_multiplier of water for each soldier entity.
All roads are negative cover, so you can edit the cover_ext in your ebps vehicle:
<template_reference name="exts" value="ebpextensions\cover_ext">
<group name="tp_negative">
<group name="posture">
<bool name="prevent_prone" value="False" />
<bool name="prevent_standing" value="False" />
</group>
<float name="safety_value" value="0" />
<float name="speed_multiplier" value="1.5" />
<list name="actions">
<template_reference name="action" value="action\animator_set_action">
<string name="action_name" value="UI\Cover\Negative_Cover" />
<float name="duration" value="0" />
<bool name="fire_and_forget" value="True" />
<bool name="is_terrain_only" value="False" />
<bool name="allies_only" value="False" />
<uniqueid name="id" value="1073745852" />
</template_reference>
</list>
</group>
</template_reference>
Thanks SneakEye

PAGES (1)

1 user is browsing this thread:
1 guest
Livestreams
![]() |
![]() |
![]() |
4 | ||
![]() |
![]() |
![]() |
7 | ||
![]() |
![]() |
![]() |
5 | ||
![]() |
![]() |
![]() |
3 | ||
![]() |
![]() |
![]() |
1 | ||
![]() |
![]() |
![]() |
0 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.64388.880+9
- 2.10935.757+4
- 3.43364.871+2
- 4.302169.641+1
- 5.14851.744-1
- 6.14765.693+15
- 7.14939.793+8
- 8.401200.667+10
- 9.19565.750+8
- 10.199105.655+2
Replay highlight
VS
-
cblanco ★
-
보드카 중대
-
VonManteuffel
-
Heartless Jäger

Einhoven Country

Honor it
15

Download
1390
Board Info
337 users are online:
337 guests
4 posts in the last 24h
7 posts in the last week
40 posts in the last month
7 posts in the last week
40 posts in the last month
Registered members: 54711
Welcome our newest member, uk88technology
Most online: 2043 users on 29 Oct 2023, 01:04 AM
Welcome our newest member, uk88technology
Most online: 2043 users on 29 Oct 2023, 01:04 AM