• How to: Use ACF mobility components
    219 replies, posted
Say, i'm building a car with a similar setup as illustrated above using a v8. It seems like no matter what i do i can't get the thing to do anything but spazz violently upon recieving torque! Any reccomended ratios? the thing weighs no more than 1800 pounds...
[QUOTE=Vicious713;37161587]Say, i'm building a car with a similar setup as illustrated above using a v8. It seems like no matter what i do i can't get the thing to do anything but spazz violently upon recieving torque! Any reccomended ratios? the thing weighs no more than 1800 pounds...[/QUOTE] Convert to metric, then we can speak
[QUOTE=iwancoppa;37162446]Convert to metric, then we can speak[/QUOTE] the game's unit of measure for weight isn't really anything specific... I mean unless I'm missing something somewhere...
Mass in Source is treated as kilograms, so yes, it is specific. Vicious, if you're actually measuring '1800' - that's in kilograms (4000 odd pounds).
I was pretty sure that mass in Source was measured in Imperial units, as everything else is. Got a source on that information?
Blablabla the weight of the total vehicle isn't any more than 2000 source units Fo'Sho. So the Engine is a 9L V8 Petrol with a six speed medium gearbox. Heres some pics. [URL="http://cloud-2.steampowered.com/ugc/559823810543275776/651B79E0ED5E17749683263089ABE4F6009187AE/"]Underside[/URL] [URL="http://cloud-2.steampowered.com/ugc/559823810543272115/6EAF652391D72249B691106C24B22D9F6F43533A/"]Fromback[/URL] [URL="http://cloud.steampowered.com/ugc/559823810517740918/D88E1ED2D60ACD41F57054B5EF2905594237E2FB/"]With the Body :D[/URL]
gmod weight is in kg player weighs about 80-odd KG, which is 180 lbs
I'm confused over why Source would measure weight according to the Metric system when it uses Imperial for almost everything else.
Is there anywhere we can get confirmation of this? I have never seen pounds or kilograms in the weights.
How about instead of arguing about weight you actually say something about my question
it's just always been that way. If you look in the hl2 jeep's script file, it specifies the vehicle's weight in KG. [code] // This is a test jeep type vehicle for the wasteland "vehicle" { "wheelsperaxle" "2" "body" { "countertorquefactor" "0.9" "massCenterOverride" "0 -30 12" "massoverride" "1000" // kg "addgravity" "0.50" "maxAngularVelocity" "720" } "engine" { "horsepower" "350" "maxrpm" "4200" "maxspeed" "35" // mph "maxReverseSpeed" "14" // mph "autobrakeSpeedGain" "1.1" // 10% speed gain while coasting, put on the brakes after that "autobrakeSpeedFactor" "3.0" // Brake is this times the speed gain "autotransmission" "1" "axleratio" "4.56" "gear" "3.2" // 1st gear "gear" "2.4" // 2nd gear "gear" "1.5" // 3rd gear "gear" "1.0" // 4th gear "gear" "0.84" // 5th gear "shiftuprpm" "3800" "shiftdownrpm" "1600" "boost" { "force" "1.5" // 1.5 car body mass * gravity * inches / second ^ 2 "duration" "3.0" // 3.0 second of boost "delay" "3.0" // 3 seconds before you can use it again "torqueboost" "1" // enable "sprint" mode of vehicle, not force type booster "maxspeed" "50" // maximum turbo speed } } "steering" { "degreesSlow" "50" // steering cone at zero to slow speed "degreesFast" "18" // steering cone at fast speed to max speed "degreesBoost" "11" // steering cone at max boost speed (blend toward this after max speed) "steeringExponent" "1.4" // steering function is linear, then raised to this power to be slower at the beginning of the curve, faster at the end "slowcarspeed" "14" "fastcarspeed" "20" "slowSteeringRate" "4.0" "fastSteeringRate" "2.0" "steeringRestRateSlow" "4.0" "steeringRestRateFast" "2.0" "turnThrottleReduceSlow" "0.01" "turnThrottleReduceFast" "2.0" "brakeSteeringRateFactor" "6" "throttleSteeringRestRateFactor" "2" "boostSteeringRestRateFactor" "1.7" "boostSteeringRateFactor" "1.7" "powerSlideAccel" "250" "skidallowed" "1" "dustcloud" "1" } // front axle "axle" { "wheel" { "radius" "18" "mass" "100" "damping" "0" "rotdamping" "0.0" "material" "jeeptire" "skidmaterial" "slidingrubbertire" "brakematerial" "brakingrubbertire" } "suspension" { "springConstant" "40" "springDamping" "0.7" "stabilizerConstant" "10" "springDampingCompression" "9" "maxBodyForce" "9" } "torquefactor" "0.3" "brakefactor" "0.4" } // rear axle "axle" { "wheel" { "radius" "22" "mass" "100" "damping" "0" "rotdamping" "0.0" "material" "jeeptire" "skidmaterial" "slidingrubbertire" "brakematerial" "brakingrubbertire" } "suspension" { "springConstant" "40" "springDamping" "0.7" "stabilizerConstant" "10" "springDampingCompression" "9" "maxBodyForce" "9" } "torquefactor" "0.7" "brakefactor" "0.6" } } "vehicle_sounds" { // List gears in order from lowest speed to highest speed "gear" { "max_speed" "0.27" "speed_approach_factor" "1.0" } "gear" { "max_speed" "0.5" "speed_approach_factor" "0.05" } "gear" { "max_speed" "0.75" "speed_approach_factor" "0.052" } "gear" { "max_speed" "0.95" "speed_approach_factor" "0.034" } "gear" { "max_speed" "1.5" "speed_approach_factor" "0.033" } "gear" { "max_speed" "2.0" "speed_approach_factor" "0.03" } "state" { "name" "SS_START_WATER" "sound" "ATV_start_in_water" } "state" { "name" "SS_START_IDLE" "sound" "ATV_engine_start" "min_time" "4.0" } "state" { "name" "SS_SHUTDOWN_WATER" "sound" "ATV_stall_in_water" } "state" { "name" "SS_IDLE" "sound" "ATV_engine_idle" } "state" { "name" "SS_REVERSE" "sound" "ATV_reverse" "min_time" "0.5" } "state" { "name" "SS_GEAR_0" "sound" "ATV_rev" "min_time" "0.5" } "state" { "name" "SS_GEAR_0_RESUME" "sound" "ATV_engine_idle" "min_time" "0.75" } "state" { "name" "SS_GEAR_1" "sound" "ATV_firstgear" "min_time" "0.5" } "state" { "name" "SS_GEAR_1_RESUME" "sound" "ATV_firstgear_noshift" "min_time" "0.5" } "state" { "name" "SS_GEAR_2" "sound" "ATV_secondgear" "min_time" "0.5" } "state" { "name" "SS_GEAR_2_RESUME" "sound" "ATV_secondgear_noshift" "min_time" "0.5" } "state" { "name" "SS_GEAR_3" "sound" "ATV_thirdgear" "min_time" "0.5" } "state" { "name" "SS_GEAR_3_RESUME" "sound" "ATV_thirdgear_noshift" "min_time" "0.5" } "state" { "name" "SS_GEAR_4" "sound" "ATV_fourthgear" "min_time" "0.5" } "state" { "name" "SS_GEAR_4_RESUME" "sound" "ATV_fourthgear_noshift" "min_time" "0.5" } "state" { "name" "SS_SLOWDOWN_HIGHSPEED" "sound" "ATV_throttleoff_fastspeed" "min_time" "2.0" } "state" { "name" "SS_SLOWDOWN" "sound" "ATV_throttleoff_slowspeed" "min_time" "2.0" } "state" { "name" "SS_TURBO" "sound" "ATV_turbo_on" "min_time" "2.5" } "state" { "name" "SS_SHUTDOWN" "sound" "ATV_engine_stop" } "crashsound" { "min_speed" "350" "min_speed_change" "250" "sound" "ATV_impact_medium" "gear_limit" "1" } "crashsound" { "min_speed" "450" "min_speed_change" "350" "sound" "ATV_impact_heavy" } "skid_lowfriction" "ATV_skid_lowfriction" "skid_normalfriction" "ATV_skid_normalfriction" "skid_highfriction" "ATV_skid_highfriction" } [/code]
Well I seem to have missed a lot in my extended holiday. This looks like a great new system, I never would have finished gcombat rework anyway. Thou it could use lasers, lasers make everything better. The vehicle section also looks very promising and very comprehensive. If i every get around to finialinzing my new server plans I think I'll make the switch to this.
Can you make ACF mobility mod(engines, gearboxes..) separated from cannons and other sh** that makes prop/player damage? Need that for my server
sbox_max_acf_guns sbox_max_acf_ammo
[QUOTE=Usernameztaken;37112662]Why would you need that, you can already downshift manually, and use clutch manually.[/QUOTE] But that doesn't really answer my question, does it.. :rolleyes: My point is, IRL you can use the engine to slow the car down by downshifting. In ACF, the clutch automatically engages whenever the Throttle input is zero, thus dropping the engine's RPM to idling level.
[QUOTE=SwtchbldSOL;37136318]They've added V-Twins and One cylinders. They're actually really nice to use for smaller vehicles, like my Polaris Ranger I made. Check 'em out.[/QUOTE] engine types not sizes.we have already got V-engines,inline engines and V-Twin is new engine not a new engine type like one cyl.
Checked out the new engines and I think they're great!! Not sure how I will use them yet, I really need to improve my building skills.
[QUOTE=Leestons;37210742]Checked out the new engines and I think they're great!! Not sure how I will use them yet, I really need to improve my building skills.[/QUOTE] Using them to make small little buggies and stuff, seems to be a fad for everyone else. lol. I made this little trophy truck type thing. Pics will be up in the WIP thread.
I'm having trouble to get my shit to go fast. I stuck the biggest V-twin on a tricycle base. It barely gets to 40-45 kph. The total weight is 480~. Is this really too heavy? Are my wheels not big enough? [img_thumb]http://i.imgur.com/kUZba.jpg?1?6130[/img_thumb] [editline]Edited:[/editline] Well I suppose 500 is pretty much actually. [editline]Edited:[/editline] No it's not. The engine itself is 120 kg. Then 50 for that gearbox. Plus 3 wheels. There is no way it can be to heavy to get past 45 kph. The wheels are 50 kg. Steering slave 50. [img_thumb]http://i.imgur.com/eXIyl.jpg[/img_thumb] The bottom plate was 20 earlier, and the top one 100. Removed the suspension so the bottom plate was no longer needed and the top plate is only 1 weight. Why won't my shit go fast? It's not like I need more gears either. I'm using a speed gearbox and get up to 4000 rpm at last gear.
[QUOTE=SwtchbldSOL;37216101]Using them to make small little buggies and stuff, seems to be a fad for everyone else. lol. I made this little trophy truck type thing. Pics will be up in the WIP thread.[/QUOTE] I would but I can't make little buggies haha, even after watching some tutorials I'm no good at vehicle building :(
[QUOTE=Leestons;37217779]I would but I can't make little buggies haha, even after watching some tutorials I'm no good at vehicle building :([/QUOTE] add me on steam and you can build on my server :P
[QUOTE=SwtchbldSOL;37218892]add me on steam and you can build on my server :P[/QUOTE] Sent you a request, on SA:MP at the minute so won't be on steam chat if you message me. Thank you
ACF terribly lacks of a gun between 75mm and 100mm, like 85mm or 90mm. How are we supposed to make our tigers with 75mm guns?
Hi guys, I tried a lot of time to make a vehicle with acf, but it don't work... So please can you share your e2 expression because everytime i link the engine to the gearbox and the gearbox to the wheels but i don't know what to do after. Can you help me please. Thanks a lot and sorry for my english
[QUOTE=Darkterror;37249905]Hi guys, I tried a lot of time to make a vehicle with acf, but it don't work... So please can you share your e2 expression because everytime i link the engine to the gearbox and the gearbox to the wheels but i don't know what to do after. Can you help me please. Thanks a lot and sorry for my english[/QUOTE] Link the engine to a pod controller and then either gear or gear up/gear down on the gearbox to whatever you want. That's pretty much all you need to do. You only need an expression if you want a nice clutch or automatic gearbox etc.
[QUOTE=kp3;37250081]Link the engine to a pod controller and then either gear or gear up/gear down on the gearbox to whatever you want. That's pretty much all you need to do. You only need an expression if you want a nice clutch or automatic gearbox etc.[/QUOTE] I did what you said but it still don't work, i can gear up etc... but the vehicle don't move and the engine sound like if i don't Accelerate When you said " link the engine to a pod controller " it's link activate of the engine to the activate of the adv pod controller, right ?
Is there a speed limit of 40mph? I created a simple chassis with 4x MadeSpherical Wheels. With any engine/gearbox ratio, I never managed to get above 40MPH. Using thrusters alone, I could propel the same chassis to 80+ MPH
what size are the wheels, and how heavy is your vehicle/what engine? you are probably hitting the wheels angular velocity limit.
[QUOTE=Amplar;37254991]what size are the wheels, and how heavy is your vehicle/what engine? you are probably hitting the wheels angular velocity limit.[/QUOTE] The wheel model is models/xeon133/racewheel/race-wheel-30.mdl and the weight as reported by the engine is 1897 using the 9.0 V6 Petrol and medium transaxel gearbox. Edit: Weight of wheels+ plate = 500
Yeah, with 30 size wheels at a 600 rpm max you can only go around 40. Put "lua_run physenv.SetPerformanceSettings({MaxAngularVelocity = 9001})" without the quotes in console, the default max is 3600, so theoretically you should be able to go 100 mph with that command without hitting the same wall.
Sorry, you need to Log In to post a reply to this thread.