Coder Social home page Coder Social logo

Large vessels & hangar about emptyepsilon HOT 10 CLOSED

daid avatar daid commented on July 24, 2024
Large vessels & hangar

from emptyepsilon.

Comments (10)

daid avatar daid commented on July 24, 2024

class > 6? everything is class 10 by default. Except for the huge battlestation, which is 11. And note that this docking mechnism needs some refinement.

from emptyepsilon.

nallath avatar nallath commented on July 24, 2024

We will need to refactor the power stuff anyway; All ships have 1000 power I believe, which is weird. Fighters should drain power from the larger ships, but it would be weird if a fighter uses as much power as a big honking space cruiser.

from emptyepsilon.

ErikDeBruijn avatar ErikDeBruijn commented on July 24, 2024

@nallath good point wrt energy drain of main ship. I'd love to add a SYS_HangarDeck. Actually I already did... but I had some segfaults so didn't want to commit code that didn't even work well on my own systems. Now I can finally test on both Mac and Linux and make code that works across at least two platforms.

from emptyepsilon.

Jhovall avatar Jhovall commented on July 24, 2024

Although this is quite an old issue, are there any updates on it? And how to assign classes to the ships? IIRC we can't assign a class in the shiptemplates.
Will there be a docking possibility on a specific place? just like the engines and beams are placed?

from emptyepsilon.

daid avatar daid commented on July 24, 2024

Currently, ships can dock other ships, if the ship you are trying to dock to has a higher "size class", and the ship is not your enemy.

The default size class (when it is not set) is 10.
Currently only the "Battlestation" has a size class specified. So other ships can dock to a "Battlestation"

template = ShipTemplate():setName("Battlestation"):setModel("Ender Battlecruiser")
template:setSizeClass(11)

Note that being docked means that your energy will recharge, no matter what you are docked too. Other then that, it should work fine, and your docking target can still fly, or even use it's jumpdrive.

from emptyepsilon.

Jhovall avatar Jhovall commented on July 24, 2024

That is really nice to know. (And usefull for our larps), I will implement this in my new ship templates.
Does the class do anything other than being able to dock if class > 6?

Questions which I could find out myself, but not able to at the moment:
And is there a specific docking point (I guess not) and does the docking-ship fly along with the main ship? Does the docked ship dissappear?

from emptyepsilon.

Jhovall avatar Jhovall commented on July 24, 2024

Also,

Might it be possible that a ship is too ' large' to dock to another ship, but still too small to let another ship dock.

a.k.a. Some of my ships do have a hangar deck for shuttles, others don't, but are still large.

from emptyepsilon.

daid avatar daid commented on July 24, 2024

Currently that cannot be done yet. I'll have to change the "docking rules" for that.

There are no docking points. Docking works by "bumping" into each other, where ever the ships meet is where the docking happens.

from emptyepsilon.

daid avatar daid commented on July 24, 2024

The sizeClass is only used for docking right now.

from emptyepsilon.

Jhovall avatar Jhovall commented on July 24, 2024

Well, my feature request is that there is a possibility for docking points at ships and spacestations.
And a docking rule for ships/spacestations, so you can say who can dock where.

I have a large spacestation with several hangars and I only want to allow the ships dock at one of these hangars. (It would be ugly if they docked somewhere else).

from emptyepsilon.

Related Issues (20)

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.