MCServer r174
#21
(03-08-2011, 07:52 AM)Tim Wrote: ...do you happen to have like a model monsters.ini file? i have no idea what it needs to have in it haha Smile...

Everything that can be set in monster.ini is already set so under spider you can set those attributes and under chicken you can set its attributes.
Code:
[Spider]
AttackRange=5.0 <--Set this based on from how far away you want the monster
                              to be able to attack from
AttackRate=1  <--This is a multiplier for the base attack rate of the monster.  
                          setting this higher means the monster attacks more frequently
AttackDamage=1.0  <-- This is the amount of damage the monster will do per
                                   per attack
SightDistance=25.0  <--Setting this determines from how far away the monster
                                  can "see you" so with the spider for example it will start
                                  chasing you if you are less then or equal to this distance
                                  away from it.  The chicken will use this to determine how
                                  far away from you it needs to be before it thinks it has
                                  escaped from you.

[Chicken]
AttackRange=5.0
AttackRate=1  
AttackDamage=1.0
SightDistance=25.0  <--The only setting that effects the chicken see the description
                                   of the spider's SightDistance attribute above.

Makes sense? Also note in your settings.ini that there is a category under monsters where it lists the chicken and the spider. If you wanted to, for example, prevent the server from loading the config values for the chicken and just use its default attributes you could remove the chicken entry from there.
Code:
Types=Spider <-- This means that chicken will get default attributes no matter
                          what is in the monsters.ini file

I was also thinking of adding the ability to set the monster's personality type in monsters.ini too (its currently hard coded with the chicken being passive and the spider being aggressive) so keep an eye out for that in future releases.
Reply
Thanks given by:


Messages In This Thread
MCServer r174 - by FakeTruth - 03-07-2011, 09:47 PM
RE: MCServer r174 - by Tim - 03-07-2011, 10:09 PM
RE: MCServer r174 - by distroyed123 - 03-07-2011, 10:10 PM
RE: MCServer r174 - by jmejamie - 03-07-2011, 10:14 PM
RE: MCServer r174 - by Tim - 03-08-2011, 12:53 AM
RE: MCServer r174 - by FrenchTart - 03-08-2011, 12:54 AM
RE: MCServer r174 - by distroyed123 - 03-08-2011, 01:29 AM
RE: MCServer r174 - by Tim - 03-08-2011, 01:47 AM
RE: MCServer r174 - by FrenchTart - 03-08-2011, 01:57 AM
RE: MCServer r174 - by Tim - 03-08-2011, 01:59 AM
RE: MCServer r174 - by kplunreal - 03-08-2011, 02:24 AM
RE: MCServer r174 - by Tybor - 03-08-2011, 02:48 AM
RE: MCServer r174 - by kplunreal - 03-08-2011, 03:00 AM
RE: MCServer r174 - by Duralex - 03-08-2011, 02:49 AM
RE: MCServer r174 - by Tybor - 03-08-2011, 03:02 AM
RE: MCServer r174 - by Tim - 03-08-2011, 03:14 AM
RE: MCServer r174 - by FakeTruth - 03-08-2011, 07:45 AM
RE: MCServer r174 - by Tim - 03-08-2011, 07:52 AM
RE: MCServer r174 - by Duralex - 03-08-2011, 08:51 AM
RE: MCServer r174 - by FakeTruth - 03-08-2011, 08:16 AM
RE: MCServer r174 - by Tim - 03-08-2011, 08:19 AM
RE: MCServer r174 - by Tim - 03-08-2011, 09:17 AM
RE: MCServer r174 - by distroyed123 - 03-08-2011, 11:22 AM
RE: MCServer r174 - by codename_B - 03-08-2011, 07:52 PM
RE: MCServer r174 - by Tim - 03-09-2011, 12:35 AM
RE: MCServer r174 - by codename_B - 03-09-2011, 06:35 AM
RE: MCServer r174 - by james21193 - 03-09-2011, 02:22 AM
RE: MCServer r174 - by Tim - 03-09-2011, 07:12 AM
RE: MCServer r174 - by Duralex - 03-09-2011, 08:42 AM
RE: MCServer r174 - by distroyed123 - 03-10-2011, 11:15 PM
RE: MCServer r174 - by Tim - 03-11-2011, 12:42 AM



Users browsing this thread: 9 Guest(s)