Forums Index >> Modding >> Object help
Page : <1> :
Another way is just put down the reload gate. In the mission file, copy a rock or tree and paste it below the reload block.
New PowerUp() {
dataBlock = "Reload";
position = "-252.273 248.043 289.091";
rotation = "0.230266 -0.157311 0.960329 89.1883";
scale = "1 1 1";
lightBoost = "0";
};
new TSStatic() {
position = "165.266 36.7899 126.047";
rotation = "0.30418 0.348211 -0.886692 41.5892";
scale = "1 1 1";
shapeName = "game/data/shapes/Green/rockgreen03.dts";
treeLighting = "0";
lightBoost = "0";
};
When you change the data block to a tank changer, copy the position and rotation to the rock. Then change the rock's shapeName to the tank you want.
New PowerUp() {
dataBlock = "lighttankchanger";
position = "-252.273 248.043 289.091";
rotation = "0.230266 -0.157311 0.960329 89.1883";
scale = "1 1 1";
lightBoost = "0";
};
new TSStatic() {
position = "-252.273 248.043 289.091";
rotation = "0.230266 -0.157311 0.960329 89.1883";
scale = "1 1 1";
shapeName = "game/data/shapes/tanks/tank03.dts";
treeLighting = "0";
lightBoost = "0";
};
Last thing is to raise the shape. Add "7" to the last number in position.
New TSStatic() {
position = "-252.273 248.043 296.091";
rotation = "0.230266 -0.157311 0.960329 89.1883";
scale = "1 1 1";
shapeName = "game/data/shapes/tanks/tank03.dts";
treeLighting = "0";
lightBoost = "0";
};
*May need more or less than 7, but you get the idea.
So what do u do to make the tank not die when you go though the gate ?
Page : <1> :
Put rock before putting tankchanger on ground, then save it and go to missions file. Find last object there,(it's your rock) it says: shapeName = "/data/shapes/Green/rockgreen0#.dts";
,
Change it to "/data/shapes/tanks/tank0#,dts"; then go to your map and raise that with mod wizard and place
tankchanger under that. Same with other changers.
hope that works. :)