Hey now i have 2 more questions about the mapmaking/modding
I want to overhaul the rock_cover and rock_block in the desert them. Because they not looking as good as the mesa rock's. And i think this is a good practice too get used about the files and how they should stored and named....
they
should look like this
So my question. Has someone already done this and is this a good idea ? Is it allowed ?
Her is a pic from the first 2 stones i have made. You see from the left too the right side the default, damaged, destroyed and a old versions.
And question number two is about the files again On the pic above you maybe have noticed the grass. Im trying to test random generation to get different tiles in one map. So i have one folder in maps/desert/props in there are 4 different xml files all looking like this
<?xml version="1.0" ?><tilemap name="test_objekt_1" width="1" height="1" version="1"> <level> <row> <cell layer1="desert/cover/test_objekt_1" /> </row> </level></tilemap>
for example - test_objekt_2.xml
<?xml version="1.0" ?><tilemap name="test_objekt_2" width="1" height="1" version="1"> <level> <row> <cell layer1="desert/cover/test_objekt_2" /> </row> </level></tilemap>
Ok all 4 files have different names test_objekt_1.xml / test_objekt_2.xml .....and in the xml files i chanced it also.
In tiles/desert/cover i have also 4 test_objekt_1_spectre.xml files also with different numbers and with this text
<?xml version="1.0" ?><spectre id="desert/cover/test_objekt_1" width="1" height="1" version="1"> <state id="damaged" name="" pivotX="96" pivotY="128" pathScore="1" objectTypePreset="3" visibilityScore="1.000" bulletScore="0.500" orientation="0" sortPoint="0.500" hp="400" isCover="1" coverAnimName="lean" wallType="crushing" destructionSound="Destruction Dirt"> <image src="tiles/desert/cover/test_objekt_1_dam.png" /> </state> <state id="default" name="" pivotX="96" pivotY="128" pathScore="1" objectTypePreset="3" visibilityScore="1.000" bulletScore="0.500" orientation="0" sortPoint="0.500" hp="200" isCover="1" coverAnimName="lean" wallType="crushing" destructionSound="Destruction Dirt"> <image src="tiles/desert/cover/test_objekt_1.png" /> </state> <state id="destroyed" name="" pivotX="96" pivotY="128" pathScore="1" objectTypePreset="0" visibilityScore="1.000" bulletScore="1.000" orientation="0" sortPoint="0.500" hp="0" wallType="none"> <image src="tiles/desert/cover/test_objekt_1_des.png" /> </state></spectre>
example - test_objekt_2_spectre.xml
<?xml version="1.0" ?><spectre id="desert/cover/test_objekt_2" width="1" height="1" version="1"> <state id="damaged" name="" pivotX="96" pivotY="128" pathScore="1" objectTypePreset="3" visibilityScore="1.000" bulletScore="0.500" orientation="0" sortPoint="0.500" hp="400" isCover="1" coverAnimName="lean" wallType="crushing" destructionSound="Destruction Dirt"> <image src="tiles/desert/cover/test_objekt_2_dam.png" /> </state> <state id="default" name="" pivotX="96" pivotY="128" pathScore="1" objectTypePreset="3" visibilityScore="1.000" bulletScore="0.500" orientation="0" sortPoint="0.500" hp="200" isCover="1" coverAnimName="lean" wallType="crushing" destructionSound="Destruction Dirt"> <image src="tiles/desert/cover/test_objekt_2.png" /> </state> <state id="destroyed" name="" pivotX="96" pivotY="128" pathScore="1" objectTypePreset="0" visibilityScore="1.000" bulletScore="1.000" orientation="0" sortPoint="0.500" hp="0" wallType="none"> <image src="tiles/desert/cover/test_objekt_2_des.png" /> </state></spectre>
So this is in place and all the images are also in tiles/desert/cover folder - My problem is like you can see on the pic above with the stones. The grass on the right side is on the edge of the battlefield. This is test_objekt_1 and it works fine. I placed them right there. But only number 1 all other grass tiles are flying above the ground.... but why.... have i made something wrong ? Or have i missed something. I looked like 10 times all files and checked them double that i maybe have wrote something wrong but it looks like all the other files like rock_cover_1x1. I copied from there but nothing helps ....
I want get a random grass tile when i place them in the mapeditor.
In advance again THX !!!