Is it possible to make "wandering monsters"??
Moderator: Event DM
-
- Sage
- Posts: 2654
- Joined: Tue Feb 15, 2005 7:11 pm
- Location: Fortress of untamed Fury in Ysgard. (GMT +1)
Is it possible to make "wandering monsters"??
I've been trying to peek some more at the DM-client, and came to wonder if there's means of making "wandering monsters". A term some may have known/used in their PnP days (and maybe still do).
I was thinking along of these two possibilities.:
1) As I've seen some tavern maids "wander" in strange "patterns", that could be one to use, to create more randomness in dungeons/encounters.
But could this be possible with a small group moving together? (Some small patrol for example)
2) I thought about if it was possible to make an area with a %-age chance for some spawn to appear, and at random what kind/strength of the spawn too. - Again to add to the unpredictability of a dungeon/encounter.
Does anyone bright out there know how to do either, or both of the above?
Thanks.
I was thinking along of these two possibilities.:
1) As I've seen some tavern maids "wander" in strange "patterns", that could be one to use, to create more randomness in dungeons/encounters.
But could this be possible with a small group moving together? (Some small patrol for example)
2) I thought about if it was possible to make an area with a %-age chance for some spawn to appear, and at random what kind/strength of the spawn too. - Again to add to the unpredictability of a dungeon/encounter.
Does anyone bright out there know how to do either, or both of the above?
Thanks.
Whisper
High Fury Templar
Champion of Ra-Ghul
Master of the AKN
Quartermaster of AAAA
Webninjas are stealthy. Be careful.
Member of the Ghostie fan club
Grunt wrote:I'll third this for fuck's sake. Who gives a shit about sanity.
- Talwin Hawkins
- Team Member; Retired with Honors
- Posts: 3980
- Joined: Fri Aug 27, 2004 7:56 pm
- Timezone: GMT+1
- Location: London - England GMT
For the wandering maid thing that is easy. All you need is waypoints. They are invisble flags that the NPCs follow in whatever order you give them. AFAIK this cannot be done in the DM client, though someone smarter can confirm this.
As for the %chances, im almost certain that something like this can be entered in the onarea event of the trigger. Again someone smarter can explain this further.
As for the %chances, im almost certain that something like this can be entered in the onarea event of the trigger. Again someone smarter can explain this further.
- Final Shinryuu
- Sage
- Posts: 2060
- Joined: Thu Jun 24, 2004 3:20 am
- Location: http://hades.mercuric.net/
- Cassandros
- Scholar
- Posts: 1186
- Joined: Sun Jun 26, 2005 2:32 pm
- Timezone: +11
- Location: Australia
There is a variable you can apply to creatures in the Toolset that makes them wander around, look bored/tired etc but they will not wander into other areas.
Currently Playing:
- Kalgar Darthvord
- Kalum Brekarian
- Kalgar Darthvord
- Kalum Brekarian
-
- Sage
- Posts: 2654
- Joined: Tue Feb 15, 2005 7:11 pm
- Location: Fortress of untamed Fury in Ysgard. (GMT +1)
Sounds good. Now all I have to figure is how to get that dun.
But say in option 2, I can choose to have several variables to make the following:
Trigger area with 20% to spawn a bunch of critters;
01-10 Kobold swat team
11-25 Gnoll fanatics
26-50 Frenzied maidens of Dre'ana
51-75 ...
Can it be dun like that, or how?
But say in option 2, I can choose to have several variables to make the following:
Trigger area with 20% to spawn a bunch of critters;
01-10 Kobold swat team
11-25 Gnoll fanatics
26-50 Frenzied maidens of Dre'ana
51-75 ...
Can it be dun like that, or how?
Whisper
High Fury Templar
Champion of Ra-Ghul
Master of the AKN
Quartermaster of AAAA
Webninjas are stealthy. Be careful.
Member of the Ghostie fan club
Grunt wrote:I'll third this for fuck's sake. Who gives a shit about sanity.
- Horred the Plague
- Apprentice Scholar
- Posts: 500
- Joined: Thu Sep 08, 2005 5:21 am
This 'can' be done, and it does not even take an "encounter trigger" to do so. A system could be set up to look for local variables set on the trigger, with a universal script to spawn them. Put this script in the trigger's OnEnter event slot. This type of system could be set up a number of ways, depending on preferrences.AyounTheDark wrote:Sounds good. Now all I have to figure is how to get that dun.
But say in option 2, I can choose to have several variables to make the following:
Trigger area with 20% to spawn a bunch of critters;
01-10 Kobold swat team
11-25 Gnoll fanatics
26-50 Frenzied maidens of Dre'ana
51-75 ...
Can it be dun like that, or how?
If dealing with a specific area, you could even choose the location that each spawning creature appears at, and/or when they appear. It has to be done on a per case basis, and would require a little more scripting...plus some planning to pick the right locales. This is definitely the 'neatest' way to set them up, but it requires more work than a generic system would.
- Rhissaerk Jalesh
- Team Member; Retired with Honors
- Posts: 1820
- Joined: Fri Aug 06, 2004 4:00 am
Wandering monsters supposedly generate lag. I could be wrong on that but it's why I've never used any. Even when I really wanted too...*sniffs*
I had a random encounter system but it also, sadly, generated lag, so I had to scrap it. There is a way to do one that DOESN'T generate lag though, but it's beyond my meager crappy coding skills. Infact, so is the random encounter system I HAVE, someone else coded it FOR me. *chuckles*
If lag isn't an issue for you though, I think I still have that random encounter code lying around here somewhere, I could send it to you.
I had a random encounter system but it also, sadly, generated lag, so I had to scrap it. There is a way to do one that DOESN'T generate lag though, but it's beyond my meager crappy coding skills. Infact, so is the random encounter system I HAVE, someone else coded it FOR me. *chuckles*
If lag isn't an issue for you though, I think I still have that random encounter code lying around here somewhere, I could send it to you.
Last edited by Rhissaerk Jalesh on Tue May 01, 2007 11:06 pm, edited 1 time in total.
-
- Sage
- Posts: 2654
- Joined: Tue Feb 15, 2005 7:11 pm
- Location: Fortress of untamed Fury in Ysgard. (GMT +1)
I'd appreciate it, at least to puzzle with it and test it some.Rhissaerk Jalesh wrote:If lag isn't an issue for you though, I think I still have that random encounter code lying around here somewhere, I could send it to you.

Whisper
High Fury Templar
Champion of Ra-Ghul
Master of the AKN
Quartermaster of AAAA
Webninjas are stealthy. Be careful.
Member of the Ghostie fan club
Grunt wrote:I'll third this for fuck's sake. Who gives a shit about sanity.
- mhogar
- Power Crafter
- Posts: 2969
- Joined: Sat Feb 19, 2005 6:33 pm
- Timezone: GMT +1
- Location: In HEAL storage room
let me guess:

Some day I may start coding ....
Code: Select all
int nValue = Random(100) + 1; /* creates a random number between 1 and 100 */
string sCreature;
location lLoc;
if (nValue == 100){
/* create an encounter with Whisper the Snake */
sCreature = "WHISPERSNAKE";
lLoc = GetLocation(OBJECT_SELF);
ActionDoCommand(ActionCreate(sCreature, lLoc));
}
/* and more if's */

Some day I may start coding ....