0 Members and 1 Guest are viewing this topic.
DanSteph wrote:will reply soon but I'm busy with OS and DGIII yetDan
(hopes for an OS/DG3 duel release)
// 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); } }
She_Da_Lier wrote:Dan, as we are on topic, would you mind if I'd borrow your transworld skin as a skinning demo?
freespace2dotcom wrote:I should note that all of the numbers in that mode, are in hexadecimal.