Jump to content

Recommended Posts

Posted

Hello,

 

I am creating a mission editor for specific purposes and I wonder how to randomize unit locations: how to validate the GPS coordinates ? How to be sure that you don't place units into buildings ?

 

Any solution ?

Posted

Its not even possible in Lua-code to place units at a random location, right?

DCS AJS37 HACKERMAN

 

There will always be bugs. If everything is a priority nothing is.

Posted (edited)
[...]If thats what you mean...

Absolutely not. I was thinking about generating random GPS coordinates to locate ground units randomly. Avoiding bugs (e.g. T-80 inside map building), if possible.

 

And my question let me think about the current ED mission generator.... how does it generate ground units ? Predefined locations list ? Map info computing ? That is the question.

 

PS: my tool writes down the mission file in its own, you see ? I can write whatever GPS location to any ground unit.....

Edited by galevsky06
Posted
And my question let me think about the current ED mission generator.... how does it generate ground units ? Predefined locations list ?

 

Predefined locations and force templates, yes

Posted

Somewhere in the files is probably a database of all of the building/object locations so that the editor can render them or give an error if the object is placed in a bad location. IE placing vehicles on water or a FARP on terrain that is to steep. I have no clue where that information would be.

The right man in the wrong place makes all the difference in the world.

Current Projects:  Grayflag ServerScripting Wiki

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread)

 SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum

Posted

Group spawn sectors, the group can spawn somewhere inside the square sector. The waypoint assigmnments can be the same. And a function for automatic hiding among buildings in a willage if the willage is close.

Posted
PS: my tool writes down the mission file in its own, you see ? I can write whatever GPS location to any ground unit.....

Can be usefull to create a dynamic campaign if you keep the results & vehicle locations of the last mission and feed these data with a new/next mission. Any details?

Posted (edited)
Can be usefull to create a dynamic campaign if you keep the results & vehicle locations of the last mission and feed these data with a new/next mission. Any details?

 

I am working on DCS Lobby, kind of Hyperlobby dedicated to DCS, chat with different rooms (Dogfight, A/A, TeamvTeam, for both normal business and ladders/Cups).

 

That is the reason why I am working on 3 modules:

 

  1. Mission generator: (Air units are easy to handle, ground units more difficult.) One interesting feature: generating 2 files (one-coalition POV mission) with trigger zones and list of units to locate/use with restrictions, then creation of the final mission file (the sum of the two files prepared by both teams).
  2. Mission integrity check: lua code is calling binary file to encrypt and send to remote server the missions files sha1, just to be sure that the mission played is the one that have been generated without modifications.
  3. Result computing: a file is built during the flight, and will be sent by lua at the end of the mission through secured and encrypted channel to remote server (kind of ACMI, but very light, I don't need details but only a few events for scoring matter)

 

With these modules, I will be able to make people meet each other, and also organize matches into a secured environment (I am also interested into sa-sim.com work) via the lobby. I am currently looking for a solution to launch MP client from the lobby with the server IP to connect as parameter.

 

Further details and screenshots later.

Edited by galevsky06
  • Recently Browsing   0 members

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