Jump to content

Recommended Posts

Posted

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

Posted
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

Posted

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

  • 1 month later...
Posted

@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

  • 1 month later...
Posted

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

Posted
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

Posted

Have the units as meters then pick a vert on the deck and get the height from that.

The only way to make sense out of change is to plunge into it, move with it, and join the dance.

"Me, the 13th Duke of Wybourne, here on the ED forums at 3 'o' clock in the morning, with my reputation. Are they mad.."

https://ko-fi.com/joey45

 

  • 1 year later...
Posted
On 3/3/2020 at 3:49 PM, astazou said:

I don't understand what "V_target" means

Hi,

 

I think that V_target is the speed of movement of the plane from one point to another of the taxi route.

  • Like 1
  • Recently Browsing   0 members

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