16
DF Modding / Re: Having problems with adding an inorganic stone (mineral)
« on: April 03, 2013, 08:24:49 am »
Good morning!
Reiterating what others have said:
1. Check errorlog.txt - it won't ALWAYS tell you exactly what's going on, but it will usually at least give you a clue.
2. If in doubt, always gen a new world. Some things don't require it, but you can be fairly certain geology will.
Also, from my own experience, the frequency numbers all cap out at 100, anything more is either ignored or may cause strange behaviors. You can reduce the frequency of competing stones to effectively increase the frequency of your new material (I fiddled with this a LOT working on my MMO mod, and Deon has also spent much time adjusting material frequencies in Genesis).
Something simple to try: use a common layer stone like Gneiss or Gabbro (I seem to see a lot of both!) and see if it works there. You can also have it show as VEIN and CLUSTER_SMALL as well as CLUSTER if you really want it all over the place.
The best and easiest way to add something is to copy an existing material, and then make appropriate changes, rather than trying to write everything out yourself. Good luck!
Rochndil, always looking for the easy ways to do things...
Reiterating what others have said:
1. Check errorlog.txt - it won't ALWAYS tell you exactly what's going on, but it will usually at least give you a clue.
2. If in doubt, always gen a new world. Some things don't require it, but you can be fairly certain geology will.
Also, from my own experience, the frequency numbers all cap out at 100, anything more is either ignored or may cause strange behaviors. You can reduce the frequency of competing stones to effectively increase the frequency of your new material (I fiddled with this a LOT working on my MMO mod, and Deon has also spent much time adjusting material frequencies in Genesis).
Something simple to try: use a common layer stone like Gneiss or Gabbro (I seem to see a lot of both!) and see if it works there. You can also have it show as VEIN and CLUSTER_SMALL as well as CLUSTER if you really want it all over the place.
The best and easiest way to add something is to copy an existing material, and then make appropriate changes, rather than trying to write everything out yourself. Good luck!
Rochndil, always looking for the easy ways to do things...
