Git Product home page Git Product logo

shipworksextended's Introduction

ShipworksExtended

Is a mod made for the Highfleet-Modloader that allows you to define parts to be loaded into the shipworks.

Using

To use the mod simply go into the latest release and drag and drop the contents of the Artifacts.zip file into the highfleet folder

Defining parts

Defining parts to be added into the shipworks is really simple. You only need to add the part's m_oid into the mod's configuration file at Modloader/config/Shipworks.json. You can edit the configuration file while the game is running and it's changes will be aplied the next time you enter the shipworks.

Here is an example Shipworks.json:

{
	"LoadVanilla": false,
	"LoadVanillaHulls": false,
	"Hulls": [
		"HULL2x2_1",
		"HULL3x3_1"	
	],
	"LoadVanillaArmors": true,
	"Armors": [

	],
	"LoadVanillaFuels":  true,
	"Fuels": [

	],
	"LoadVanillaAmmos": true,
	"Ammos": [

	],
	"LoadVanillaLegs": false,
	"Legs": [

	],
	"LoadVanillaEngines": true,
	"Engines": [
		"MDL_ENGINE_5"
	],
	"LoadVanillaGuns": true,
	"Guns": [

	],
	"LoadVanillaSensors": true,
	"Sensors": [

	],
	"LoadVanillaExpendables": true,
	"Expendables": [

	],
	"LoadVanillaCrafts": true,
	"Crafts": [
		"Custom_Craft_00",
		"Custom_Craft_01",
		"Custom_Craft_02"
	],
	"LoadVanillaDefences": true,
	"Defences": [

	],
	"LoadVanillaGenerators": true,
	"Generators": [

	],
	"LoadVanillaQuarters": true,
	"Quarters": [

	],
	"LoadVanillaEmergency": true,
	"Emergency": [

	]
}

Common bugs

Thanks to the nature of Highfleet modding being quite unstable you shouldn't be surprised if your game crashes if you have wrongly defined the shipworks.json file or incorrectly defined your part in the game.

Trying to load a part that doesn't exist or is malconfigured will normally result in a crash.

If you encounter any bugs or crashes not related to parts being wrongly defined or the configuration file being wrong, please create an issue here on github or message me directly

Versioning

The major version will be the same as the major version of the modloader the mod is made to work with. For example, if the version of the mod is V3.X.X it will only work on the modloader of version V3.X.X

Minor and patch versions work as normal, being added features and bugfixes respectively.

shipworksextended's People

Contributors

logdot avatar

Stargazers

PanzerKadaver avatar  avatar

Watchers

 avatar

shipworksextended's Issues

Parts defined within parts.seria without m_children will crash the shipworks

If you have a part inside of parts.seria that is lacking it's m_children "header" it will crash the game upon it trying to be loaded into the shipworks.

An example of a part entry missing it's header and one with it's header properly defined:

{
m_classname=Body
m_code=15
m_id=-8983356269622449513
m_name=CANNON 180mmm
m_state=2
m_master_id=-1535532082770840514
m_position.x=-201.454
m_position.y=79.0127
m_stage=6
m_meta=6145
m_density=650
m_mass=124943
m_mesh=1073741827
{
m_classname=Mesh
m_size=4
-2.49962
2.49962
-2.49962
-2.49962
2.49962
-2.49962
2.49962
2.49962
}
m_layer=6
m_slot_type=146
m_oid=MDL_CANNON_130X2
m_count=999
is_loot=true
m_burn_hp=10
m_ed_rotate=0
m_sprites=536870915
{
m_classname=Sprite
m_code=536870915
m_animation_name=cannon_layot_01
m_mask=0
}
}
m_children=15
{
m_classname=Body
m_code=15
m_id=-8983356269622449513
m_name=CANNON 180mmm
m_state=2
m_master_id=-1535532082770840514
m_position.x=-201.454
m_position.y=79.0127
m_stage=6
m_meta=6145
m_density=650
m_mass=124943
m_mesh=1073741827
{
m_classname=Mesh
m_size=4
-2.49962
2.49962
-2.49962
-2.49962
2.49962
-2.49962
2.49962
2.49962
}
m_layer=6
m_slot_type=146
m_oid=MDL_CANNON_130X2
m_count=999
is_loot=true
m_burn_hp=10
m_ed_rotate=0
m_sprites=536870915
{
m_classname=Sprite
m_code=536870915
m_animation_name=cannon_layot_01
m_mask=0
}
}

Save log output to file

Currently the shipworks mod only prints it's output to the terminal. Log output should be saved to disk to facilitate debugging in cases where terminal is unexpectedly closed (e.g. on a crash)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.