See site in english Voir le site en francais
Website skin:
home  download  forum  link  contact

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

Author Topic: Dan, one more question (according G-Force)  (Read 11246 times)

0 Members and 1 Guest are viewing this topic.

Offline She_Da_Lier

  • Sr. Member
  • ****
  • Posts: 439
  • Karma: 0
21 January 2005, 10:00:10
Could you please reveal a bit of code you used for front wheel controll? I tried to implement it in my DGTransport, but it
isn't good after all. As you are working on DeltaGlider as well, it should be fitting well for DGT too. TIA.



Post Edited ( 03-18-05 19:56 )

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

EU Software Patents directive rejected - http://ffii.org
http://strony.aster.pl/she_da_lier/

Offline freespace2dotcom

  • Legend
  • ******
  • Posts: 2251
  • Karma: 1
Reply #1 - 21 January 2005, 10:36:01
A minor nitpick, but your animated gif has management spelled wrong. :)

you might want to slow it down when it displays the url a bit more. :(



Offline She_Da_Lier

  • Sr. Member
  • ****
  • Posts: 439
  • Karma: 0
Reply #2 - 21 January 2005, 10:40:35
Ah well.... ;)

It's meant to be clickable, you have url under the pic :)

It displays to fast to someone notice it. Also mind my English :)


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

EU Software Patents directive rejected - http://ffii.org
http://strony.aster.pl/she_da_lier/

Offline Travis Reed

  • Sr. Member
  • ****
  • Posts: 354
  • Karma: 0
Reply #3 - 21 January 2005, 11:24:55
The addon is also misspelled on the main forum and OH (or wherever I've seen it posted...)...at least the misspelling is
consistent.



Offline Travis Reed

  • Sr. Member
  • ****
  • Posts: 354
  • Karma: 0
Reply #4 - 21 January 2005, 12:05:51
She, the pic isn't clickable, but, then again, I don't think Dan's site allows that in sigis or posts...
And yes, I see the link in your sigi and the Www link next to your name.



Offline She_Da_Lier

  • Sr. Member
  • ****
  • Posts: 439
  • Karma: 0
Reply #5 - 21 January 2005, 12:14:46
I know this forum doesn't allow this, I'm only saying it's meant to be clickable


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

EU Software Patents directive rejected - http://ffii.org
http://strony.aster.pl/she_da_lier/

Offline She_Da_Lier

  • Sr. Member
  • ****
  • Posts: 439
  • Karma: 0
Reply #6 - 21 January 2005, 20:07:43
So we went of topic. Dan??


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

EU Software Patents directive rejected - http://ffii.org
http://strony.aster.pl/she_da_lier/

Offline DanSteph

  • Administrator
  • Legend
  • *****
  • Posts: 15407
  • Karma: 256
  • Hein, quoi !?
    • FsPassengers
Reply #7 - 21 January 2005, 21:08:49
will reply soon but I'm busy with OS and DGIII yet

Dan


Offline freespace2dotcom

  • Legend
  • ******
  • Posts: 2251
  • Karma: 1
Reply #8 - 21 January 2005, 21:28:04
Quote
DanSteph wrote:
will reply soon but I'm busy with OS and DGIII yet

Dan


Oooohhh. :):):):):)

Is that a hint that you're also working on the DG3 right now?

ooOoOoOhhh. you sly thing, you

(hopes for an OS/DG3 dual release)



Post Edited ( 01-22-05 10:32 )


Offline reekchaa

  • Hero Member
  • *****
  • Posts: 649
  • Country: United States us
  • Karma: 2
Reply #9 - 22 January 2005, 02:10:32
Quote
(hopes for an OS/DG3 duel release)
YOU LUCKY MAN ! ! !  -Wooo!~


~ the Reekchaa

Offline Travis Reed

  • Sr. Member
  • ****
  • Posts: 354
  • Karma: 0
Reply #10 - 22 January 2005, 03:18:17
Freespace...minor nitpick, but you used the wrong spelling of dual...
Where duel usually referrs to a one-on-one fight of some sort, dual usually refers to two things.
Perhaps you tried taking the spelling from duet (usually refers to two people)?
Isn't American English wonderful?



Offline freespace2dotcom

  • Legend
  • ******
  • Posts: 2251
  • Karma: 1
Reply #11 - 22 January 2005, 10:34:00
I suppose I deserved to get nit-picked on, after what I had done earlier in this thread.

yes, yes. I type in a rush and ocasionally I make boo-boos. no biggie,.



Offline She_Da_Lier

  • Sr. Member
  • ****
  • Posts: 439
  • Karma: 0
Reply #12 - 22 January 2005, 19:49:43
Dan, as we are on topic, would you mind if I'd borrow your transworld skin as a skinning demo?


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

EU Software Patents directive rejected - http://ffii.org
http://strony.aster.pl/she_da_lier/

Offline She_Da_Lier

  • Sr. Member
  • ****
  • Posts: 439
  • Karma: 0
Reply #13 - 25 January 2005, 16:44:47
* just that you won't forget *


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

EU Software Patents directive rejected - http://ffii.org
http://strony.aster.pl/she_da_lier/

Offline DanSteph

  • Administrator
  • Legend
  • *****
  • Posts: 15407
  • Karma: 256
  • Hein, quoi !?
    • FsPassengers
Reply #14 - 25 January 2005, 18:10:02
Ah good that you recall it to me... I'm still busy but with http://www.fspassengers.com this time ;)


