Welcome
Welcome to the Official<strong>World of Phaos</strong>Forums.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining the World of Phaos community for free, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, <a href="/profile.php?mode=register">join the World of Phaos community today</a>!

Choose where spawn the NPCs

Updated or created a new script or part of WoP and you think the world should know, post it here and you may well see it in the next release of Phaos.
(Remember to keep all code clean and readable)

Moderators: zeke, Aradan

Choose where spawn the NPCs

Postby Amrac » Wed Aug 13, 2008 1:44 am

Hi,
When I test the game, the first time. It was really hard because although my character was a noob, all monster around the town where I started were really strong...

And I read in the script that it will be good to implant something about the location:
//TODO: add generator regions/locations feature to phaos


So, I had make* some little change to the respawn of characters, and i create a little script (derive of map-to-image.php) where you can see all mobs and player on the map. You can choose a mob, is level and where he should spawn on the map. I think its can be useful to place the easiest monster near the beginning town, and the hardest monster in the dungean (or far of the town of the beginning).

So, if somebody want this script, i can put it on the forum.

I had make*: Can we say that? "J'ai fait", its a past, I should say "I had made" no? :/
Amrac
Level 1
 
Posts: 19
Joined: Thu Aug 07, 2008 11:53 pm

Postby Altfuture » Thu Aug 14, 2008 10:15 pm

I want, I want. :D

Tim
Altfuture
Level 2
 
Posts: 27
Joined: Fri Feb 29, 2008 9:00 pm

Postby Rebell » Tue Aug 19, 2008 1:17 pm

I want to try out :wink:
... visit my RPG WEBSITE - but its still not finished !
User avatar
Rebell
Level 3
 
Posts: 62
Joined: Sat Aug 09, 2008 4:42 pm
Location: Germany

Postby Altfuture » Sat Aug 23, 2008 6:39 am

The only easy way I can do it is in a cron job that gives me a rand of the spaces that the creatures exisist and then i rand the creatures and then rand insert into phaos characters.
Altfuture
Level 2
 
Posts: 27
Joined: Fri Feb 29, 2008 9:00 pm

Postby Aradan » Wed Aug 27, 2008 3:55 am

Hi Amrac,
If you could post the script on these forums that would be great, as it maybe a feature that we can include in a release of WoP.

:)

Many thanks,
Cheers,
-Aradan
World of Phaos Developer
Aradan
WoP Forum Admin
 
Posts: 57
Joined: Thu Sep 27, 2007 12:59 am
Location: UK

Re: Choose where spawn the NPCs

Postby Amrac » Mon Sep 01, 2008 12:55 pm

I will try to post it tonight ;)
Amrac
Level 1
 
Posts: 19
Joined: Thu Aug 07, 2008 11:53 pm

Re: Choose where spawn the NPCs

Postby kentec » Tue Jun 16, 2009 7:59 pm

Well from what I can see of the date of this I guess that your not be posting it here then.. LOL
Shame because its sounds a nice way of doing that spawning prob.
Anyone else ever get this sorted or have posted up a better way.

Oh well no big deal,Oh By the way Ive only just install the thing and am looking into ways to get more from it.Few changes and such..thats how i ended up here.
Ive got it running on its own server for now till its ready to move onto our games/forum.
I like it very much but a few things i need to sort..
I am one of those that knows enough to mess things up but sometimes get lucky...HA!
Anyway I'll leave you for now and see what else i can see on this little place..
cheers lads
Image
User avatar
kentec
Level 1
 
Posts: 1
Joined: Fri Jun 12, 2009 8:54 am

Re: Choose where spawn the NPCs

Postby mccragge » Wed Jun 17, 2009 2:17 am

Well it seems we are all waiting for some one to come up with a fix of where monsters spawn. Right now it is just rediculous having all the monsters spawn randomly thoughout the maps. I have tried assigning monsters to specific map locations, but as of yet they have not spawned.

Well, If I figure this out I will definitely post it.

And welcome to the forums Kentec, we need more people posting here and helping each other out. The internet is lean on PBBG coding tutorials and other stuff relating to this genre. You should post a link to your game in the Mods section with the rest of ours, would love to see what you have done with your version.

McCragge
mccragge
Level 4
 
Posts: 82
Joined: Mon Nov 10, 2008 5:46 am


Return to Scripts

Who is online

Users browsing this forum: No registered users and 0 guests

cron