描述
This mod allows to adjust engine volume for cars
and some planes (Hydra, Shamal, AT400, Adromada).
Now you can better hear passing and idling cars.
Available volume level tweaks:
- player car accelerating (gas pedal pressed)
- player car rolling - moving without pedal pressed
- player car idle - standing idle
- traffic cars driving
- traffic cars idle (like waiting at traffic light)
You can also add custom volume settings for any vehicle, including added vehicles. Cars
and bikes only !
Add strings to ini file using this template:
[XXX]
Flag=1
Acceleration=-3.0
FreeRoll=3.0
Idle=6.0
XXX - is model id. Flag=1 should be always present.
It is used internally by the mod, no effect on the game.
https://youtu.be/gPUtRdEh_L0
https://youtu.be/GyAbl0X-Zd4
and some planes (Hydra, Shamal, AT400, Adromada).
Now you can better hear passing and idling cars.
Available volume level tweaks:
- player car accelerating (gas pedal pressed)
- player car rolling - moving without pedal pressed
- player car idle - standing idle
- traffic cars driving
- traffic cars idle (like waiting at traffic light)
You can also add custom volume settings for any vehicle, including added vehicles. Cars
and bikes only !
Add strings to ini file using this template:
[XXX]
Flag=1
Acceleration=-3.0
FreeRoll=3.0
Idle=6.0
XXX - is model id. Flag=1 should be always present.
It is used internally by the mod, no effect on the game.
https://youtu.be/gPUtRdEh_L0
https://youtu.be/GyAbl0X-Zd4
评论
目前已发表了 5 条评论。
10/10/2024 10:42
@Davidstrs
Thanks for pointing out the int-float error.
The "weird" part where there is no info in ini - it is used if a player will add custom volume settings for a vehicle.
The script gets vehicle model ID, converts it to string and checks if a section for that model is present. If not - it uses default values.
引用 | 回复
@Davidstrs
Thanks for pointing out the int-float error.
The "weird" part where there is no info in ini - it is used if a player will add custom volume settings for a vehicle.
The script gets vehicle model ID, converts it to string and checks if a section for that model is present. If not - it uses default values.
引用 | 回复
10/09/2024 17:09
hey man this mod is nice as i see here but why in script i see something weird
03C0: 10@ = actor $PLAYER_ACTOR car
0441: 30@ = car 10@ model
0AD3: 28@s = string_format "%d" 30@
if
0AF0: 29@ = read_int_from_ini_file "cleo\engine_volume.ini" section 28@s key "Flag"
then
0AF2: 21@ = read_float_from_ini_file "cleo\engine_volume.ini" section 28@s key "Acceleration"
0AF2: 22@ = read_float_from_ini_file "cleo\engine_volume.ini" section 28@s key "FreeRoll"
0AF2: 23@ = read_float_from_ini_file "cleo\engine_volume.ini" section 28@s key "Idle"
else
//set default values
0085: 21@ = 18@ // (int)
0085: 22@ = 19@ // (int)
0085: 23@ = 20@ // (int)
end
i am sure there is something wrong
this it should be 0087: you using 85 its a int
0085: 21@ = 18@ // (int)
0085: 22@ = 19@ // (int)
0085: 23@ = 20@ // (int)
this one here
0441: 30@ = car 10@ model
0AD3: 28@s = string_format "%d" 30@
if
0AF0: 29@ = read_int_from_ini_file "cleo\engine_volume.ini" section 28@s key "Flag"
then
0AF2: 21@ = read_float_from_ini_file "cleo\engine_volume.ini" section 28@s key "Acceleration"
0AF2: 22@ = read_float_from_ini_file "cleo\engine_volume.ini" section 28@s key "FreeRoll"
0AF2: 23@ = read_float_from_ini_file "cleo\engine_volume.ini" section 28@s key "Idle"
it is reading but no info in "engine_volume.ini" idk why is that you can check
引用 | 回复
hey man this mod is nice as i see here but why in script i see something weird
03C0: 10@ = actor $PLAYER_ACTOR car
0441: 30@ = car 10@ model
0AD3: 28@s = string_format "%d" 30@
if
0AF0: 29@ = read_int_from_ini_file "cleo\engine_volume.ini" section 28@s key "Flag"
then
0AF2: 21@ = read_float_from_ini_file "cleo\engine_volume.ini" section 28@s key "Acceleration"
0AF2: 22@ = read_float_from_ini_file "cleo\engine_volume.ini" section 28@s key "FreeRoll"
0AF2: 23@ = read_float_from_ini_file "cleo\engine_volume.ini" section 28@s key "Idle"
else
//set default values
0085: 21@ = 18@ // (int)
0085: 22@ = 19@ // (int)
0085: 23@ = 20@ // (int)
end
i am sure there is something wrong
this it should be 0087: you using 85 its a int
0085: 21@ = 18@ // (int)
0085: 22@ = 19@ // (int)
0085: 23@ = 20@ // (int)
this one here
0441: 30@ = car 10@ model
0AD3: 28@s = string_format "%d" 30@
if
0AF0: 29@ = read_int_from_ini_file "cleo\engine_volume.ini" section 28@s key "Flag"
then
0AF2: 21@ = read_float_from_ini_file "cleo\engine_volume.ini" section 28@s key "Acceleration"
0AF2: 22@ = read_float_from_ini_file "cleo\engine_volume.ini" section 28@s key "FreeRoll"
0AF2: 23@ = read_float_from_ini_file "cleo\engine_volume.ini" section 28@s key "Idle"
it is reading but no info in "engine_volume.ini" idk why is that you can check
引用 | 回复
