Advertising
Navigation
Information

GTA San Andreas Mods

:

CLEO Modifications

Engine Volume


Autor: vladvo
Datum: 09.10.2024
Downloads: 3695 | Statistiken
Dateigröße: 3.27 KB

Bewertung:
10.00 bei 6 Bewertungen

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

Advertising
Download
Werbung
Melden
Mod Report

Bist du der Autor dieser Modifications? Falls jemand deine Mod geklaut hat, kannst du diesen Mod melden und einen Antrag auf Löschung stellen.

Diese Mod melden

Screenshots
Videos
Ein Youtube Video hinzufügen

5 Kommentare bisher
Dein Name/Nick:


Deine Message:


reload, if the code cannot be seen

Hinweis:
Du musst registriert und eingeloggt sein, um Kommentare zu posten.
Davidstrs
"Vic"
Vic
Comments: 0
Profile
Message
09.10.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 "cleoengine_volume.ini" section 28@s key "Flag"
then
0AF2: 21@ = read_float_from_ini_file "cleoengine_volume.ini" section 28@s key "Acceleration"
0AF2: 22@ = read_float_from_ini_file "cleoengine_volume.ini" section 28@s key "FreeRoll"
0AF2: 23@ = read_float_from_ini_file "cleoengine_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 "cleoengine_volume.ini" section 28@s key "Flag"
then
0AF2: 21@ = read_float_from_ini_file "cleoengine_volume.ini" section 28@s key "Acceleration"
0AF2: 22@ = read_float_from_ini_file "cleoengine_volume.ini" section 28@s key "FreeRoll"
0AF2: 23@ = read_float_from_ini_file "cleoengine_volume.ini" section 28@s key "Idle"

it is reading but no info in "engine_volume.ini" idk why is that you can check


King008500
"Vic"
Vic
Comments: 0
Profile
Message
09.10.2024, 21:20

goodgood


MinhKhoi21
"Vic"
Vic
Comments: 0
Profile
Message
10.10.2024, 06:58

good


vladvo
"Vic"
Vic
Comments: 0
Profile
Message
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.


breant55
"Vic"
Vic
Comments: 0
Profile
Message
27.10.2024, 17:10

good