Page 1 of 1

Problems compiling a new species

PostPosted: Monday, 21st May 2018, 13:48
by Vajrapani
I made a new species called 'Duskwalker' and I always get this error message after compilation (The species works fine, just that the text files with the aptitudes don't generate properly :
Spoiler: show
dusk walker error 1.png
dusk walker error 1.png (10.77 KiB) Viewed 1380 times


This is what is causing the error (Something related to the XP, HP, MP, MR modifiers in species-data.h )
Spoiler: show
duskwalker error 2.png
duskwalker error 2.png (57.69 KiB) Viewed 1380 times


but, my species entry in species-data.h looks fine :
Spoiler: show
duskwalker error 3.png
duskwalker error 3.png (56.67 KiB) Viewed 1380 times


Anyone got any ideas as to what's happening?

Re: Problems compiling a new species

PostPosted: Monday, 21st May 2018, 16:14
by Vajrapani
Fixed it, the species was called "Duskwalker" but it's enum was 'SP_DUSK_WALKER', so it needed to be called "Dusk Walker" (with a space) for the XP,HP,MP,MR modifiers to be recognised.