Home   Help Search Login Register  

Author Topic: CANCELLED - ofp1 classic steering  (Read 4916 times)

0 Members and 1 Guest are viewing this topic.

Offline shole

  • Members
  • *
CANCELLED - ofp1 classic steering
« on: 14 Jun 2009, 20:55:06 »
So BIS decided to abandon the best vehicle driving system ever and replace it with the absolute worst i've ever seen in a game.
Driving with any precision is impossible
This is emphasised by the inclusion of sandbox style missions of arma2 where you have to drive a lot
and with the driving AI being what it is, it's the player usually behind the wheel.
This situation is unacceptable.
Anything is better than this.
Even an ugly hack.
So here;
http://www.persiist.com/present/S_Steer/S_Steer_01.zip

I use attachTo to give the vehicle a direction marker and getpos/setpos and getPitchBank/setPitchBank by General Barron to rotate the vehicle.
Rotation speed is a function of vehicle speed and direction marker to current heading difference.

This is more a request for comments and suggestions on how to improve this than a straight beta test.
Using rotational velocity would be ideal, but as far as i know, it's not possible in arma2.

Concidering that it's a busyloop script and with what i have to work with, i think it turned out pretty good on performance and appearance.

edit;
oh, btw
i hear the included XEH breaks some of arma2 functionality cos all i've done is copy the arma1 version over and remove the requirements check so it "works" on arma2
this is sure to improve as a proper XEH for arma2 is released

also, my script is the first hacked together version so it doesn't detect vehicle type or anything
tracked vehicles need speed to turn, choppers and planes are probably completely broken, etc
just meant for proof of concept and a starting point

edit2;
sorry, forgot to give the controls;
use lean left and lean right to move the target direction
« Last Edit: 24 Jun 2009, 23:06:23 by shole »

Offline kju

  • Members
  • *
    • PvPScene - The ArmA II multiplayer community
Re: ofp1 classic steering assistant addon
« Reply #1 on: 15 Jun 2009, 10:02:22 »
Gave it a test last night. Not really working for me s_hole.  :dunno:

Code: [Select]
Error in expression <#line 1 "S_Steer\steerloop.sqf"
private ["S_Steer_direction","_setPitchB>
  Error position: <private ["S_Steer_direction","_setPitchB>
  Error Local variable in global space
File S_Steer\steerloop.sqf, line 1

Code: [Select]
Error in expression <er_goto -(getDir (vehicle player))) / (1/abs(speed vehicle player/_steerspeed)))>
  Error position: </abs(speed vehicle player/_steerspeed)))>
  Error Zero divisor
File S_Steer\steerloop.sqf, line 41

Here is a small video showing some more issue.
Probably related to the scripts having probs.

Leaning left side makes you stop and quick spin 360.
To the right it acts different. It autocenters automatically.

http://dump.no/files/d85b83f91195/Video_0.avi

Anyway great effort. Hope to see it working soon.  :good:

Offline shole

  • Members
  • *
Re: ofp1 classic steering assistant addon
« Reply #2 on: 15 Jun 2009, 12:36:36 »
yea, don't touch the normal steering controls
just onfoot lean left/right keys
i don't see how i could get it to work with native controls
it's all very hacky at the moment

i'll have a look at those errors once i get home

Offline shole

  • Members
  • *
Re: ofp1 classic steering assistant addon
« Reply #3 on: 24 Jun 2009, 23:05:50 »
i think this is now as of 1.02 redundant
the new driving system is actually fairly decent
it's not what ofp was, but playable
but if ofp style steering is still wanted, i can continue development a bit further

Offline loki72

  • Former Staff
  • ****
    • Loki's Nightmare
Re: CANCELLED - ofp1 classic steering
« Reply #4 on: 24 Jun 2009, 23:50:46 »
any chance you're porting over your auto-adjust NVG's?

those was a personal favorite of mine others that i played with.

 :scratch:

Offline Spooner

  • Members
  • *
  • Mostly useless
    • Community Base Addons
Re: CANCELLED - ofp1 classic steering
« Reply #5 on: 25 Jun 2009, 01:57:17 »
I would argue that BIS has managed to get the lighting and reaction speed of the NVG correct in A2 so you are not crippled in night missions any more. The only reason to have manual control over the NVG aperture in A1 because it was so slow to react. Even if you don't think it is perfect yet, I can't see much reason to make a fix for something that is so marginally broken so early on in A2 development.
[Arma 2] CBA: Community Base Addons
[Arma 1] SPON Core (including links to my other scripts)

Offline loki72

  • Former Staff
  • ****
    • Loki's Nightmare
Re: CANCELLED - ofp1 classic steering
« Reply #6 on: 25 Jun 2009, 03:01:44 »
nope.. just the giant disc0 balls in the sky... looks like the earth has 20k moons.

 ::)

can't stand to even put them on at this point. and whether shole will look at the nvg's or not.. i hope someone does.. cuz i doubt BiS is worried about it at this stage of patching.

 :cool2:



Offline kju

  • Members
  • *
    • PvPScene - The ArmA II multiplayer community
Re: CANCELLED - ofp1 classic steering
« Reply #7 on: 25 Jun 2009, 07:51:22 »
HDR is still as bad as A1, if not worse.
It large depends on GPU, driver, brightness, contrast and window mode use.

A guy already ported it for private. So must be not too hard.

Offline shole

  • Members
  • *
Re: CANCELLED - ofp1 classic steering
« Reply #8 on: 25 Jun 2009, 13:07:33 »
yea, HDR is much improved in A2, but FAR from perfect
weirdly, it works fine and clear in the morning but you still get blackness from the slightest light in the evening
the daytime non-NVG HDR seems to be all over the place aswell sometimes

i have already ported the addon (next to no work needed to be done) but i have to wait for extended eventhandlers before releasing it
using A1 XEH directly would probably cause some problems (i had team-mates suffering sudden-heartattack-syndrome, but i can't confirm if it was caused by XEH)

Offline loki72

  • Former Staff
  • ****
    • Loki's Nightmare
Re: CANCELLED - ofp1 classic steering
« Reply #9 on: 25 Jun 2009, 20:14:30 »
 :D
great news!!

Offline Spooner

  • Members
  • *
  • Mostly useless
    • Community Base Addons
Re: CANCELLED - ofp1 classic steering
« Reply #10 on: 26 Jun 2009, 21:58:20 »
XEH, as part of CBA, should be out in the next few days. You won't need to make any changes to your system to use it, so at least that is painless!
[Arma 2] CBA: Community Base Addons
[Arma 1] SPON Core (including links to my other scripts)