User Tag List

Results 1 to 3 of 3

Thread: NPC->Extend is glitchy

  1. #1
    Gel
    Join Date
    Dec 2012
    Posts
    18
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    480
    Level
    7
    vBActivity - Bars
    Lv. Percent
    90%

    NPC->Extend is glitchy

    Ok. This bug causes many debates in PureZC and forces many questmakers to learn Ghost.zh.

    Remember NPC->Extend=3? This setting, theoretically, allows setting enemy size trough npc->Tilewidth and npc->Tileheight. The problem, though, is the fact that all frames of animation (including all directions) must fit in one row of tiles (20 tiles). Otherwise the enemy uses seemingly random tiles in tile sheet with no pattern to figure out. If animation option includes additional frames (like Firing) those frames will also be random and glitchy.

    http://www.mediafire.com/download/19...u/101tombs.qst

    Any way to fix this? As Ghost.zh can slow down ZC on old machines.

  2. #2
    Username Kaiser SUCCESSOR's Avatar
    Join Date
    Jul 2000
    Location
    Winning.
    Age
    37
    Posts
    4,436
    Mentioned
    152 Post(s)
    Tagged
    7 Thread(s)
    vBActivity - Stats
    Points
    10,560
    Level
    30
    vBActivity - Bars
    Lv. Percent
    51.7%
    Does it not adjust properly for a new line? If your using 2 tile height it ends up 1 row too high?I doubt it is random. It could try to adjust for both height and width and end up too low. Then again there are any number of things going wrong that I can't guess because I have no idea how it is coded.

    ghost.zh shouldnt slow down any non-ancient PC if it is used properly. I had a 10 year old laptop that barely ran ZC and ZQ at the same time. Having anything going on in the background could slow ZC to annoying degrees, But quests that used ghost.zh never once caused an issue with speed. If there is a significant slow down you might want to check what is going on with your code. Most people don't use 10 year old low-end laptops.

  3. #3
    Gel
    Join Date
    Dec 2012
    Posts
    18
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    480
    Level
    7
    vBActivity - Bars
    Lv. Percent
    90%
    Does it not adjust properly for a new line? If your using 2 tile height it ends up 1 row too high?I doubt it is random. It could try to adjust for both height and width and end up too low. Then again there are any number of things going wrong that I can't guess because I have no idea how it is coded.
    It only fails to adjust to new line. Even if I use 10*10-sized enemy, as long as all animation frames in set are placed in one row, the function works fine.

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