Page 1 of 1

Adding more creatures to the default 0-6

Posted: October 9th, 2009, 5:31 pm
by {PR}Jasykinz
Right i want to add my own creature, and am having trouble trying to work it out myself,


Their are 6 creatures 0-6

6 being wolf for example

i want to be able to enable creature 7 but it says invalid.

Any Ideas?

(i have made a folder in Packages\models\character\ called "leopard") i duplicated the whole content of wolf and changed the name of it to leopard... it doesn't show up as creature 7, any help :)?

i know theres a monster.h file is it something to do with that?

Re: Adding more creatures to the default 0-6

Posted: October 9th, 2009, 6:43 pm
by Radder
Edit:
I edited my answer out... :o

Re: Adding more creatures to the default 0-6

Posted: October 9th, 2009, 7:53 pm
by Hirato
ignore radder, the FPS does not use a cfg for creature definitions

open up src/fpsgame/monster.cpp

you should see a big array, with things such as "a butterfly" and "a wolf"
just add your own creatures in there and recompile the binary

EDIT
you should also see a variable named NUMMONSTERTYPES
just remember to increase that by 1 for each monster you add