Changed the default objectNum for triggers from 1 to 0. Moved blocks up so they dont spawn in the heightmap.

This commit is contained in:
Steffen Fündgens 2014-12-19 13:35:17 +01:00
parent 749f8cb2dc
commit 9f3b11c274
2 changed files with 16 additions and 16 deletions

View File

@ -11,14 +11,14 @@
<idBlue>5</idBlue> <idBlue>5</idBlue>
<typeID>20</typeID> <typeID>20</typeID>
<trigger> <trigger>
<name>-</name> <name>deleteRandomObject</name>
<xPosition>0.0</xPosition> <xPosition>10.0</xPosition>
<yPosition>0.0</yPosition> <yPosition>14.0</yPosition>
<zPosition>0.0</zPosition> <zPosition>5.0</zPosition>
<distance>1.0</distance> <distance>3.0</distance>
<isBiggerThan>false</isBiggerThan> <isBiggerThan>false</isBiggerThan>
<objectNum>1</objectNum> <objectNum>0</objectNum>
<functionPointer>-</functionPointer> <functionPointer>0</functionPointer>
</trigger> </trigger>
</composition> </composition>
@ -29,7 +29,7 @@
<zRot>0.0</zRot> <zRot>0.0</zRot>
<manualPos>false</manualPos> <manualPos>false</manualPos>
<xPos>5.500000</xPos> <xPos>5.500000</xPos>
<yOffset>0.0</yOffset> <yOffset>1.0</yOffset>
<zPos>-5.500000</zPos> <zPos>-5.500000</zPos>
<idGreen>1</idGreen> <idGreen>1</idGreen>
<idBlue>4</idBlue> <idBlue>4</idBlue>
@ -41,7 +41,7 @@
<zPosition>0.0</zPosition> <zPosition>0.0</zPosition>
<distance>1.0</distance> <distance>1.0</distance>
<isBiggerThan>false</isBiggerThan> <isBiggerThan>false</isBiggerThan>
<objectNum>1</objectNum> <objectNum>0</objectNum>
<functionPointer>-</functionPointer> <functionPointer>-</functionPointer>
</trigger> </trigger>
</composition> </composition>
@ -53,7 +53,7 @@
<zRot>0.0</zRot> <zRot>0.0</zRot>
<manualPos>false</manualPos> <manualPos>false</manualPos>
<xPos>0.500000</xPos> <xPos>0.500000</xPos>
<yOffset>0.0</yOffset> <yOffset>1.0</yOffset>
<zPos>5.500000</zPos> <zPos>5.500000</zPos>
<idGreen>1</idGreen> <idGreen>1</idGreen>
<idBlue>3</idBlue> <idBlue>3</idBlue>
@ -65,7 +65,7 @@
<zPosition>0.0</zPosition> <zPosition>0.0</zPosition>
<distance>1.0</distance> <distance>1.0</distance>
<isBiggerThan>false</isBiggerThan> <isBiggerThan>false</isBiggerThan>
<objectNum>1</objectNum> <objectNum>0</objectNum>
<functionPointer>-</functionPointer> <functionPointer>-</functionPointer>
</trigger> </trigger>
</composition> </composition>
@ -77,7 +77,7 @@
<zRot>0.0</zRot> <zRot>0.0</zRot>
<manualPos>false</manualPos> <manualPos>false</manualPos>
<xPos>-1.500000</xPos> <xPos>-1.500000</xPos>
<yOffset>0.0</yOffset> <yOffset>1.0</yOffset>
<zPos>-4.500000</zPos> <zPos>-4.500000</zPos>
<idGreen>1</idGreen> <idGreen>1</idGreen>
<idBlue>2</idBlue> <idBlue>2</idBlue>
@ -89,7 +89,7 @@
<zPosition>0.0</zPosition> <zPosition>0.0</zPosition>
<distance>1.0</distance> <distance>1.0</distance>
<isBiggerThan>false</isBiggerThan> <isBiggerThan>false</isBiggerThan>
<objectNum>1</objectNum> <objectNum>0</objectNum>
<functionPointer>-</functionPointer> <functionPointer>-</functionPointer>
</trigger> </trigger>
</composition> </composition>
@ -101,7 +101,7 @@
<zRot>0.0</zRot> <zRot>0.0</zRot>
<manualPos>false</manualPos> <manualPos>false</manualPos>
<xPos>-4.500000</xPos> <xPos>-4.500000</xPos>
<yOffset>0.0</yOffset> <yOffset>1.0</yOffset>
<zPos>1.500000</zPos> <zPos>1.500000</zPos>
<idGreen>1</idGreen> <idGreen>1</idGreen>
<idBlue>1</idBlue> <idBlue>1</idBlue>
@ -113,7 +113,7 @@
<zPosition>0.0</zPosition> <zPosition>0.0</zPosition>
<distance>1.0</distance> <distance>1.0</distance>
<isBiggerThan>false</isBiggerThan> <isBiggerThan>false</isBiggerThan>
<objectNum>1</objectNum> <objectNum>0</objectNum>
<functionPointer>-</functionPointer> <functionPointer>-</functionPointer>
</trigger> </trigger>
</composition> </composition>

View File

@ -175,7 +175,7 @@ std::vector<int> Converter::newComposition(int type, float posX, float posZ){
zPosition->SetText("0.0"); zPosition->SetText("0.0");
distance->SetText("1.0"); distance->SetText("1.0");
isBiggerThan->SetText("false"); isBiggerThan->SetText("false");
objectNum->SetText("1"); objectNum->SetText("0");
functionPointer->SetText("-"); functionPointer->SetText("-");
//targetIdGreen->SetText("0"); //targetIdGreen->SetText("0");
//targetIdBlue->SetText("0"); //targetIdBlue->SetText("0");