Outerra forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Outerra Tech Demo download. Help with graphics driver issues

Pages: [1] 2

Author Topic: F22  (Read 8458 times)

konaone

  • Full Member
  • ***
  • Posts: 132
  • newbie
F22
« on: February 15, 2014, 09:22:15 am »

HELLO TO ALL, I HAVE PUT BY THE HELICOPTER AND I HAVE TRIED WITH THE PLANES.
F22.
ALL ANIMATIONS!
  DOES NOT RUN IN OUTERRA, CAN NOT LOAD THE FILE ENGINE_RAPTOR!
ALSO JS FILE MUST BE MANUALLY CREATED?? DETERMINE THE ANIMATION IN OUTERRA?
Logged

konaone

  • Full Member
  • ***
  • Posts: 132
  • newbie
Re: F22
« Reply #1 on: February 18, 2014, 03:27:46 pm »

Logged

DeanosBeano

  • Full Member
  • ***
  • Posts: 106
  • newbie
Re: F22
« Reply #2 on: February 18, 2014, 04:01:36 pm »

Very nice Plane //Jet :)
 I let someone more advance answer questions but basic answer

 Import model as in Wiki explanation
 Open folder where it is saved and open f22.objdef
 change where applicable the lines //
 
Code: [Select]
{
"obj" : "mig29",// keep own f22
"matlib" : "mig29",// keep own f22
"lod_curve" : 850,// keep own f22
"lod_curve1" : 300,// keep own f22
"physics" : "jsbsim/mig29",// copy and paste this one
"script" : "mig29.js",//in your folder you have f22.js , find this one in anteworld/packages/mg29 and replace your f22 with this and edit accordingly.
"description" : "",
"parameters" : "",
"fdm_root_dir" : "./"
}

 Animations must be done by .JS script  they are kind of Heirarchical using geomtery COM origin as pivot of the Mesh parts that will be animated.

 best way to learn , go in game and xhoose Mig29 , press Alt + E and here you see mig29.JS in text to investigate
 for isntance notice Flap animation
 Here the mesh is identified and the name is same as the name when IMPORTING
 
Code: [Select]
flap_l = geom.get_joint('flap_l');
 then further down you see where now according to value the flap is animated

 
Code: [Select]
geom.rotate_joint_orig(flap_l, jsb['fcs/flap-pos-rad'], {x:0,y:0,z:1}); its all i can help unfortunately as i learn myself too :).

 
 
« Last Edit: February 18, 2014, 04:06:45 pm by DeanosBeano »
Logged

konaone

  • Full Member
  • ***
  • Posts: 132
  • newbie
Re: F22
« Reply #3 on: February 19, 2014, 01:15:24 pm »

DeanosBeano Hello, and thanks for the feedback! I did as you indicated, but I have this problem:
In addition to this the texture disappear:..........................
Logged

DeanosBeano

  • Full Member
  • ***
  • Posts: 106
  • newbie
Re: F22
« Reply #4 on: February 19, 2014, 01:25:15 pm »


 Hi with latest patch i think it need .MTL file for texture  it used to be .matlib but now (TBC) i think engine will convert .matlib to .mtl

 open this with text editor (notepad++)  and put correct syntax

 put all texture in F22 folder

 then in Mtl you see something like this depending if you have Diffuse,ormal ,Spec etc

 
Code: [Select]
"mats" : [
{
"name" : "",
"color" : ".725,.725,.725,1.0",
"f0" : ".027",
"roughness" : ".498",
"no_light" : false,
"alpha_masked" : false,
"tex_albedo" : "raven_color.dds", // diffuse
"tex_normal" : "", // normal map or bumpmap
"tex_roughness" : "",
"tex_opacity" : "",
"tex_reflectance" : "",
"tex_environment" : ""
},

 
Logged

konaone

  • Full Member
  • ***
  • Posts: 132
  • newbie
Re: F22
« Reply #5 on: February 19, 2014, 01:35:22 pm »

and for this problem?:

does not load the mig 29 flight model
Logged

DeanosBeano

  • Full Member
  • ***
  • Posts: 106
  • newbie
Re: F22
« Reply #6 on: February 19, 2014, 01:48:59 pm »

put  here in code brackets your  :

 F22.objdef   and also F22.js  and  f22.impcfg

http://pastebin.com/

i will try help but im sure others can too  also

http://xtrac.outerraworld.com/trac.fcgi/wiki/aircraft

 
« Last Edit: February 19, 2014, 01:50:37 pm by DeanosBeano »
Logged

konaone

  • Full Member
  • ***
  • Posts: 132
  • newbie
Re: F22
« Reply #7 on: February 19, 2014, 03:16:04 pm »




   "obj" : "RAPTOR_01",
   "matlib" : "RAPTOR_01",
   "lod_curve" : 850,
   "lod_curve1" : 300,
   "physics" : "jsbsim/mig29",
   "script" : "mig29.js",
   "description" : "",
   "parameters" : "",
   "fdm_root_dir" : ""






EnvironmentAmbientLight [object EnvironmentAmbientLight]
RAPTOR_01 [aircraft script="RAPTOR_01.js" RAPTOR_01]
  F_LEFT_MAIN_GEAR_DOOR_D [F_LEFT_MAIN_GEAR_DOOR_D]
    part_197_LOD_100
    part_196_LOD_100
  F_MAIN_GEAR_R_PERNO001 [F_MAIN_GEAR_R_PERNO001]
    F_MAIN_GEAR_L_CILINDRO
      F_MAIN_GEAR_L_CILINDRO_PIVOT
      F_MAIN_GEAR_R_PISTON001 [F_MAIN_GEAR_R_PISTON001]
        F_MAIN_GEAR_R_PISTON001_PIVOT
        F_MAIN_GEAR_L_CERCHIO
          F_MAIN_GEAR_R_WHEEL001 [F_MAIN_GEAR_R_WHEEL001]
            MAIN_GEAR_R_WHEEL_003
              MAIN_GEAR_R_WHEEL_003_PIVOT
            MAIN_GEAR_R_WHEEL_004
              MAIN_GEAR_R_WHEEL_004_PIVOT
        F_MAIN_GEAR_R_GIUNTO_A001 [F_MAIN_GEAR_R_GIUNTO_A001]
          F_MAIN_GEAR_R_GIUNTO_A001_PIVOT
  F_NOSE_GEAR_BASE_PIN [F_NOSE_GEAR_BASE_PIN]
    F_NOSE_GEAR_BASE_PIN_PIVOT
    F_NOSE_GEAR_BASE
      F_NOSE_GEAR_BASE_PIVOT
      F_NOSE_GEAR_FORK [F_NOSE_GEAR_FORK]
        F_NOSE_GEAR_FORK_PIVOT
        F_NOSE_GEAR_WHEEL [F_NOSE_GEAR_WHEEL]
          NOSE_GEAR_PIN
          NOSE_GEAR_WHEEL
            NOSE_GEAR_WHEEL_1
            NOSE_GEAR_WHEEL_2
        F_NOSE_GEAR_A [F_NOSE_GEAR_A]
          F_NOSE_GEAR_A_PIVOT
          F_NOSE_GEAR_B [F_NOSE_GEAR_B]
            F_NOSE_GEAR_B_PIVOT
            F_NOSE_GEAR_Dummy_perno_ammo
    F_NOSE_GEAR_D [F_NOSE_GEAR_D]
      F_NOSE_GEAR_D_PIVOT
      F_NOSE_GEAR_C [F_NOSE_GEAR_C]
        F_NOSE_GEAR_C_PIVOT
        F_NOSE_GEAR_Dummy_perno_nose_gear
  F_SLAT_RIGHT [F_SLAT_RIGHT]
    F_SLAT_RIGHT_PIVOT
  F_TROTTLE [F_TROTTLE]
    F_TROTTLE_PIVOT
  F_HEAD [F_HEAD]
    F_HEAD_PIVOT
  F__AELERON_LEFT [F__AELERON_LEFT]
    F__AELERON_LEFT_PIVOT
  F_FLAPEARON_R [F_FLAPEARON_R]
    F_FLAPEARON_R_PIVOT
  F_RUDDER_R [F_RUDDER_R]
    F_RUDDER_R_PIVOT
  F_RUDDER_L [F_RUDDER_L]
    F_RUDDER_L_PIVOT
  F__TAELERON_LEFT [F__TAELERON_LEFT]
    F__TAELERON_LEFT_PIVOT
  F_SLAT_LEFT [F_SLAT_LEFT]
    F_SLAT_LEFT_PIVOT
  F__AELERON_RIGHT [F__AELERON_RIGHT]
    F__AELERON_RIGHT_PIVOT
  F_FLAPEARON_L [F_FLAPEARON_L]
    F_FLAPEARON_L_PIVOT
  F_MAIN_GEAR_RIGHT_PORTELLO_UP [F_MAIN_GEAR_RIGHT_PORTELLO_UP]
    MAIN_GEAR_R__PORTELLO_B2
    MAIN_GEAR_R__PORTELLO_B
  F__NOOZLE_UP [F__NOOZLE_UP]
    F__NOOZLE_UP
    F__NOOZLE_UP
    F__NOOZLE_UP
    F__NOOZLE_UP
  F__NOOZLE_DOWN [F__NOOZLE_DOWN]
    F__NOOZLE_DOWN
    F__NOOZLE_DOWN
    F__NOOZLE_DOWN
    F__NOOZLE_DOWN
  F__LANDING_GEAR_LEVER [F__LANDING_GEAR_LEVER]
    F__LANDING_GEAR_LEVER_PIVOT
  F_joy [F_joy]
    F_joy_PIVOT
  F_NOSE_GEAR_DOOR_LEFT [F_NOSE_GEAR_DOOR_LEFT]
    F_NOSE_GEAR_DOOR_LEFT_PIVOT
  F_NOSE_GEAR_DOOR_RIGHT [F_NOSE_GEAR_DOOR_RIGHT]
    F_NOSE_GEAR_DOOR_RIGHT_PIVOT
  F_NOSE_Dummy005
  F_MAIN_GEAR_LEFT__PORTELLO_UP [F_MAIN_GEAR_LEFT__PORTELLO_UP]
    MAIN_GEAR_R__PORTELLO_B003
    MAIN_GEAR_R__PORTELLO_B004
  F_NOSE_IK_Chain001
  F_IK_Chain002
  F_LEFT_MAIN_GEAR_DOOR_D001 [F_LEFT_MAIN_GEAR_DOOR_D001]
    part_197_LOD_101
    part_196_LOD_101
  F_MAIN_GEAR_R_PERNO [F_MAIN_GEAR_R_PERNO]
    F_MAIN_GEAR_R_CILINDRO
      F_MAIN_GEAR_R_PISTON [F_MAIN_GEAR_R_PISTON]
        F_MAIN_GEAR_R_PISTON_PIVOT
        F_MAIN_GEAR_R_GIUNTO_A [F_MAIN_GEAR_R_GIUNTO_A]
          F_MAIN_GEAR_R_GIUNTO_A_PIVOT
          F_MAIN_GEAR_R_GIUNTO_B [F_MAIN_GEAR_R_GIUNTO_B]
            F_MAIN_GEAR_R_GIUNTO_B_PIVOT
        F_MAIN_GEAR_R_CERCHIO
          F_MAIN_GEAR_R_WHEEL002 [F_MAIN_GEAR_R_WHEEL002]
            MAIN_GEAR_R_WHEEL_005
              MAIN_GEAR_R_WHEEL_005_PIVOT
            MAIN_GEAR_R_WHEEL_006
              MAIN_GEAR_R_WHEEL_006_PIVOT
  F_canopy [F_canopy]
    IN_COCK__CANOPY_GLASS
    COCKPIT__BARRA_ANT
    IN_COCK_CANOPY_EXT
    IN_COCK_CANOPY_INT
    F__CANOPY_PISTON [F__CANOPY_PISTON]
      F__CANOPY_PISTON_PIVOT
  F__TAELERON_RIGHT [F__TAELERON_RIGHT]
    F__TAELERON_RIGHT_PIVOT
  RAPTOR_SOLID_PART
    F_Bays
    F_PILOT_BODY
    F_PIVOT_TAILERON_L
    F_PIVOT_TAILERON_R
    F_INTAKE_
    F__COCK__HUD_GLASS
    F__PUSH_1
    F__COCKPIT_1
    F__SEAT_2
    F__SEAT_1
    F__MONITORS__GLASS_1
    F__COCK__BASE
    IN_COCK__POWER_AND_HUD_BASE
    F_engines_
    RIFORNIMENTO_1
    RIFORNIMENTO_2
    PRESA_DORSALE_A
    PRESA_DORSALE_B
    PRESA_DORSALE_C
    PRESA_DORSALE_D
    PRESA_DORSALE_R_2
    PRESA_DORSALE_R_1
    PRESA_DORSALE_L_3
    PRESA_DORSALE_L_2
    PRESA_DORSALE_L_1
    PRESA_DORSALE_R_3
    COCKPIT_HUD_1
    F_SOLID_COCKPIT
    COSKPIT_BARRA
    PITOT_NEW
    DOOR_BAY_DOWN_2B
    DOOR_BAY_DOWN_4B001
    DOOR_BAY_DOWN_4A001
    DOOR_BAY_DOWN_4B
    DOOR_BAY_DOWN_4A
    DOOR_BAY_DOWN_1B
    DOOR_BAY_DOWN_1A
    DOOR_BAY_RIGHT_2A001
    DOOR_BAY_RIGHT_2B001
    DOOR_BAY_RIGHT_1A001
    DOOR_BAY_RIGHT_1B001
    DOOR_BAY_RIGHT_1B
    DOOR_BAY_RIGHT_1A
    DOOR_BAY_RIGHT_2B
    DOOR_BAY_RIGHT_2A
    IN_COCK__PUSH_BUTTON_
    IN_COCK__PUSH_BUTTON_
    IN_COCK_BUTTON3
    IN_COCK_BUTTON3
    IN_COCK_BUTTON3
    IN_COCK_BUTTON3
    IN_COCK_BUTTON3
    IN_COCK_BUTTON3
    IN_COCK_BUTTON3
    IN_COCK_BUTTON3
    IN_COCK_BUTTON3
    IN_COCK_BUTTON3
    IN_COCK_BUTTON3
    IN_COCK_BUTTON3
    IN_COCK_BUTTON3
    IN_COCK_BUTTON3
    IN_COCK_BUTTON3
    IN_COCK_BUTTON3
    IN_COCK_BUTTON3
    IN_COCK_BUTTON3
    IN_COCK_BUTTON3
    IN_COCK_BUTTON3
    IN_COCK_BUTTON3
    IN_COCK_BUTTON3
    IN_COCK_BUTTON3
    IN_COCK_BUTTON3
    IN_COCK_BUTTON3
    IN_COCK_BUTTON3
    IN_COCK_BUTTON3
    IN_COCK_BUTTON3
    IN_COCK_BUTTON3
    IN_COCK_BUTTON3
    IN_COCK_BUTTON3
    IN_COCK_BUTTON3
    IN_COCK_BUTTON3
    IN_COCK_BUTTON3
    IN_COCK_BUTTON3
    DOOR_BAY_DOWN_3B001
    DOOR_BAY_DOWN_3A001
    DOOR_BAY_DOWN_3B
    DOOR_BAY_DOWN_3A
    DOOR_BAY_DOWN_2A
    F_FUSELAGE [F_FUSELAGE]



 :D
Logged

DeanosBeano

  • Full Member
  • ***
  • Posts: 106
  • newbie
Re: F22
« Reply #8 on: February 19, 2014, 05:40:44 pm »

 Haha thats a lot of mesh and things :)
 I am not on pc again until tomorrow , but this mig29.js  its in yoyr raptor folder ?
  In game press Alt E  , it shows script ?
    Also the things in [   ], I think only these are named in impirt and can be used in .js
