• Add Review
  • Subscribe
  • Nominate
  • Submit Media
  • RSS

Natural Habitat

It's still slow going due to all the other work I have to do, but steady. I've almost completed the Habitat system so enemies can appear as random encounters.


<HABITAT> Random encounter (choosing between 2 and 5 entries)
<HABITAT> Filtering 3 candidates by habitat...
<HABITAT> Adding 'Snowy'...
<HABITAT> Picking 2 from 1 candidates...
<BATTLE> Started new encounter list
<BATTLE> Prepared 3x of enemy ID 3 for next battle (1 total)
<HABITAT> Chose 'Snowy' for this encounter
<BATTLE> Prepared 1x of enemy ID 4 for next battle (2 total)
<HABITAT> Added cohort 'Angry'
<BATTLE> Prepared 3x of enemy ID 3 for next battle (3 total)
<HABITAT> Chose 'Snowy' for this encounter
<BATTLE> Starting combat in situation 0,0 with result in variable -1
<BATTLE> Using terrain ID 6
<BATTLE> Snowy has joined the fight (1)
<BATTLE> Snowy has joined the fight (2)
<BATTLE> Snowy has joined the fight (3)
<BATTLE> Angry has joined the fight (4)
<BATTLE> Snowy has joined the fight (5)
<BATTLE> Snowy has joined the fight (6)
<BATTLE> Snowy has joined the fight (7)
<BATTLE> 7 enemies have entered the battle
<BATTLE> Sarah has joined the fight (8)
<BATTLE> Zack has joined the fight (9)
<BATTLE> 2 players have entered the battle




In the above system is a character enemy named "Snowy" where 1 to 3 of them could appear. A list is made of enemy encounters set for the current map that match the current terrain (here "Snowy" only appears in the snow..) The encounter rate set under project settings will pick 2 to 5 from the list.

"Angry" has a 50% chance of appearing with each pack of "Snowy" (if 3 "Snowy" are added, it is only one 50% chance, not three individual ones).

The battle layout is Grid right now for testing, but the usual styles will be added after I'm sure the battles themselves working.

The last feature is to handle rarity (to make an enemy more rare in appearance than others in a map's encounter list). After that it's the enemy AI and then the default battle system is complete.

Posts

Pages: 1
Oh yehaaaa, battle system in action...
i am still waiting stronger for this to be completed, but i suppose this is taking forever.
Pages: 1