When I try to add some tree or something like that I got errors that feature is not found. I tried to move definitions in /features/All World/ it dont work.
So where is mistake? It is probably noobish one.
That baobab is taken from tabula v4 so it should really work, when I just add it?
- wolas@N1:~/Desktop/springdev/map/WWF$ ./compile_and_pack.sh
Range : 0 -> 65535
Compressing 4050/ 4096 - 3079 tiles
Compress done , ratio: 76.2939
Feature ad0_baobab_0 Instance 0x921c5e8 Terrain height: 41.1908
Feature tcpice1 Instance 0x921c568 Terrain height: 41.1908
Creating archive maps.7z
Compressing maps/detailtex.bmp
Compressing maps/features/ad0_baobab_0.lua
Compressing maps/features/tcpice.tdf
Compressing maps/objects3d/ad0_baobab_0.s3o
Compressing maps/objects3d/tcpice1.s3o
Compressing maps/unittextures/ad0_baobab_1.tga
Compressing maps/unittextures/ad0_baobab_2.tga
Compressing maps/unittextures/icetex.dds
Compressing maps/unittextures/icetex2.png
Compressing maps/WWF.smd
Compressing maps/WWF.smf
Compressing maps/WWF.smt
then it moves map.7z to WWF.sd7
Everything is Ok
wolas@N1:~/Desktop/springdev/map/WWF$ spring | grep feature
[f=0000000] Loading feature definitions
[f=0000000] Initializing map features
[f=0000000] Unknown map feature type ad0_baobab_0
[f=0000000] Unknown map feature type tcpice1
[f=0000000] Unknown feature named 'ad0_baobab_0'
[f=0000000] Unknown feature named 'tcpice1'
compile and pack.sh
#!/bin/sh
mapname=WWF
springMapConvNG -ct 2 -th 0 -maxh 300 -minh -900 -o $mapname -m metalmap.bmp -t texture.bmp -h heightmap.bmp -features features.txt && mv $mapname.sm? ./maps/ && 7z a -ms=off maps.7z maps && mv maps.7z ~/.spring/maps/WWF.sd7
features.txt
tcpice1 300 -500000 300 0
ad0_baobab_0 350 -500000 300 0