HomePortalFAQSearchMemberlistUsergroupsRegisterLog in
Making threads to link to banned members content grants an automatic ban
Meet the new KITO admins & hear their plans here.
You can use google search to find threads and posts here now. Example

Share | 
 

 Critter Spawns

View previous topic View next topic Go down 
AuthorMessage
kazui

avatar

Posts : 10
Join date : 2016-04-08

PostSubject: Critter Spawns   Wed Oct 11, 2017 3:11 pm

Here I am, once again. I'm so sorry for spamming here..! I keep bumping into new questions all the time, so this is the only way I know of if I want to get an answer.

Please do excuse me if there's already an answer for this somewhere here, I am very bad at finding things in general. Yes, I tried searching.

However, my question is, is it possible to move for example Playground's critter spawn information to cd2? I doubt it's as easy as copy-pasting the information from the .cfg file to the unencrypted cd2 file and then encrypting it again.

Again, please do excuse me for constantly asking stuff. Also sorry for my bad explanation, I do hope someone understands what I mean.

Thank you again!

Back to top Go down
GlaciaTheWolf
®
®
avatar

Game username : Glacia, GlaciaIceWolf, GlaciaTheWolf
Server : Canis lupus (Owner/creator) DD (member)
Female Posts : 977
Join date : 2013-12-09
Age : 21
Location : Ohio

PostSubject: Re: Critter Spawns   Wed Oct 11, 2017 4:52 pm

This i imagine would have to be done in the source but im not sure where or how.
Back to top Go down
Hamilton

avatar

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

PostSubject: Re: Critter Spawns   Wed Oct 11, 2017 5:43 pm

it is pretty easy, actually. not exactly copy and paste, but nearly.

if you look in cd2 you find critters set up based on maps they are in. such as


[Marsh]
limit = 40
critterList=Hawk,0.8
critterList=Dire Hawk,0.1
critterList=Snake,0.05
critterList=Python,0.005
critterList=Frog,0.05
critterList=Great Hawk,0.0005

[Marsh] being the map you want the critters in. So adding a new section with the header [Playground] starts you off.

limit = 40 is the exact same thing as [Limit] inside playgroundcritters. In your new section, make it match as limit = 80

the rest is the critters, obviously. it lists critter name first, followed by the spawnrate. in playgroundcritters, these are broken up into Type and Rate under a header of [Critter]. Simply put them into your new section the same way that the other maps show.

[Critter]
Type=Red Panda
Rate=0.1

becomes

critterList=Red Panda,0.1

do this for the rest of the critters and then save, convert, and drop back into your game. you should now be able to delete/remove playgroundcritters and still have the critters spawn in the map. no source code edits required Wink
Back to top Go down
kazui

avatar

Posts : 10
Join date : 2016-04-08

PostSubject: Re: Critter Spawns   Wed Oct 11, 2017 5:50 pm

Hamilton wrote:
it is pretty easy, actually. not exactly copy and paste, but nearly.

if you look in cd2 you find critters set up based on maps they are in. such as


[Marsh]
limit = 40
critterList=Hawk,0.8
critterList=Dire Hawk,0.1
critterList=Snake,0.05
critterList=Python,0.005
critterList=Frog,0.05
critterList=Great Hawk,0.0005

[Marsh] being the map you want the critters in. So adding a new section with the header [Playground] starts you off.

limit = 40 is the exact same thing as [Limit] inside playgroundcritters. In your new section, make it match as limit = 80

the rest is the critters, obviously. it lists critter name first, followed by the spawnrate. in playgroundcritters, these are broken up into Type and Rate under a header of [Critter]. Simply put them into your new section the same way that the other maps show.

[Critter]
Type=Red Panda
Rate=0.1

becomes

critterList=Red Panda,0.1

do this for the rest of the critters and then save, convert, and drop back into your game. you should now be able to delete/remove playgroundcritters and still have the critters spawn in the map. no source code edits required Wink

Thank you, kind one! ♥️ I'll be sure to give this a try!

EDIT:: One more question..! What if there's a roamArea, how should I go on about that? I see in the cd2 there's some roamArea set, but if I wanted to move Castle's critters to the cd2 the Hawks there have their own roamArea..? ;v;
Back to top Go down
 
Critter Spawns
View previous topic View next topic 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: