Can't get terraformer to work
by Darin Weaver · in Torque Game Engine · 08/02/2006 (3:21 am) · 5 replies
Am I crazy or does the terraformer not work?
I've tried all the starter kits and the tutorial.base (I have yet to start my own project) and the terraformer generator functions don't appear to do anything.
They show up on the list when I click 'apply' but the terrain is still flat or unaltered (after relight)
What the hell?
I've tried all the starter kits and the tutorial.base (I have yet to start my own project) and the terraformer generator functions don't appear to do anything.
They show up on the list when I click 'apply' but the terrain is still flat or unaltered (after relight)
What the hell?
#2
It does show the results of the generators in the heightmap preview window. The same is happening with the water control. It seems that nothing in the upper right hand window (with all the terraforming functions) is working. I click apply, then relight, and nada. Flat checkerboard no matter what.
08/02/2006 (12:32 pm)
What am I trying to accomplish? Well, I'm trying to algorithmically generate/edit a heightmap and create some terrain. Not much else you can do with the terraformer other than that.It does show the results of the generators in the heightmap preview window. The same is happening with the water control. It seems that nothing in the upper right hand window (with all the terraforming functions) is working. I click apply, then relight, and nada. Flat checkerboard no matter what.
#3
08/02/2006 (12:34 pm)
I've even applied generators, saved a new file, quit, and reopened and still nothing.
#4
Noob Instructions:
1) Place flat.mis and flat.ter from the missions folder from tutorial.base into the missions folder of the starter.fps.
2) Change the global variable in the root main.cs file FROM $defaultGame = "tutorial.base"; TO $defaultGame = "starter.fps";
3) Open the Torque Demo program. You should see the FPS Starter Kit window of an Orc. Press the Start Mission. Select F World. Then press Launch Mission Button.
4) You are now in the F World. Get into the World Editor by pressing F11.
5) Select the File Menu and then select Save Mission As... SubMenu. Give it a name as test.mis or whatever. If you made it this far, you are doing good. Quit the Torque Demo Program.
6) You need to find your new mission file test.mis that you just created and open it in your script editor and examen the contents.
7) The script code here is very interesting. The first thing you'll see is - new ScriptObject(missionInfo).... Here you'll make some changes. Change the field FROM name = "F World"; TO name = "test"; OR whatever. In the desc0 = "bla bla bla..."; change to whatever description you like.
8) Save the changes in the test.mis file.
9) Go back to step 3 but instead of F World you should see test.
10) Try again to generate your terrain by the Terraform Editor.
11) SAVE your work. Quit. Restart. Your work should be there.
Final Note - Learn everything about the contents of the mission files. Then you should not have any problems with your terrains. The above changes could have been made through the World Editor but I wanted to introduce the mission file as well.
I hope this helps. Jesse.
08/02/2006 (7:13 pm)
The tutorial.base has more than one hook to the same file at different locations - weird - I do not know why GG programmed tutorial.base that way. Try using starter.fps to create your terrains - you'll have better success. I wished that GG has a skeleton.base to start from scratch but they do not. Warning when you save your missin files in starter.fps do not use the letter "n". A window pops up and then you cannot save anything.Noob Instructions:
1) Place flat.mis and flat.ter from the missions folder from tutorial.base into the missions folder of the starter.fps.
2) Change the global variable in the root main.cs file FROM $defaultGame = "tutorial.base"; TO $defaultGame = "starter.fps";
3) Open the Torque Demo program. You should see the FPS Starter Kit window of an Orc. Press the Start Mission. Select F World. Then press Launch Mission Button.
4) You are now in the F World. Get into the World Editor by pressing F11.
5) Select the File Menu and then select Save Mission As... SubMenu. Give it a name as test.mis or whatever. If you made it this far, you are doing good. Quit the Torque Demo Program.
6) You need to find your new mission file test.mis that you just created and open it in your script editor and examen the contents.
7) The script code here is very interesting. The first thing you'll see is - new ScriptObject(missionInfo).... Here you'll make some changes. Change the field FROM name = "F World"; TO name = "test"; OR whatever. In the desc0 = "bla bla bla..."; change to whatever description you like.
8) Save the changes in the test.mis file.
9) Go back to step 3 but instead of F World you should see test.
10) Try again to generate your terrain by the Terraform Editor.
11) SAVE your work. Quit. Restart. Your work should be there.
Final Note - Learn everything about the contents of the mission files. Then you should not have any problems with your terrains. The above changes could have been made through the World Editor but I wanted to introduce the mission file as well.
I hope this helps. Jesse.
#5
08/02/2006 (10:14 pm)
Okay I'll try your method and see how it works out. Thanks for the help!
Torque Owner Carpenter Software