Space Engineers

Space Engineers

Not enough ratings
GoHiigara
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod category: Script, Other
File Size
Posted
283.808 KB
17 Feb, 2016 @ 3:14am
1 Change Note ( view )

Subscribe to download
GoHiigara

Description
This mod aims to give you the experience of a Homeworld campaign where you travel towards a target (Hiigara)

It tries that by spawning increasingly tougher enemies near you the nearer you get to a dangerzone. Dangerzones can be defined in the config file.

To get the mod working you need to have some drones ready in your prefab list. That takes some work and I will probably release some of the prefabs we use for our HW campaign.

The default configuration is made for EasyEarthStart and assumes the alien planet to be hiigara. Every other planet's sphere of influence is meant to be a safezone, so that no drones spawn in gravity or atmosphere.

There are 3 chat commands:
/travel - gives you information about the distance to the target and current threatlevel
/position - print out your position
/spawn - only available for the admin, spawns a wave immeadiatly and resets the timers

The spawning works dependant on your distance to the target and the available prefabs. The default is that the maximum threatlevel is 5 at the border to Hiigara and 1 in the orbit of earth. So halfway to Hiigara you have a threat of 2.5. Assume you have 3 prefabs: 1xlvl1 , 1xlvl2, 1xlvl3. Then you can have a wave spawned that consists of the lvl2 drone or two of the lvl1 drones.

You can set the maximum yourself for every dangerzone and have them spawn drones for different factions. They can even come in and battle against each other.

Please make sure you set the spawn times so that you can handle the incoming enemy. For every player there is a timer running and if you have 5 players in one spot... well, it can get chaotic.


Keep in mind this is the work of 3 hours coding and my first plugin. I'm just publishing it to be able to test it on a dedicated server.

When using this mod the quality of the experience really depends on the quaility of the available drones.

------------------------
Roadmap:
- Tracking of spawned drones to delete them when the completly out of range
- Scenario adjustments like distance to hiigara more fitting for the jump drive
- Sync the target position from server to clients

------------------------
Known issues:
- not enough testing -
- clients only know the correct position when having the same config as the server

------------------------
Credits:
-midspace's admin commands git hub helped a lot to understand ship spawning and i used the debugger
-cython's (Beta) Shields helped me to understand how one can use config files in SE
12 Comments
Trillium 27 May, 2016 @ 8:59pm 
Danga Zoonee!
The HellSmith  [author] 20 Mar, 2016 @ 11:01pm 
i think you have to start the mod at least once for the cfg to be created. i think the default config includes values for the "easy start earth" map and the only prefab drone that spawns and attacks you is the aspirant which gets also spawned near the standard pirate bases. i m planning to create some new drones as a content expansion, but for now i have to deal with exams ;)
Kershaw 20 Mar, 2016 @ 12:47pm 
Do you have prefab drones in the CFG already? So I could just load the mod as is and play? Or is it mandatory to find that CFG to add the prefab. (Not at home to check myself hence the question)
Kershaw 20 Mar, 2016 @ 10:11am 
thanks for the response, it makes sense now, i hate to last another question though. i could not find the GoHiigara.cfg i folloed the path through appdata/spaceenegineers/storage. Is the file hidden or something?
The HellSmith  [author] 19 Mar, 2016 @ 10:42pm 
the drones only have to be in your prefab folder. SpaceEngineers/Content/Data/Prefabs thats the place where your prefabs are. The name you have to put into the GoHiigara config file is not the file name, instead its the identifier in the file
Kershaw 19 Mar, 2016 @ 6:27pm 
so just to double check on something, in order for the drones and the scripting to work, i need to have preplaced drones in space for anything to work? or do they spawn into the world from a drone list when conditions are met on the way to the alien planet?
overwerk 24 Feb, 2016 @ 6:52am 
i don't know why, but the preffab don't apear in my folder for some reason
The HellSmith  [author] 20 Feb, 2016 @ 11:56am 
That is a theme fitting idea :D i will try to apply different configs for the chosen scenarios if there is no config there. so if you choose MarsEasyStart it's like you proposed
bartoszaks 20 Feb, 2016 @ 3:37am 
How about making Mars to be Kharak, and Earth to be Hiigara?
The HellSmith  [author] 18 Feb, 2016 @ 5:12am 
there is a folder in %APPDATA%/Space Engineers/Storage for this mod and you can find GoHiigara.cfg in there. I think that file is pretty self explanatory. Just add prefabs by theire subtypeID. You can find the ID in the prefab files. All prefabs have to be present when the map loads. hope that helps