ekolis / FrEee

An open source clone of the classic 4X game Space Empires IV.
http://edkolis.com/freee
48 stars 12 forks source link

Moddable vehicle types #53

Open ekolis opened 4 years ago

ekolis commented 4 years ago

What do you want to see? Moddable vehicle types. Similar to SE5's system, but ships and bases should be moddable as well; you could define additional ship/base type things like "gunboats" or "capital ships".

How would it help players? Modders could have fun with mixing and matching abilities - you could create patrol ships without the ability of warp, and of course warping would need to be an ability so you could make a component that grants that ability. The possibilities are endless...

Alternatives Not really, just need to define custom vehicle types with their abilities in a text file.

Screenshots and mockups N/A

Things to consider Not sure yet...

Skyburn1 commented 4 years ago

I like this idea, as long as a vehicle can inherit an ability from cargo, too. Something I wanted to be able to do in SE5 is make modular ships where you can change the ship at any time by changing the cargo. So you could load more engine units for a faster ship or more gun units for weapons or whatever.

ekolis commented 4 years ago

Inherit an ability from cargo? Hmm, I could add that, but it would need to be restricted somehow. We don't want a ship carrying troops to be able to fire into space using the troops' weapons! Maybe we could add an ability that grants that privilege to a ship for all abilities, or maybe for only specified abilities?

ekolis commented 4 years ago

Actually weapons fire is not technically an ability, maybe it should be...

ekolis commented 4 years ago

As for adding engine units to a ship, we'd need to specify that a unit is capable of having its abilities inherited while in cargo, and also that a space object is capable of inheriting abilities from its cargo. We don't want fighters giving their carrier movement, or "engine units" giving a planet movement!