here is the "brut code"

Code: [Select]

// Ground taxiing
if(Data.OldOnGround==TRUE)
{
double steerforce;
double steerangle;

if(Data.AirSpeed<50&&Data.AirSpeed>0)
{
steerforce = (50-Data.AirSpeed);
if (steerforce > 40) steerforce = 40.0;

if(Data.AirSpeed<6)
{
steerforce*=(Data.AirSpeed/6);
}
if(Data.AirSpeed<1)
{
steerforce*=0;
}
steerforce*= 10000;
steerangle = GetControlSurfaceLevel (AIRCTRL_RUDDER);
steerforce = steerforce * steerangle;
if(Data.NewOnGround==TRUE&&Data.ThrusterLevelHover==0)
{
AddForce (_V(steerforce, 0, 0), _V(0, 0, 12.0));
AddForce (_V(-steerforce, 0, 0), _V(0, 0, -24.0));
}
}
if(Data.NewOnGround==TRUE&&Data.ThrusterLevelHover==0)
{
double wheelanglefactor=(50-Data.AirSpeed)/50;
// animate rotation of nosewheel
SetAnimState (anim_gear_rotate,((GetControlSurfaceLevel (AIRCTRL_RUDDER)*wheelanglefactor)/2+0.5));
}
else
{
SetAnimState (anim_gear_rotate,0.5);
}

// collpase gear if we are too fast
if(Data.AirSpeed>220)
{
SetFailure(FAILGEARCOLLAPSE,TRUE);
SetFailure(FAILHOVERENGINE,TRUE);
}
}



Quote
She_Da_Lier wrote:
Dan, as we are on topic, would you mind if I'd borrow your transworld skin as a skinning demo?


No problem, only a litle credit somewhere would be nice ;)

Dan



Post Edited ( 01-25-05 18:13 )


Offline She_Da_Lier

  • Sr. Member
  • ****
  • Posts: 439
  • Karma: 0
Reply #15 - 25 January 2005, 19:03:30
Thanks very much :)


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

EU Software Patents directive rejected - http://ffii.org
http://strony.aster.pl/she_da_lier/

Offline DocHoliday

  • Legend
  • ******
  • Posts: 2475
  • Karma: 2
Reply #16 - 26 January 2005, 10:09:43
sheesh.. that's just to TURN THE WHEELS!! :)


~~~

"Mood is a matter of choice. I choose to have fun!" -Vidmarism No 15

Offline freespace2dotcom

  • Legend
  • ******
  • Posts: 2251
  • Karma: 1
Reply #17 - 26 January 2005, 10:38:07
What's really scary is that I understood most of it.

But seriously, that's what? a small fraction of the whole DG3 code.



Offline DocHoliday

  • Legend
  • ******
  • Posts: 2475
  • Karma: 2
Reply #18 - 26 January 2005, 10:56:54
Me too and yes, that's what I was trying to emphasize :)


~~~

"Mood is a matter of choice. I choose to have fun!" -Vidmarism No 15

Offline freespace2dotcom

  • Legend
  • ******
  • Posts: 2251
  • Karma: 1
Reply #19 - 26 January 2005, 12:16:42
Emphasize that a handful lines of code are a small fraction of the whole thing?

so?

anyone can come to that conclusion.

Better yet, take a look at this:  (four lines to simply add something. computers are like that)



can anyone tell me where the answer is supposed to be? ;)



Post Edited ( 01-26-05 12:18 )


Offline DocHoliday

  • Legend
  • ******
  • Posts: 2475
  • Karma: 2
Reply #20 - 26 January 2005, 12:41:59
Yes, yes *doc leans over to free* I was trying to SUBTLY point out in appreciation the amount of work Dan put into
DG3, without going into the "Hail Dan" frenzy, but now you've ruined it* duh! :)

Seems to me, you're too lazy to add 1 and 1 together, here or something along those lines :)


~~~

"Mood is a matter of choice. I choose to have fun!" -Vidmarism No 15

Offline freespace2dotcom

  • Legend
  • ******
  • Posts: 2251
  • Karma: 1
Reply #21 - 26 January 2005, 12:51:46
meh..

I was just using that as an example, but things get very complex very fast. :)

I should note that all of the numbers in that mode, are in hexadecimal. :)



Offline DocHoliday

  • Legend
  • ******
  • Posts: 2475
  • Karma: 2
Reply #22 - 26 January 2005, 14:06:56
damn, I thought they were inches :)


~~~

"Mood is a matter of choice. I choose to have fun!" -Vidmarism No 15

Offline DanSteph

  • Administrator
  • Legend
  • *****
  • Posts: 15407
  • Karma: 256
  • Hein, quoi !?
    • FsPassengers
Reply #23 - 26 January 2005, 14:07:37
Quote
freespace2dotcom wrote:
I should note that all of the numbers in that mode, are in hexadecimal. :)

There are only 10 types of people in the world: Those who understand binary,
and those who don't

Was just because I have nothing better to do right now :)

Dan


Offline DocHoliday

  • Legend
  • ******
  • Posts: 2475
  • Karma: 2
Reply #24 - 26 January 2005, 14:11:11
:lol:

101 types of people on this forum :)
da admin
da mods
da legendz (D 1337 hackerish, not hex!)
da reggies
da noobies :)


~~~

"Mood is a matter of choice. I choose to have fun!" -Vidmarism No 15