HomePortalFAQSearchMemberlistUsergroupsRegisterLog in
Meet the new KITO admins & hear their plans here.
You can use google search to find threads and posts here now. Example

Share | 
 

 Make severals NPC to spawn in default at a defined location

Go down 
AuthorMessage
Witacha
3D Modeler
3D Modeler
avatar

Game username : Witacha
Server : Land Of The Wolves(Owner)
Female Posts : 1245
Join date : 2012-06-15
Age : 19
Location : France

PostSubject: Make severals NPC to spawn in default at a defined location   Thu Sep 01, 2016 12:21 am

I tried to use roamarea to make spawn one npc on default

Yes i used the xor key
i would like to spawn 4 NPC on default on a defined place
but it doesn't want to spawn the first npc.
Back to top Go down
http://witacha-asukata.deviantart.com/
Hamilton

avatar

Game username : Hamilton
Server : Myatar Legends // Dragon's Den
Female Posts : 395
Join date : 2011-10-20
Age : 32
Location : everywhere

PostSubject: Re: Make severals NPC to spawn in default at a defined location   Thu Sep 01, 2016 12:35 am

Not sure if that "clearList=true" should be there...

also, you've got the npc set to spawn at a rate of 1.1. should be simply 1 as the spawn rate is in decimal-percentages, right?


Last edited by Hamilton on Thu Sep 01, 2016 12:39 am; edited 1 time in total (Reason for editing : ahahahaha! now i am the ninja!)
Back to top Go down
Hyper
Admin
avatar

Game username : Hyper
Server : Azoptaos
Male Posts : 535
Join date : 2014-02-09
Age : 20

PostSubject: Re: Make severals NPC to spawn in default at a defined location   Thu Sep 01, 2016 12:35 am

spawn rates go 0 - 1. yours is set at 1.1

o, dang it hamilton

________________________________
i can code you things
Back to top Go down
http://azoptaos.boards.net/
Witacha
3D Modeler
3D Modeler
avatar

Game username : Witacha
Server : Land Of The Wolves(Owner)
Female Posts : 1245
Join date : 2012-06-15
Age : 19
Location : France

PostSubject: Re: Make severals NPC to spawn in default at a defined location   Thu Sep 01, 2016 12:56 am

[Default]
limit=1
critterList=Dono NPC,1,true,0
roamArea=2539,243,1035,1,1,1

changed but still no spawn >:v
it should spawn here
Back to top Go down
http://witacha-asukata.deviantart.com/
Hamilton

avatar

Game username : Hamilton
Server : Myatar Legends // Dragon's Den
Female Posts : 395
Join date : 2011-10-20
Age : 32
Location : everywhere

PostSubject: Re: Make severals NPC to spawn in default at a defined location   Thu Sep 01, 2016 2:02 am

okay actually..theres code in the source that prevents default from spawning anything. i tried sticking something into my own default, nada.

i commented out (removed) this portion of code:

Code:
if(worldName!="Default")
      {
         limit = 3;
         //Draw Points for crittered maps
         list.push_back(WorldCritter("Draw Point",0.5));
      }
      else return true;

which immediately allowed the critter to spawn in default. i do not know the effect it has on other maps, though....
Back to top Go down
Witacha
3D Modeler
3D Modeler
avatar

Game username : Witacha
Server : Land Of The Wolves(Owner)
Female Posts : 1245
Join date : 2012-06-15
Age : 19
Location : France

PostSubject: Re: Make severals NPC to spawn in default at a defined location   Thu Sep 01, 2016 10:35 am

thank you didn't know that default wasn't okay with spamming critters xD i use another map !
Solved !!
Back to top Go down
http://witacha-asukata.deviantart.com/
Witacha
3D Modeler
3D Modeler
avatar

Game username : Witacha
Server : Land Of The Wolves(Owner)
Female Posts : 1245
Join date : 2012-06-15
Age : 19
Location : France

PostSubject: Re: Make severals NPC to spawn in default at a defined location   Thu Sep 01, 2016 10:51 am

nvm
Back to top Go down
http://witacha-asukata.deviantart.com/
Sponsored content




PostSubject: Re: Make severals NPC to spawn in default at a defined location   

Back to top Go down
 
Make severals NPC to spawn in default at a defined location
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Keeping I.T. Open :: SUPPORT :: Support-
Jump to: