Jump to content

Who to understand the placements on a carrier (mod)


astazou

Recommended Posts

Hello,

 

I'm creating a carrier mod, I mostly learning by reading the existing configurations files (.lua) of existing vehicules.

But there is one point I don't understand: How are working the Runway/taxi/parking placements on a carrier?

 

unknown.png

Do you know what are "Length_Vpp" and "With_Vpp" please ? (I know what are lenght and width, but not "Vpp") Also, do you know what are those keywords please? I don't understand them (maybe because of my english), so I don't understand how to use them:

alsArgument, lowGlidePath, slightlyLowGlidePath, onLowerGlidePath, onUpperGlidePath, slightlyHighGlidePath, highGlidePath

 

Thank you

My DCS contributions:
- My mods/skins: here
- My server/missions scripts: there
- My Discord bot:
this place
If you want to thank me buying a coffee☕/beer🍺, feel free:
https://www.buymeacoffee.com/Astazou

Link to comment
Share on other sites

Vpp in russian acronim for "runway".

Thank you

 

So the 6 first parameters lead to do that:

unknown.png

 

 

 

 

 

What are those parameters please?

 

  • alsArgument
  • lowGlidePath
  • slightlyLowGlidePath
  • onLowerGlidePath
  • onUpperGlidePath
  • slightlyHighGlidePath
  • highGlidePath

My DCS contributions:
- My mods/skins: here
- My server/missions scripts: there
- My Discord bot:
this place
If you want to thank me buying a coffee☕/beer🍺, feel free:
https://www.buymeacoffee.com/Astazou

Link to comment
Share on other sites

What are those parameters please?

 

  • alsArgument
  • lowGlidePath
  • slightlyLowGlidePath
  • onLowerGlidePath
  • onUpperGlidePath
  • slightlyHighGlidePath
  • highGlidePath

 

 

I have an idea, do you think it can be used by the mirror to have to good angle of approach on a carrier?

 

If yes, I don't understand why it's also here for the next points (which aren't the runway anymore, but more the place for catapults)

My DCS contributions:
- My mods/skins: here
- My server/missions scripts: there
- My Discord bot:
this place
If you want to thank me buying a coffee☕/beer🍺, feel free:
https://www.buymeacoffee.com/Astazou

Link to comment
Share on other sites

  • 1 month later...

@Sirius, yep, I final thought that too, so it's usable only for the first runway you declare (because the first declared runway is the one used for landings)

 

 

 

 

 

 

Just to finish, I will share what can be usefull if someone want to make a carrier mod. (all my questions here was for this mod: https://www.digitalcombatsimulator.com/fr/files/3308231/ )

 

I had a new question, I had a problem with spawning. I analyzed the code from other mods, but I didn't get it work

 

My problem: when I spawn a first plane, others can't spawn (the first one being still on the deck or took off already)

What I want: make 4 areas spawnable for IA/players, and when someone leave an arena, another player can spawn on this place

 

 

GT.RunWays =
{     
-- landing strip definition (first in table)
--    VppStartPoint;                     azimuth (degree}     Length_Vpp;     Width_Vpp;
   {{-188, 10, 0},         360.0,             108.0,             32.0,         
-- alsArgument, lowGlidePath, slightlyLowGlidePath, onLowerGlidePath, onUpperGlidePath, slightlyHighGlidePath, highGlidePath
   0,             0,                   0,                     0,              0,                 0,                 0},
-- runways
   
     {{156,  10, -8}, 360,16,12.0,0,0,0,0,0,0,0},   
     {{156,  10, 8}, 360,16,12.0,0,0,0,0,0,0,0},   
};
GT.RunWays.RunwaysNumber = #GT.RunWays

GT.TaxiRoutes = 

   --    x                y        z            V_target
{                    
   { -- 1 parking spot
       {{ 88.5,      10,         -9},        3.0},
       {{ 141,      10,         -8},        2.0},
   },
   { -- 2 parking spot
       {{ 88.5,     10,         9},        3.0},
       {{ 141,      10,         8},        2.0},
   },

   { 
       {{ -27.2,      10,         -9},        3.0},
       {{ 33,      10,         -8},        2.0}
   },
   { -- 4 parking spot
       {{ -27.2,      10,         -9},        3.0},
       {{ 33,      10,         8},        2.0}
   };
}
GT.TaxiRoutes.RoutesNumber = #GT.TaxiRoutes

GT.TaxiForTORoutes = 
   -- taxi routes and parking spots in LCS
   --    x                y        z            V_target
   {        
   { RunwayIdx = 1, Points =
       {
           {{ 88.5,      10,         -9},        1.0},
           {{ 141,      10,         -8},        1.0}
       }
   },
   { RunwayIdx = 2, Points =
       {
           {{ 88.5,      10,         9},        2.0},
           {{ 141,      10,         8},        2.0}
       }
   },
   { RunwayIdx = 3, Points =
       { -- 3 spawn spot(6pack 3) -> catapult 3
           {{ -27.2,      10,         -9},        3.0},
           {{ 33,      10,         -8},        3.0}
       }
   },    
   { RunwayIdx = 4, Points =
       { -- 4 spawn spot(6pack 4) -> catapult 4
           {{ -27.2,      10,         9},        4.0},
           {{ 33,      10,         8},        4.0}
       }
   },    
}
GT.TaxiForTORoutes.RoutesForTONumber = #GT.TaxiForTORoutes

I don't understand what "V_target" means, but I finally cancelled this approach, I'm pretty sure it was the good one, but I didn't find my mistake, so I made it more simple:

I deleted the TaxiForTORoutes and the TaxiRoutes parts, then I have only the RunWays spots. So now I can make spawn same number of planes than number of runways. The "only problem" is cold start planes spawn also on runway ready to be catapulted

 

Hope it will help someone

My DCS contributions:
- My mods/skins: here
- My server/missions scripts: there
- My Discord bot:
this place
If you want to thank me buying a coffee☕/beer🍺, feel free:
https://www.buymeacoffee.com/Astazou

Link to comment
Share on other sites

  • 1 month later...

Hello everyone! In this time of confinement I am preparing an aircraft carrier mods ... after several tests with the .lua I cannot fix this, in the spawn the plane is a little off the ground and breaks on falling, ¿ Does anyone know how to solve it?

 

imagen hier

 

Xg4AtC8.png

Link to comment
Share on other sites

Hello everyone! In this time of confinement I am preparing an aircraft carrier mods ... after several tests with the .lua I cannot fix this, in the spawn the plane is a little off the ground and breaks on falling, ¿ Does anyone know how to solve it?

 

imagen hier

 

Hi, in the .lua, at the spot place, you just need the reduce the altitude (the y value)

My DCS contributions:
- My mods/skins: here
- My server/missions scripts: there
- My Discord bot:
this place
If you want to thank me buying a coffee☕/beer🍺, feel free:
https://www.buymeacoffee.com/Astazou

Link to comment
Share on other sites

  • 1 year later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...