VStanced/mods
Submit a mod
Mods Guides Forum Submit a mod Log in Register

Forum

Questions, builds, help and the odd argument. The mods and guides are out front.

Notifications
Clear all

Dynodata

4 Posts
2 Users
0 Reactions
2,947 Views
GramzoV
(@gramzov_1971)
Active Member
Joined: 15 years ago
Posts: 4
Topic starter   [#598]

Hello. My English is not very good, I will be brief. I need some kind of help in scripting.

  1. 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 )



   
Quote
RedCarDriver
(@redcardriver_1155)
Member Moderator
Joined: 15 years ago
Posts: 1125
 

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];


   
ReplyQuote
GramzoV
(@gramzov_1971)
Active Member
Joined: 15 years ago
Posts: 4
Topic starter  

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)



   
ReplyQuote
RedCarDriver
(@redcardriver_1155)
Member Moderator
Joined: 15 years ago
Posts: 1125
 

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.)



   
ReplyQuote
Share: