User Tag List

Results 1 to 6 of 6

Thread: Modules in ZQuest

  1. #1
    Administrator DarkDragon's Avatar
    Join Date
    Oct 2001
    Posts
    6,222
    Mentioned
    64 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    10,754
    Level
    30
    vBActivity - Bars
    Lv. Percent
    75.43%
    Daily Activity
    16.95%
    Weekly Activity
    14.06%
    Monthly Activity
    36.32%

    Modules in ZQuest

    Something I've been working on the past few weeks is cleaning up the code related to the .qst file data structures; as part of that I've taken steps to fix one annoying aspect of quest development, which is the inability to export only some enemies, items, etc: you currently have to export everything or nothing, whereas ideally, you could download from the QDB a self-contained module containing one new type of enemy, a different module containing new items, etc. and easily integrate them all into your quest.

    zq1.PNG
    zq2.PNG
    zq3.PNG

    This will be possible in the next (post 2.50) version of ZC. Each quest can contain multiple modules, each of which is a collection of independent assets like enemies and items (currently enemies, items, and sprites are implemented; I will do combos next.) You can import one set of enemies, for instance, and it won't touch any of the existing enemies in your quest. Likewise you can create a module of a small handful of custom enemies and export them for others to use.

    The CORE module is the one that comes with a default blank quest; the other module is one I created and populated with a few quick enemies. You can add new enemies etc to any module, and copy/paste between modules, etc as expected. Oh and incidentally the hard-coded limits on the number of enemies, items, and sprites is gone, which I know was hindering some people.

    Any place in the GUI where you need to specify an enemy, item, or sprite, you now specify the module and the item (e.g.) within that module (see screenshots).

    There are however a few issues still needing to be worked out:
    - there are several hard-coded sprites, items, and enemies still used by ZC (the fires that appear in guy rooms, the selector icon in the active subscreen, etc). Hopefully this number dwindles over time, but for now if you want to change these you have to modify the appropriate entries in the CORE module.
    - scripts currently can only access stuff in the CORE module, but eventually there will be a ZScript command for choosing the module when loading itemdata etc.
    - although all of the above sounds like a simple change, implementing it required cleaning up a lot of cruft in the ZC and ZQ codebase. There will be bugs at first until all of the kinks are ironed out, but this cleanup is a necessary evil to make adding more new features to the ZC code manageable (including, eventually, scriptable enemies and weapons).

  2. #2
    Developer ZC Developer
    Gleeok's Avatar
    Join Date
    Apr 2007
    Posts
    4,694
    Mentioned
    238 Post(s)
    Tagged
    10 Thread(s)
    vBActivity - Stats
    Points
    12,356
    Level
    32
    vBActivity - Bars
    Lv. Percent
    60.41%
    Daily Activity
    101.69%
    Weekly Activity
    60.14%
    Monthly Activity
    47.07%
    Great stuff!!!

    +1
    This post contains the official Gleeok™ seal of approval. Look for these and other posts in an area near you.

  3. #3
    ZC Contirbutor ZoriaRPG's Avatar
    Join Date
    Oct 2006
    Location
    Prydon Academy
    Posts
    968
    Mentioned
    90 Post(s)
    Tagged
    1 Thread(s)
    vBActivity - Stats
    Points
    3,438
    Level
    18
    vBActivity - Bars
    Lv. Percent
    82.76%
    Daily Activity
    237.29%
    Weekly Activity
    125.61%
    Monthly Activity
    80.46%
    So, this is about the same concept that I discussed for the .dat files; right?

    Some things that should be forwarded:

    Quest Numbering, and Name Entry Skips; such as ZELDA skipping to quest ID 2. These should be a module setting. The quest filename name for each quest in series, and any special rules (Quest Nmber 1 -> 2 unless 29 deaths ->4) and so forth.

    Most defdata should be in the module.

    Fonts, obviously, need to be in there. I still want to add alfont.h though, so we can discuss that later.

    I will try to come up with a list of assets that should be in each. I'm not certain why a 'CORE' module is needed though. Having one module per assets pack that can be treated as a core, and tack-on bits as modules seems logical, too; and would ease change-outs.


    Featured Scripts & Headers: RPG.zh ( v. a0.97.1 ) ( RPG.zh Thread ) | Zelda 3 Thief's Town Treasure Chest Minigame (ffc) | Bobomb (enemy)
    ZScript & ZC-Related Pastebin | Quests and ZScript Repository | ZC Dev & Betas | Latest ZC 2.54 Beta | YouTube Channel
    All of the code that I create and publish here is free for use, modification and distribution under the GPL v2.0, or v3.0 where applicable..

  4. #4
    Administrator DarkDragon's Avatar
    Join Date
    Oct 2001
    Posts
    6,222
    Mentioned
    64 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    10,754
    Level
    30
    vBActivity - Bars
    Lv. Percent
    75.43%
    Daily Activity
    16.95%
    Weekly Activity
    14.06%
    Monthly Activity
    36.32%
    Not quite. The modules I'm talking about are things that make sense to have several sets of within a quest: enemies, items, combos, tiles. Things like quest rules, name of the quest, and font are exactly what does not go in a module since it never makes sense to load more than one of these things per quest.

  5. #5
    Keese Avataro's Avatar
    Join Date
    Oct 2010
    Posts
    51
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    vBActivity - Stats
    Points
    454
    Level
    7
    vBActivity - Bars
    Lv. Percent
    69.21%
    Daily Activity
    0%
    Weekly Activity
    1.94%
    Monthly Activity
    4.64%
    Nice! It's not exactly something I would've asked for but this would be great to have. Might be good for exporting enemies from the Enemy of the Month contest? If they're enemy editor enemies.
    Beware the power of GANON! Hahaha

  6. #6
    Administrator DarkDragon's Avatar
    Join Date
    Oct 2001
    Posts
    6,222
    Mentioned
    64 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    10,754
    Level
    30
    vBActivity - Bars
    Lv. Percent
    75.43%
    Daily Activity
    16.95%
    Weekly Activity
    14.06%
    Monthly Activity
    36.32%
    Sure. My eventual goal is that you would be able to export a custom enemy or boss complete with its tiles and scripts and any quest author would be able to easily import and use it.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Armageddon Games is a game development group founded in 1997. We are extremely passionate about our work and our inspirations are mostly drawn from games of the 8-bit and 16-bit era.
Social