FUEL: REFUELED is an enhancement modification for the game FUEL, which brings multiple bug-fixes, improvements and the addition of various new content.

Forum Thread
  Posts  
Ideas for how to make an "out of vehicle" mod (Games : FUEL : Mods : FUEL: REFUELED : Forum : Suggestions & Wish-list : Ideas for how to make an "out of vehicle" mod) Locked
Thread Options
Mar 29 2011 Anchor

One of the biggest things this game is missing is the ability to get out your car and walk around. Modding that into the game would obviously be nigh-on impossible but a good approximation would be if you could edit one of the less popular vehicles in the following way:

  • acceleration and deceleration to maximum,
  • turning rate to maximum
  • top speed to low (walking/jogging/running speed)
  • lock all 3 cameras for this to first person so you can't see the car (hopefully their motion will be unlocked though, unlike the default first person camera)
  • if you can, tie in the turning to the camera movement (if you can't it will take getting used to, but it's better than nothing!)
  • disable the vehicle sounds (if possible)

Do you know the values to make this possible? At least like this we would have some approximation to an out-of-vehicle mod. If you could replace the model of the vehicle with the character that would also be cool for multi-player (even if you can't animate him walking). This last suggestion is a bit far-fetched from what I know about modding though!

Anyway, let me know if I can help with that, but reverse-engineering values is something I have zero time for at the moment, to my dismay.

Vetron
Vetron FUEL: REFUELED Developer
Mar 30 2011 Anchor

DrKaii wrote:

  • acceleration and deceleration to maximum,
  • turning rate to maximum
  • top speed to low (walking/jogging/running speed)
  • lock all 3 cameras for this to first person so you can't see the car (hopefully their motion will be unlocked though, unlike the default first person camera)
  • if you can, tie in the turning to the camera movement (if you can't it will take getting used to, but it's better than nothing!)
  • disable the vehicle sounds (if possible)

Its somewhat do-able. Locking the camera I don't think is possible, but a control scheme could easily be put in place to set the camera turn to vehicle turn etc.

Um to do this its probably best to use one of the 'test' vehicles in the game as a model, so it doesn't change any of the other vehicles.

Turning rate is PP 2 and PP 3, but there are other values that control wheel turn amount etc
Speed / acceleration is more complicated and spread about several values. 323 237 349, 350, plus many others. This thread might be useful for that, as I don't think I've posted a write up of vehicle PP values yet on this forum.

For this to work properly you'd basically have to create a new param file as there a lot of values that would need changing for this to work, it may be possible to base it on the params of a bike (i.e. small light vehicle) and mess around with those values as a shortcut.

Its quite a lengthy project to get working, but may be easier once the paramater file has been fully mapped out as to what each value does.

May 23 2011 Anchor

I intend to get started on it as soon as possible but before I start I just need to know 4 things (perhaps more later).

1. Do you foresee any way of having the camera behave properly? You said you can get the "vehicle" to turn with the camera, but if it is going to be the typical internal view camera, then you wont be able to look up or down. Can you find a solution to this?

2. How do I edit these (and use) "test" vehicles you speak of?

3. Is there any way to switch the vehicle's model? Even just the guy standing as he does when you edit his clothing would be better than a vehicle for online play (even if he doesn't actually "walk").

4. Any way to turn off the vehicle sounds?

Thanks a lot mate. This would be such a good mod because, as HUUUUUUUUUGE as the world is, it is that much smaller and harder to appreciate at a constant 100mph. A way to slow it down a bit would be...a dream come true.

Edited by: DrKaii

Vetron
Vetron FUEL: REFUELED Developer
May 24 2011 Anchor

DrKaii wrote: 1. Do you foresee any way of having the camera behave properly? You said you can get the "vehicle" to turn with the camera, but if it is going to be the typical internal view camera, then you wont be able to look up or down. Can you find a solution to this?


Unless there is a way to unlock the internal camera, which I am currently not aware of, then no. You could use an external camera but then you have the issue of the model being displayed. It may be possible to adjust the vehicle rider lean parameters so the vehicle would be tilted backwards and forwards (and thus pushing the camera upwards/downwards).

Have a look in VehiclePP_Hydraulics.java in D:\Steam\SteamApps\common\fuel\FUEL_REFUELED\Vehicles2_Quad\16_MudBlaster.

A larger value would give a larger amount of tilt when you lean forwards or back. This may have the desired effect, but not sure how it would work for the use of camera control as i've not tested it for that.

DrKaii wrote: 2. How do I edit these (and use) "test" vehicles you speak of?


The test vehicles are ID'd with MESH_ID_TRAFFIC_TRUCK and MESH_ID_VEH_TEST_1 to MESH_ID_VEH_TEST_5, the params are currently stored in D:\Steam\SteamApps\common\fuel\MODS\Core - FUEL REFUELED V15.4\Param for these, you can use them via the debug mode menu vehicle list. Some of these may not work online, and may crash - i'll try and order them correctly for online play at a later date.

DrKaii wrote: 3. Is there any way to switch the vehicle's model? Even just the guy standing as he does when you edit his clothing would be better than a vehicle for online play (even if he doesn't actually "walk").


You can only switch the model to another vehicle model as these are the only known model id's - e.g. on the AddVehicleParams line, "BIKE_OFF_3_DYN BIKE_OFF_3_SKEL IT_PILOT_SKIN", which are found in fuel\FUEL_REFUELED\Vehicles1_Bike1_Sludgeray\addvehicleparams.java would be the model id's for that bike.

I don't know a way to switch to the character model or any the of the model id's for them.

DrKaii wrote: 4. Any way to turn off the vehicle sounds?


Not that I'm aware of, though there may be an option on one of the debug menu's - but this wouldn't be a permanent solution. It may possibly be one of the params towards the end of the params file, but I do not know of these yet.

Let me know if you have any other questions :)

Reply to thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.