Forum
Questions, builds, help and the odd argument. The mods and guides are out front.
Hello. My English is not very good, I will be brief. I need some kind of help in scripting.
- What "dynodata."'s are there? I mean like: dynodata.P_turbo_waste, dynodata.mixture_ratio, dynodata.maxHP. What else do you know?
2.Is there a way to change "gear_up" sound from engineBlock.java like ignition or nos in a code below?
pre
Thanks in advance )
Download the complete Java sources and search for Dynodata.java. You should be able to see what it uses.
Also, you're close, but not quite. In the engine block source code, it should be:
the_car.SFX_trans_fwd = [REPLACE WITH YOUR SOUND EFFECT TYPEID];
the_car.rpm_trans_fwd = [REPLACE WITH AN RPM NUMBER FROM 1 to 10000];
the_car.SFX_trans_rev = [REPLACE WITH YOUR SOUND EFFECT TYPEID];
the_car.rpm_trans_rev = [REPLACE WITH AN RPM NUMBER FROM 1 to 10000];
the_car.SFX_ignition = [REPLACE WITH YOUR SOUND EFFECT TYPEID];
the_car.sfx_starter_rpm = [REPLACE WITH AN RPM NUMBER FROM 1 to 10000];
Thanks for reply ) [quote=Also, you're close, but not quite. In the engine block source code, it should be:
pre;]
Maybe you're right), but in my case it worked, but I only used ignition
pre
What do you think about some kind of setsfx thing for gear_up? Is it real to add some thing like that to the game?
ps Download sources, is now digging. Thanks for the tip)
Cool, glad you got it working!
I don't think there's a way to change the shifting sound, sadly. If I could, I'd make a sequential gearbox. (That, and the shift speed can't be changed either.)