Profile image

What's possible with modding levels? (for campaigns and such)

106k hpgbproductions  4.9 years ago

Need to know if some stuff is possible in a level, and possibly how to do it lul (don't have any real experience with cs)

  • spawn enemy aircraft? (hostile/passive/neutral behaviour)
  • spawn friendly/untargetable (blue marker) aircraft
  • spawn missile without enemy vehicle (ex: SAM Evasion)
  • set AI to fly to target location
  • check if specific targets (air/ground) are destroyed (win/lose)
  • set friendly ground unit/ target location marker (white marker)
  • lock weapons
  • kill a (specific) ground/air unit automatically
  • run code when player gets somewhere (covered by MikoTestScripts I think)
  • custom ground vehicles

Is there also a more complete documentation or list of possible API functions and object features? Would prevent the need for such posts^

Ideas if these are possible:

  • more realistic missions compared to standard "kill all" missions
  • ground targets naturally get destroyed over time (ex: War Thunder)
  • kill the player if defecting is detected

Also iS rEaRmAmEnT pOsSiBlE?? (sorry, so many people ask this lol)
(A workaround is to split an attack mission into a few parts, where in each part you destroy a different group of enemies.)