GOG.com
Donate to Codex
Putting the 'role' back in role-playing games since 2002.
Donate to Codex
Good Old Games
u7buy.com

The Broken Hourglass - Where my enemies at?

Click here and disable ads!

The Broken Hourglass - Where my enemies at?

Development Info - posted by Role-Player on Mon 28 May 2007, 17:17:13

Tags: Planewalker Games; The Broken Hourglass

This week we follow Jason Compton from Planewalker Games as he shows us the magical code behind random encounters in The Broken Hourglass:

WeiNGINE can generate and place creatures in numerous ways. We have already discussed the placement of static creatures in an earlier installment of our engine tutorials. Any CREATURETEMPLATE may also be deployed at will, any number of times, using the _create_creature command. It is possible to customize a creature as it is generated with selective attribute upgrades, but a more convenient and automated way to do this is the _encounter statement.

_encounter provides an extremely powerful and flexible system to generate anything from random, "wandering monster"-type encounters, to heavily customized variations on established creature types. As such, it can be useful both for incidental combat situations, as well as for planned, "fixed-piece" encounters which simply could benefit from scaling or on-the-fly flexibility. _encounter can create one or more instances of a creature, from one or two CREATURETEMPLATEs. This means _encounter can be used to build a random encounter of "pick one of these six monsters, make four of them, and send them after the party", or to build a "Unique 'captain' and pack of soldiers" fight.​
Does this mean we can generate tentacle monsters everytime a female character is in the party, and dictate how hard it will be fighting off those tentacles?

Thanks, jcompton!

There are 1 comments on The Broken Hourglass - Where my enemies at?

Site hosted by Sorcerer's Place Link us!
Codex definition, a book manuscript.
eXTReMe Tracker
rpgcodex.net RSS Feed
This page was created in 0.049034118652344 seconds