User Tag List

Results 1 to 5 of 5

Thread: Encounters and MonsterGroups

  1. #1
    OBEY GOVERNMENT GOD ZC Developer
    Gleeok's Avatar
    Join Date
    Apr 2007
    Posts
    4,780
    Mentioned
    257 Post(s)
    Tagged
    10 Thread(s)
    vBActivity - Stats
    Points
    12,693
    Level
    32
    vBActivity - Bars
    Lv. Percent
    97.85%

    Encounters and MonsterGroups

    We've got encounter and monster group data now! Fuck yeah.

    Monster Groups are stored as -
    -monster
    -min
    -max

    An entire Monster Party (or Troop) is stored as a list of monster groups.

    An Encounter is a collection of monster troops each with a -
    -encounter rate
    -max rate
    (rates are almost like ratios, eg; 3 : 64, however they can be whatever you want)

    Finally an Encounter Region is an abstract idea that inside this region are any number of possible encounters. These are generally a property on a tile, or map, where you'd expect it to tell you what monsters live here.

    Here's how it looks so far:
    Code:
        <Troop name="Minotaur(2-4)">
            <Monster name="Minotaur" min="2" max="4" />
        </Troop>
        <Troop name="Piranha(0-2),Crocodile(0-2),Ochu(1),Hydra(0-1)">
            <Monster name="Piranha" min="0" max="2" />
            <Monster name="Crocodile" min="0" max="2" />
            <Monster name="Ochu" min="1" max="1" />
            <Monster name="Hydra" min="0" max="1" />
        </Troop>
        <Troop name="Piranha(2-4),Crocodile(0-2)">
            <Monster name="Piranha" min="2" max="4" />
            <Monster name="Crocodile" min="0" max="2" />
        </Troop>
        <Troop name="Tarantula(1-2),Black Widow(0-2),Green Slime(0-1),Gray Ooze(0-1)">
            <Monster name="Tarantula" min="1" max="2" />
            <Monster name="Black Widow" min="0" max="2" />
            <Monster name="Green Slime" min="0" max="1" />
            <Monster name="Gray Ooze" min="0" max="1" />
        </Troop>
    Code:
        <Region name="Temple of Fiends">
            <Encounter troop_index="2" rate="12" max_rate="64" />
            <Encounter troop_index="10" rate="12" max_rate="64" />
            <Encounter troop_index="8" rate="12" max_rate="64" />
            <Encounter troop_index="16" rate="12" max_rate="64" />
            <Encounter troop_index="14" rate="6" max_rate="64" />
            <Encounter troop_index="7" rate="6" max_rate="64" />
            <Encounter troop_index="4" rate="3" max_rate="64" />
            <Encounter troop_index="29" rate="1" max_rate="64" />
        </Region>
    The entire compressed xml data for these is just under 6 kb so here they are for great justice.
    Last edited by Gleeok; 12-30-2012 at 10:01 PM.
    Join the Gleeok Book Club - It's easy, all you have to do is read...

    "Protocols of the Learned Elders of Zion" (British Royal Institute, 1906)
    None Dare Call It Conspiracy -Gary Allen
    Deliberate Dumbing Down of America -Charlotte Iserbyt
    Morals and Dogma -Albert Pike
    Bloodlines Of The Illuminati -Fritz Springmeier
    The Rape Of Justice -Eustace Mullins
    The World Order, A Study in the Hegemony of Parasitism -Eustace Mullins
    The Most Dangerous Superstition -Larken Rose
    "War is a Racket" �Major General Smedley Butler

    The WWI Conspiracy: Part 1 - Part 2 - Part 3 "A New World Order"

    �The modern theory of the perpetuation of debt has drenched the earth with blood, and crushed its inhabitants under burdens ever accumulating.� �Thomas Jefferson
    �It is well enough that the people of the nation do not understand our banking and monetary system for, if they did, I believe there would be a revolution before tomorrow morning.� �Henry Ford
    �Man will ultimately be governed by God or by tyrants.� �Benjamin Franklin

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

  2. #2
    Cor Blimey! CJC's Avatar
    Join Date
    Dec 2002
    Location
    Fading into the darkness
    Age
    31
    Posts
    1,398
    Mentioned
    150 Post(s)
    Tagged
    6 Thread(s)
    vBActivity - Stats
    Points
    6,462
    Level
    24
    vBActivity - Bars
    Lv. Percent
    74.99%
    Am I under the correct assumption that the sum of the region's encounter ratios must come to 1:1? Also, would it be better or worse if these ratios were reduced to lowest terms in a creator's script?

  3. #3
    OBEY GOVERNMENT GOD ZC Developer
    Gleeok's Avatar
    Join Date
    Apr 2007
    Posts
    4,780
    Mentioned
    257 Post(s)
    Tagged
    10 Thread(s)
    vBActivity - Stats
    Points
    12,693
    Level
    32
    vBActivity - Bars
    Lv. Percent
    97.85%
    Nope.The rates could be anything I guess... though I guess some math is in order then. :googly:

    I'm assuming a base encounter probability is a property of a tile, or map, or map tile, ...or property layer of a map, and then when you see that it's time to have an encounter you then figure out what to fight from that list. (I might need to look up how it's handled in FF though.)

    I'm still trying to gather the game data and be able to load it, then be able to use it scripts. When that's done I think I will open all scripts and mechanics up to the community so they can be scrutinized. lol.
    Join the Gleeok Book Club - It's easy, all you have to do is read...

    "Protocols of the Learned Elders of Zion" (British Royal Institute, 1906)
    None Dare Call It Conspiracy -Gary Allen
    Deliberate Dumbing Down of America -Charlotte Iserbyt
    Morals and Dogma -Albert Pike
    Bloodlines Of The Illuminati -Fritz Springmeier
    The Rape Of Justice -Eustace Mullins
    The World Order, A Study in the Hegemony of Parasitism -Eustace Mullins
    The Most Dangerous Superstition -Larken Rose
    "War is a Racket" �Major General Smedley Butler

    The WWI Conspiracy: Part 1 - Part 2 - Part 3 "A New World Order"

    �The modern theory of the perpetuation of debt has drenched the earth with blood, and crushed its inhabitants under burdens ever accumulating.� �Thomas Jefferson
    �It is well enough that the people of the nation do not understand our banking and monetary system for, if they did, I believe there would be a revolution before tomorrow morning.� �Henry Ford
    �Man will ultimately be governed by God or by tyrants.� �Benjamin Franklin

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

  4. #4
    OBEY GOVERNMENT GOD ZC Developer
    Gleeok's Avatar
    Join Date
    Apr 2007
    Posts
    4,780
    Mentioned
    257 Post(s)
    Tagged
    10 Thread(s)
    vBActivity - Stats
    Points
    12,693
    Level
    32
    vBActivity - Bars
    Lv. Percent
    97.85%
    Got the monster list done. woot. :)

    All I need now for enemies are all the monster sprites in a texture atlas with a list of rectangles which correspond to the monster id so I can add that info to the xml document... :\
    Attached Files Attached Files
    Join the Gleeok Book Club - It's easy, all you have to do is read...

    "Protocols of the Learned Elders of Zion" (British Royal Institute, 1906)
    None Dare Call It Conspiracy -Gary Allen
    Deliberate Dumbing Down of America -Charlotte Iserbyt
    Morals and Dogma -Albert Pike
    Bloodlines Of The Illuminati -Fritz Springmeier
    The Rape Of Justice -Eustace Mullins
    The World Order, A Study in the Hegemony of Parasitism -Eustace Mullins
    The Most Dangerous Superstition -Larken Rose
    "War is a Racket" �Major General Smedley Butler

    The WWI Conspiracy: Part 1 - Part 2 - Part 3 "A New World Order"

    �The modern theory of the perpetuation of debt has drenched the earth with blood, and crushed its inhabitants under burdens ever accumulating.� �Thomas Jefferson
    �It is well enough that the people of the nation do not understand our banking and monetary system for, if they did, I believe there would be a revolution before tomorrow morning.� �Henry Ford
    �Man will ultimately be governed by God or by tyrants.� �Benjamin Franklin

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

  5. #5
    OBEY GOVERNMENT GOD ZC Developer
    Gleeok's Avatar
    Join Date
    Apr 2007
    Posts
    4,780
    Mentioned
    257 Post(s)
    Tagged
    10 Thread(s)
    vBActivity - Stats
    Points
    12,693
    Level
    32
    vBActivity - Bars
    Lv. Percent
    97.85%


    All 244 formations and 128 monsters can now be loaded/saved/fidgeted with, n' stuff. Here's the Ogre-Creep combination for you nostalgic types.
    Join the Gleeok Book Club - It's easy, all you have to do is read...

    "Protocols of the Learned Elders of Zion" (British Royal Institute, 1906)
    None Dare Call It Conspiracy -Gary Allen
    Deliberate Dumbing Down of America -Charlotte Iserbyt
    Morals and Dogma -Albert Pike
    Bloodlines Of The Illuminati -Fritz Springmeier
    The Rape Of Justice -Eustace Mullins
    The World Order, A Study in the Hegemony of Parasitism -Eustace Mullins
    The Most Dangerous Superstition -Larken Rose
    "War is a Racket" �Major General Smedley Butler

    The WWI Conspiracy: Part 1 - Part 2 - Part 3 "A New World Order"

    �The modern theory of the perpetuation of debt has drenched the earth with blood, and crushed its inhabitants under burdens ever accumulating.� �Thomas Jefferson
    �It is well enough that the people of the nation do not understand our banking and monetary system for, if they did, I believe there would be a revolution before tomorrow morning.� �Henry Ford
    �Man will ultimately be governed by God or by tyrants.� �Benjamin Franklin

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

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