Search results

  1. Immortius

    Chunk specific data to networked clients

    Perhaps we should move world info like this into the world entity.
  2. Immortius

    Noob questions

    It is awkward trying to change things afterwards though. A general pattern for events is to have a Before event that can be used to modify or cancel something that is about to happen, and an On/After event to trigger other actions in response to the action - but not modifying it. Damage works...
  3. Immortius

    Noob questions

    Looks like we need a BeforeDropBlock event to allow the family being dropped to be intercepted.
  4. Immortius

    Chunk specific data to networked clients

    True. That is correct. Oversight on my part. And I agree, there is almost certainly a lot of use for chunk entities in general.
  5. Immortius

    Chunk specific data to networked clients

    In theory, you shouldn't need to replicate biome data. It should be possible to generate it from the world seed client-side. All world generation should ultimately be deterministic based on the world seed. If the biomes are subject to change, then we probably should do an entity per chunk -...
  6. Immortius

    Noob questions

    The top, and other blocks that are uniformally foliage are uniformally modified. Grass sides are special because they are a mixture of grass and dirt.
  7. Immortius

    Noob questions

    1. The color of grass/foliage is modified based on the humidity and other factors of the region it is in - the mask indicates which parts of the grass block sides have grass (and thus should be altered). 2. No-one is working on it, so no. I specifically think that there should be no water...
  8. Immortius

    Copyright

    Well, that is true for the code, Cervator. Not necessarily true for the assets. If you want to release your own distribution of Terasology you technically need to either remove all the assets or seek permission from each of the asset contributors to use the assets that are part of your...
  9. Immortius

    Items

    1. If you're just doing this for your own benefit, alter PlayerFactory. 2. If you want something you can give to other people, create a module with a component system that intercepts the OnPlayerSpawnedEvent and alters the player's inventory.
  10. Immortius

    Tweaking NUI

    Implemented checkboxes: Added some additional style options to support this - the ability to have fixed width and fixed height for an element, and how it will be positioned in a region that is larger than this size. Also added Data Binding support. A binding uses this interface: public...
  11. Immortius

    Implementation Behavior Trees

    Ah, I see. Given they are stateless might make sense to do them as assets - then you can use that json format.
  12. Immortius

    eclipse setup fails to run

    The engine doesn't really need to depend on the facade for testing. Whatever is being used from Terasology can be refactored out into engine.
  13. Immortius

    Implementation Behavior Trees

    How does the node system integrate with the entity system? You should think about whether the tree can be composed of entities + components, in order to leverage the serialization support this provides (otherwise the AIs will forget what they are doing when a game is saved and reloaded). It...
  14. Immortius

    Implementation Portals

    In general you would want to listen for the inventory events to determine when some action may be required. These need some work, but InventorySlotChangedEvent at least should be useful. The InventoryManager can be obtained using @In. You would get either InventoryManager or...
  15. Immortius

    Tweaking NUI

    Starting to pull things together. Now have a working main menu, although the sub-menus it opens are not complete yet. Code looks like this: @In private GameEngine engine; @In private NUIManager nuiManager; public MainMenuScreen() { ColumnLayout grid = new...
  16. Immortius

    Suggested Advanced Clipper Tools

    Yes. That is plausible, probably to .obj I guess? We already dump the necessary texture to go with it. There is support for texture packs via module overrides - they don't work the same way as Minecraft's though. They are selected on world creation at the moment, and the server makes all...
  17. Immortius

    [SUCHE] Funktionierende Source [SUCHE]

    For eclipse, you should run is "gradlew eclipse", which should generate the eclipse project(s). Cervator has this been tested with the restructured terasology? I imagine it should work though.
  18. Immortius

    Tweaking NUI

    Pottering about getting a feel for the next steps - widgets and layout. I've added this method to the Canvas: void drawWidget(UIWidget widget, Rect2i region); Which sets the canvas using the style for the widget and creates a subregion for rendering it in. With this a widget can contain...
  19. Immortius

    Resolved black window on startup, then vanishes

    Hmm... we append the bundled path to the end of the existing java.library.path property. We should actually add it to the front (by default it has the windows system32 directory and a half dozen other locations in it). I'll fix this up.
  20. Immortius

    The Great Convergence

    One item I've noticed, we still need to split out TeraEd as a facade.
Top