Go to file
bmgjet 95b6b3a738
Fix cases where flyhack was turned into a kill.
2022-06-06 19:43:59 +12:00
CargoPathController.cs Fix cases where flyhack was turned into a kill. 2022-06-06 19:43:59 +12:00
README.md Create README.md 2022-05-02 13:39:56 +12:00

README.md

CargoPathController

Make Better CargoPaths For Custom Maps.
To use this plugin you must be admin on the server.

Console Command
createcargopath "newname.map" minwaterdepth mindistancefromprefabs smoothing
(Creates and saves new map file with cargopath of these settings)

createcargopath "newname.map"
(Saves the cargopath into a new mapfile, Will be native path if none had been created already)

stopcargopath
(Stops the cargo path generator if its taking too long)

Chat Commands
/createcargopath "newname.map" minwaterdepth mindistancefromprefabs smoothing
(Creates and saves new map file with cargopath of these settings)

/showcargopath
(Shows the current loaded cargopath (squares nodes wont let cargo leave or spawn on))

/addcargopath nodeindex
(Adds at node at that index, Using here instead of number will add between the closest nodes)

/removecargopath nodeindex nodeindex
(Removes node at that index or all between 2 given indexes)

/savecargopath "newmapname.map"
(Saves current cargopath into new mapfile)

/blockcargopath blocksize
(Changes Topology below player to what you have set to block cargo egrees)

Settings

public int TopologyBaseBlock = TerrainTopology.OCEANSIDE;
(Change OCEANSIDE to another topology if you dont want to use that for blocking cargo ship)
Other wise when the cargoship is in that topology it will not be able to leave until its free of that topology.
It will also not spawn on any node thats in that topology.)

Video

https://www.youtube.com/watch?v=BJVPhlCKWWE