However im not sure until im on pc , I am on tablet at moment

Logged

konaone

  • Full Member
  • ***
  • Posts: 132
  • newbie
Re: F22
« Reply #9 on: February 20, 2014, 03:32:03 pm »

The. Js file was copied and pasted into the folder raptor.
by pressing Alt + E nothing happens!!  :'(
I await news!
Thanks for the help I hope that in the end will take flight!! ;)
Logged

DeanosBeano

  • Full Member
  • ***
  • Posts: 106
  • newbie
Re: F22
« Reply #10 on: February 20, 2014, 05:32:30 pm »

Hi ,
 Apologies im again on tablet but I notice you missed

"fdm_root_dir" : "./" 
In objdef , this is for filepath to jbsim 
Hope this fixes 
Logged

konaone

  • Full Member
  • ***
  • Posts: 132
  • newbie
Re: F22
« Reply #11 on: February 21, 2014, 01:10:01 pm »

Don't work!!!!!!!!!!!!!!!!!!! >:(
Logged

DeanosBeano

  • Full Member
  • ***
  • Posts: 106
  • newbie
Re: F22
« Reply #12 on: February 21, 2014, 01:12:56 pm »


 hmmm

 vertices of model > 63K  ?
Logged

konaone

  • Full Member
  • ***
  • Posts: 132
  • newbie
Re: F22
« Reply #13 on: February 21, 2014, 01:24:51 pm »

Now it works!
objdef in the script remains f22.js and is not replaced with that of mig.
I also copied the folder and aircraft engine ... now if I press ALT + E opens the script, which is almost empty!!
Logged

DeanosBeano

  • Full Member
  • ***
  • Posts: 106
  • newbie
Re: F22
« Reply #14 on: February 21, 2014, 01:28:39 pm »

 Nice progress :)

 so now open mig.js in notepad and copy all and when in outerra in f22 , press Alt E and paste all this mig.js ;)
 
 then press reload and now the hard work , make name chane to your model mesh not migs names ;)

Logged
Pages: [1] 2