I was checking out server-side modding site, and came across a idea for giving trucks and jeeps a sort of 'gas pedal'. Along with the usual arrow acceleration, a right click could be set as 'engine rev' and give a boost. The exact amount of extra boost would not need to be like nitrous, just a boost as if you reved the engine up. Maybe have a engine revving sound too. And this time I cant actually suggest how this might actually be coded, unlike with some of my other ideas. ( like that range cord for arty!!) well here is the gist of it- http://www.toolazy2p.com/modules.php?name=Server_Side_Mods&page=nitrous.html SInce a server side they must use a rocket object that already exists, but a new rocket engine could be made so no other would have to be used. (i dunno this could probaly be added more eloquently, but this is one way anyway) from server-side modding site:
This will inject some nitrus into the feeble engine of your favorite vehicle when you right click as the driver. All of the code below just needs to be added at the end of your ObjectSpawnTemplates.con of the map you'd like this affect on. Find your favorite vehicle, and get it's complex bundle name (i.e., for the DPV, it's DPVComplex... if your unsure, check the OBJECTS.rfa, it's normally the 3rd object bundle defined under the vehicle of interest). Next, active the complex bundle and the rocket engine and add the following lines to both (for example) ObjectTemplate.Active DPVComplexObjectTemplate.addTemplate KatyushaRocket_EngineObjectTemplate.setPosition 0/0/0ObjectTemplate.setRotation 0/0/0ObjectTemplate.Active KatyushaRocket_EngineObjectTemplate.setAutomaticReset 1ObjectTemplate.setInputToRoll c_PIAltFireObjectTemplate.setEngineType c_ETPlaneObjectTemplate.setMaxSpeed 0/0/100000ObjectTemplate.setAcceleration 0/0/100000ObjectTemplate.setTorque 50.0ObjectTemplate.setDifferential 30.0 actually, any engine would probably do that doesn't have setNetworkableInfo set on it. If it does, you can change it to the BRDM2 water engine (shown below). Making the above changes to the KatyushaRocket_Engine will also break it (the KatyushaRocket will probably now explode as soon as it's fired). ObjectTemplate.setAutomaticReset 1 - Makes it so the engine only activates while your holding down the mouse button ObjectTemplate.setInputToRoll - set the second mouse button to do the activating. ObjectTemplate.setEngineType c_ETPlane - sets the engine type to a Plane engine. ObjectTemplate.setMaxSpeed 0/0/10000 - sets the maxspeed of the engine itself, this WILL NOT affect the maximum speed of the vehicle (see Torque and Differential for that) ObjectTemplate.setAcceleration 0/0/100000 - Sets the accelleration of the vehicle ObjectTemplate.setTorque 50.0 - How much power the engine has.. adjust this to increase/decrease speed ObjectTemplate.setDifferential 30.0 - This number is multiplied by the Torque when the vehicle is on a level path. increase/decrease this to adjust speed. In DC you have a veriety of rockets to play with to find what you need, depending on what you're willing to sacrafice: SA3RocketEngineMLRSRocket_EngineBM21_Rocket_EngineTomahawk_EngineTomahawk_Engine2Silkworm_EngineSilkworm_Engine2 The tomahawk and silkworm have a second engine that provides a 'coasting' thrust after the main engine shuts down. They'd probably give a more moderate boost to a vehicle and might not completely ruin the original weapon. If you want to sacrafice a plan engine, you need to change it's networkableinfo to the BRDM2 water engine. For example, to use the zero's engine (from cherry BF) for your DPV nitrous, u'd use the following code: ObjectTemplate.Active ZeroEngineObjectTemplate.setNetworkableInfo BRDM2WaterEngineInfo ObjectTemplate.setAutomaticReset 1ObjectTemplate.setInputToRoll c_PIAltFireObjectTemplate.setEngineType c_ETPlaneObjectTemplate.setMinRotation -0.3/0/-3000ObjectTemplate.setMaxRotation 0.3/0/5000ObjectTemplate.setMaxSpeed 1000/0/500ObjectTemplate.setAcceleration 500/0/1000ObjectTemplate.setTorque 15ObjectTemplate.setDifferential 5ObjectTemplate.setGearUp 0.7ObjectTemplate.setGearDown 0.3ObjectTemplate.Active DPVComplexObjectTemplate.addTemplate ZeroEngineObjectTemplate.setPosition 0/0/0ObjectTemplate.setRotation 0/0/0 I do not know if this will work in DC-F yet... if they didn't fixe the BRDM2 water engine, then it should work. Fast vehicles usually take alot of damage when jumping hills. This can be remedied by setting the speedMod to a low number (or to 0). Just ObjectTemplate.Active the vehicle in question, and set it accordingly. For example, to set the speedMod to 0 on the lada, use the following code at the end of your ObjectSpawnTemplates.con: ObjectTemplate.active LadaObjectTemplate.speedMod 0
But since this could be done not as server side mod, a new engine could just be utilzed so rather then katayush, a new one. For the sound, rather then a rocket sound, a engine revving sound-- heres a engine reving sound from a free site- http://www.partnersinrhyme.com/pir/PIRsfx.html here--> the end of this has sort of a truck revving sound http://autospeak.com/grpsndc/trckstrt.wav and perhaps part of this modified http://autospeak.com/grpsnda/vwbuggy.wav these sounds are really weak though and not realy correct, so probably better options. Anyway the main idea was the aceleration boost/engine revvin thing with right click. Only other random idea for a static, would be to make a pot for the stove with a stew in it boiling. http://sound-effect.com/pirsounds/PD_SOUNDFX/HOUSEHOL/KITCHEN/Boil.wav I dunno who would model a stew pot, but maybe a kettle might be better. Like somone was about to make tea then they had to leave. :cheers:
Wanna go Double Dutch?
9th December 2003
Why would anyone want them to have some sort of strange nitrous boost? :confused:
A gas paddle or gears would be nice to have, different speeds and terrain require a different speed and gear. -enter annoying slope drama here-
Großadmiral DönitzWhy would anyone want them to have some sort of strange nitrous boost? :confused: A gas paddle or gears would be nice to have, different speeds and terrain require a different speed and gear. -enter annoying slope drama here-
OH no, when creating the object it would not be like a nitrous thing. In fact, if anything it could maybe just torc but not speed so you coudl accelerate faster or to make it wasier to go up hills(almost as if your were down shifting). Yes, a full system would be nice but I have not clue how that would be done. Best Iv found is adapting this idea for nitrous, to just a smaller boost with maybe a engine revving sound. Hmm also what do you think of my stew or tea pot on the stove idea.
Maybe not a necessarily a boost button, but the jeeps do need to be faster. This is the Willys Jeep we're talking about here, capable of least 50 or 60mph on a road. Currently it seems to go about half that. Pfft.
One release of XWW2, 2.3.7 or 2.4, or something, did this to the jeeps. They were otherwise normal as far as acceleration and stuff went, but they had a considerably higher top speed. They were a ton of fun and more realistic to boot.
I believe the BF engine does have some sort of gearing system, but it isn't user-adjustable. It has something to do with the acceleration and climbing ability of vehicles, IIRC.
FH should do this to jeeps and other light vehicles like the kettenkrad, trucks, etc.
Giving jeeps and even tanks a 1st gear option would be good.... But boost? Where does boost fit in FH?
'[SYN hydraSlav']Giving jeeps and even tanks a 1st gear option would be good.... But boost? Where does boost fit in FH?
umm.... on trucks on vehicles when you rev the engine up. Also, I already suggested the boost being a torque increase (such as for going up hills), which would be symbolic of chaninge down a gear. Its not a f-ing rocket boost im suggesting, but rather a smaller increase- one that helps you get up hills or gives speeder accerlation driving away from a tank- with a engine revving sound. Representive of flooring the gas pedal, or in the case of the torque increase, shifting down.
"umm.... on trucks on vehicles when you rev the engine up. Also, I already suggested the boost being a torque increase (such as for going up hills), which would be symbolic of chaninge down a gear."
iv also suggested it with the changin gears thread from way back when i first got here
i was talking about this thread, not the whole forum. Thats a good idea though, the gear changine thing. My main point though was just having a right clicking give a small boost and a engine revving sound, like if you stomped your foot down on the gas. The whole gear and throttle things have been suggested before and shot down, so the idea here was to show something simplair with a method of implementation so that it could actually be done if desired.