Jump to content

Helo spawn almost anywhere Mod


Recommended Posts

Hi gentlemen,

 

finaly i got it done, although with 1 thing thats needs to be sorted out in the future.

 

First of all:

Thanks to the DCS Witchcraft maker, as his tutorial gave me the final idea.

Thanks to upuaut, who made the 2D model and texture for this test.

 

Ok, for a first test, you might want to download the attached file, put the "Spawn" folder into mods/tech/ in DCS and save the mission in your mission file folder.

 

The testmission supports huey and ka-50.

 

How to use it:

Essentialy the spawn is a ship, to be found under the US ships.

 

- create a mission, and place as many spawn ships as you need

- place the helos you need as rampstart on those spawnships

EDIT: dont forget to set the speed to 0

- you might want to place a Cargo for any Spawn point you want to place in the wanted location to get the coordinats

- save the mission

NOTE: you can edit the mission later as long as you dont move the spawnships. you can also adjust their heading, just dont move them. select them through the unit list to be on the safe side.

- open the mission file with 7zip or something and extract the mission file.

- open it in an editor like scite

- if you used a cargo as location marker, search for it and take the coordinats like below:

 ["units"] = 
                               {
                                   [1] = 
                                   {
                                       ["shape_name"] = "ab-212_cargo",
                                       ["type"] = "Cargo1",
                                       ["unitId"] = 3,
                                       ["y"] = 694858.57142857,
                                       ["mass"] = 1000,
                                       ["name"] = "New Static Object",
                                       ["category"] = "Cargos",
                                       ["canCargo"] = false,
                                       ["x"] = -275914.28571428,
                                       ["heading"] = 0,
                                   }, -- end of [1]
                               }, -- end of ["units"]
[color=Red]                                ["y"] = 694858.57142857,
                               ["x"] = -275914.28571428,[/color]
                               ["name"] = "New Static Object",
                               ["dead"] = false,
                           }, -- end of [1]

- now search for your spawn ship and replace the coordinats like below:

(code showing the 5 spawns i use in the testmission attached, but highlited only for spawn 1)

["ship"] =

{

["group"] =

{

[1] =

{

["visible"] = false,

["route"] =

{

["points"] =

{

[1] =

{

["alt"] = 0,

["type"] = "Turning Point",

["ETA"] = 0,

["alt_type"] = "BARO",

["formation_template"] = "",

["y"] = 591645.71428571,

["x"] = -345984.28571429,

["ETA_locked"] = true,

["speed"] = 0,

["action"] = "Turning Point",

["task"] =

{

["id"] = "ComboTask",

["params"] =

{

["tasks"] =

{

}, -- end of ["tasks"]

}, -- end of ["params"]

}, -- end of ["task"]

["speed_locked"] = true,

}, -- end of [1]

}, -- end of ["points"]

}, -- end of ["route"]

["groupId"] = 6,

["tasks"] =

{

}, -- end of ["tasks"]

["hidden"] = false,

["units"] =

{

[1] =

{

["y"] = 694982,

["type"] = "Spawn",

["name"] = "Unit #1",

["unitId"] = 6,

["heading"] = 3.7873644768277,

["skill"] = "Average",

["x"] = -275878.57142857,

}, -- end of [1]

[2] =

{

["y"] = 617555.71428571,

["type"] = "Spawn",

["name"] = "Unit #001",

["unitId"] = 7,

["heading"] = 3.7873644768277,

["skill"] = "Average",

["x"] = -355650,

}, -- end of [2]

[3] =

{

["y"] = 617577.14285714,

["type"] = "Spawn",

["name"] = "Unit #002",

["unitId"] = 8,

["heading"] = 3.7873644768277,

["skill"] = "Average",

["x"] = -355664.28571429,

}, -- end of [3]

[4] =

{

["y"] = 617620,

["type"] = "Spawn",

["name"] = "Unit #003",

["unitId"] = 9,

["heading"] = 3.7873644768277,

["skill"] = "Average",

["x"] = -355685.71428571,

}, -- end of [4]

[5] =

{

["y"] = 617598.57142857,

["type"] = "Spawn",

["name"] = "Unit #004",

["unitId"] = 10,

["heading"] = 3.7873644768277,

["skill"] = "Average",

["x"] = -355675.71428571,

}, -- end of [5]

}, -- end of ["units"]

["y"] = 591645.71428571,

["x"] = -345984.28571429,

["name"] = "New Ship Group",

["start_time"] = 0,

}, -- end of [1]

}, -- end of ["group"]

}, -- end of ["ship"]

when you finished changing the coordinates, save the file and move it back into the miz file.

 

Notes:

- the shiptype that the spawn mod uses could be changed to an aircraftcarrier, that would essentialy allow to place anything flyable on the spawnpoints.

- i havent tested, but i think DCS:Witchcraft could be used to use the spawnpoints to the desired location

- SP working without flaws as far as i could see.

- MP is working for the host

- MP clients have to join there aircraft while the mission is on PAUSE, else they explode, thats the one thing on top of this topic i mentioned that needs to be solved, any ideas welcome!!!

- all clients need to install it

 

happy testing, hope some folks have use for it.

 

regards,

RR

Spawn.rar


Edited by Roadrunner
  • Like 1

[sIGPIC][/sIGPIC]

"There's nothing to be gained by second guessing yourself.

You can't remake the past, so look ahead... or risk being left behind."

 

Noli Timere Messorem

"No matter how fast light travels, it finds the darkness has always been there first, and is waiting for it."

Terry Pratchett

Link to comment
Share on other sites

Big Thank You!

 

Sadly I don't have the time to test this because of little spare time but I will soon.

[sIGPIC][/sIGPIC]

I5 4670k, 32GB, GTX 1070, Thrustmaster TFRP, G940 Throttle extremely modded with Bodnar 0836X and Bu0836A,

Warthog Joystick with F-18 grip, Oculus Rift S - Almost all is made from gifts from friends, the most expensive parts at least

Link to comment
Share on other sites

update:

 

after some more testing i found the reason for clients exploding.

 

it's simple to get the idea there:

join a server, have the server pause / unpause / pause again, then join a helo as client while game is paused.

 

while checking the altitude after that on client and server i noticed a difference of some 1500 feet, so the client spawns below the waterline for some reason.

 

havent figured out how to change/sync that, so if someone has an idea, please share it ;)

 

regards,

RR

[sIGPIC][/sIGPIC]

"There's nothing to be gained by second guessing yourself.

You can't remake the past, so look ahead... or risk being left behind."

 

Noli Timere Messorem

"No matter how fast light travels, it finds the darkness has always been there first, and is waiting for it."

Terry Pratchett

Link to comment
Share on other sites

  • Recently Browsing   0 members

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