Jump to content
Sign in to follow this  
UK_SPAWN

Specific Project help - Car sounds, speed and other noob stuff

Recommended Posts

HI all, i have not visited these forums for a few years but its time i got back to (finishing) learning arma2 editing.

so starting where i left of, i decided to get a vehicle in game, just the most basic thing i could think of.. a Jet Powered Hover Craft Of Course!?! (there is logic (no wheels! to do!)

SO the model is made (need a final model but the mock up works fine / untextured etc)

i have made a 'bodge' config from bits i have found on the internet but now i'm getting to the stage where i'm lost again and in need of assistance.

It is at the stage of: i am able to get inside, drive around, hear the default Hummer SFX, default speeds etc etc.

here is my CPP file so far

=========================================

class CfgPatches

{

class firstCar

{

units[] = {firstCar};

weapons[] = {};

requiredVersion = 1.0;

};

};

class CfgVehicles

{

class HMMWV;

class firstcar: HMMWV

{

displayName="HoverCraft"; // Displayname in editor

model= \firstcar\firstcar; // our p3d model path

transportSoldier=0; // Right now just driver, no cargo

maxspeed=2000;

};

};

===================================================================

the "maxspeed=2000;" isnt working.

what i would like to know is/are:

-Can you / How to change the sounds of the vehicle so it sounds like an aircraft?

(any aircraft with a jet, can i just reference another already working set of sounds in my config.cpp E.g use the A10 sounds etc)

i tried to add this, but i suspect that i dont have those directories as its a steam verions and i cant find any of the paths/folders or files referred to in this script.

===============================================================================

class Sounds

{

class EngineLowOut

{

sound[] = {"ca\sounds\Air\AV8\ext\ext-jetair-engine-low1", db8, 1.0, 1200};

frequency = "1.0 min (rpm + 0.5)";

volume = "engineOn*camPos*(rpm factor[0.85, 0])";

};

class EngineHighOut

{

sound[] = {"ca\sounds\Air\AV8\ext\ext-jetair-engine-high3", db8, 1.3, 1500};

frequency = "1";

volume = "engineOn*camPos*(rpm factor[0.55, 1.0])";

};

class ForsageOut

{

sound[] = {"ca\sounds\Air\AV8\ext\ext-jetair-forsage1", db8, 1.1, 2000};

frequency = "1";

volume = "engineOn*camPos*(thrust factor[0.5, 1.0])";

cone[] = {3.14, 3.92, 2.0, 0.4};

};

class WindNoiseOut

{

sound[] = {"ca\sounds\Air\AV8\ext\ext-jetair-wind1", db0, 1.0, 100};

frequency ="(0.1+(1.2*(speed factor[1, 150])))";

volume = "camPos*(speed factor[1, 150])";

};

/* INTERNAL SOUNDS F35B */

class EngineLowIn

{

sound[] = {"ca\sounds\Air\AV8\int\int-av8b-engine-low", db-2, 1.0};

frequency = "1.0 min (rpm + 0.5)";

volume = "(1-camPos)*(engineOn*(rpm factor[0.85, 0]))";

};

class EngineHighIn

{

sound[] = {"ca\sounds\Air\AV8\int\int-av8b-engine", db-2, 1.0};

frequency = "1";

volume = "(1-camPos)*(engineOn*(rpm factor[0.55, 1.0]))";

};

class ForsageIn

{

sound[] = {"ca\sounds\Air\AV8\int\int-av8b-forsage-1", db-2, 1.1};

frequency = "1";

volume = "(1-camPos)*(engineOn*(thrust factor[0.8, 1.0]))";

};

class WindNoiseIn

{

sound[] = {"ca\sounds\Air\AV8\int\int-jetair-wind1", db-3, 1.0};

frequency ="(0.1+(1.2*(speed factor[1, 150])))";

volume = "(1-camPos)*(speed factor[1, 150])";

};

};

=========================================================================

ALSO:

-How do i alter the acceleration, maximum speed, amount of grip / handling characteristics etc?

i have found a script i can use for "speed" after within the editor for a "turbo" mode, just wondering if this can be set up / over ride the hummer sounds/speed by default without the need for another script.

Any assistance with my project would be greatly appreciated,

Thanks in advance,

Mark

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×