Coder Social home page Coder Social logo

hackedpassword / z2 Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 0.0 38.88 MB

Zelda 2 for Unciv! A fully coherent integration of the classic NES game into the 4X gameplay of Unciv! Actively being developed, very frequently updated!

Home Page: https://github.com/hackedpassword/Z2

unciv-mod-fun unciv-mod-maps unciv-mod unciv-mod-rulesets

z2's Introduction

Z2 : Zelda 2 for Unciv

Looking for some NES nostalgia? With a Civ V twist? You’ve come to the right place.

I’m a huge fan of the original Zelda 2, up to and including no-lives-lost vanila game completion. I also have a less than 7 minute completion speedrun time which you may find entertaining. ;)

Z2 achievements:

  1. For the first time in Unciv history, bridge tiles can be placed. This is accomplished with Hybrid Tile Tech, invented here, and now mentioned in Unciv's code.
  2. Thanks to hybrid tiles, three specific Zelda 2 gameplay elements have been preserved: raft crossing, boot water walking, and the bridge to Maze Island.
  3. Unciv modder/mappers are going to have a field day tearing apart Z2! Have at it! Share what you learned, this is a huge opportunity!

Feedback: Issues (dev-related) and Discussions (game-related) at the top of the page.

Before and After:

Take a closer look at the above and you'll see the hidden water paths using Force (a TerrainFeature) via customized ocean Hybrid tiles that makes the special features of the Hyrule overworld map possible!

Version notes

Player notes

Z2 is essentially in beta. While in active development, expect anything could change!

Modder notes

Feel free to review/reuse the json’s. There's tons of commentary, especially towards learning what Unciv can/can't do.

Unciv Z2 discord

z2's People

Contributors

hackedpassword avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

z2's Issues

Thrust promotions activating not triggering

Screenshot_20231107_101521

The Thrust promotion is granted automatically. It should wait to be triggered under the condition shown.

Priceless comment by yairm210 =) I'll take that as a compliment!

Solving the lonely road problem

Roads that are unfinished or have no adjacencies can eat up resources or otherwise be detrimental. Adding a road icon to the top of the tile could solve that.

Mockup:
image

Other incomplete improvements could be shown in the same way, then clustered when say an isolated road exists and an incomplete improvement awaits.

Unciv feature: recovery

Using negative values for providing recovery HP instead of damage could be simply addressed by changing the notification:
"Swordsman has recovered 10 HP"

No extra uniques needed.

Removing extra tile defaults to hexarealm tile

Not-quite-a-bug. More of an artifact.

When removing Z2 desert3.png, which was just a duplicate of Z2 desert.png, any use of ruleset Z2 including built in Zelda 2 map, 1 out of 3 desert tiles are using hexarealm desert.

This was not correctable by:

  • selecting Desert terrain and replacing the wrong sprite tiles
  • selecting different terrain, replacing, re-replacing with Desert
  • wiping out all occurrences of Desert, save the map, reload Unciv
  • deleting the built-in map Zelda 2, and moving Unciv64/maps/ elsewhere, reloading with no Z2 map files present
  • faking a tileset layer via jsons/TileSets/HexaRealm.json ("Desert3": ["Desert2"],)
  • specifying a blank fallback tileset instead of commenting the fallback line
  • creating a new map with no Z2 map presence
  • starting with vanilla unciv as a different ruleset, swapping to Z2
  • swapping rulesets and/or mods

No iteration of Desert3 in any json sans the fallback test.

Temporary solution - re-add Desert3.png to the Tileset.

Question is how in funk is Unciv retaining any reference to Desert3, unless, and most probable, the existence of core HexaRealm Desert3.png is implicit until superseded by the mod Tileset.

unciv: android/Images.Tilesets/TileSets/HexaRealm/Tiles/Desert3.png

So, if that's true, is there an exclusion attribute for sprites we're not trying to use? Thought maybe the fallback hack above might do the trick if that was possible.

image

Turning it up to ELEVEN - the TO-DO thread

  • Create promotion icons
  • Alias Unciv resources - > Z2 items (temp til recreated as native)
  • Differentiate Forage vs Farm
  • Evo Slog mud
  • Lancer upgrade path sucks, is chaotic
  • Formation promotion will Evo to say armored units
  • Fix sword unit and Villager Fight enemies!
  • Cavern resource allowances
  • City center canBeBuiltOn - core gameplay mechanic
  • Prehistoric Villager sprite
  • Z2-specific sprites shown in civopedia
  • Fix remove boulder icon

Mod dev notes

Road:
Sprite is (interpreted) to be rendered resized 2:3 ratio, horizontal, duplicated back-to-back, ex:
etirps|sprite left|right sprite
Below you see the hard left edge is designed to be reattached 180° to itself, while the right edge is the inward tile edge.

Pointing inward to hex face is the sprite right edge. Left sprite edge corresponds to tile edge. The left clone sprite is not mirrored, it is rotated 180°.

The above is the raw sprite. Below is how that sprite is rendered with three examples:

Screenshot_20231127_025220

Same for Railroad:

Screenshot_20231127_030033

Z2 bug and glitch master thread

As development of Z2 progresses, rather than rain reports into Unciv issues, most will be tracked here first for any of several possible reasons:

  • Consolidation
  • Summarization
  • Simmering - some issues may only need time to either work themselves out, or find a solution that doesn't require Unciv dev intervention
  • Analysis
  • Unreasonable or unsupported modding
  • Queued feature requests

This thread will serve to organize how Z2 reporting is approached.

Issues that can be directly attributed to Unciv or requests seeking dev input will otherwise be routed to Unciv issues. Routine feature requests should route to Unciv #3242.

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.