Forums Index >> Modding >> How to make Terrains from TGE on a MAC
Page : <1> :
How to make an executable file
Go to Terminal. Type in:
Cd ~/desktop
Vi Torque_Script.src
There will be some lines and something that says INSERT. At the top of the file, type the path gathered by the executable before and the additions. Again, for me it looks like:
/Users/spunky/Applications/gAmE FoLdEr/TorqueGameEngineDemo/Torque Demo OSX.app/Contents/MacOS/Torque Demo OSX -console -mod game
Press enter. It should exit out of it and back to the Terminal window.
To make sure it works, type:
Source Torque_script.src
If it is good, it will launch the game and execute the modding process. If it isn't, type:
!vi vi Torque_script.src
You can edit it from there.
When you want to launch the file, you can find it on your desktop. Double click it and it will say it can't find a program to open it. No problem! Select Choose Application and navigate to Applications/Utilities/Terminal. At the top of the box, choose All Applications instead of Preferred Applications. Click OK.
****IMPORTANT: In the quote blocks, some of the commands' first letters are capitalized. They are NOT to be capitalized in the Terminal window. This is the result of a stupid and poorly made auto-caps on PTT.****
Last edited: Saturday, January 29, 2005 at 8:17:22 AM
The Bug
So far, I can't figure out a way around getting the actual terrain to show...I've been working on this for some time, but to no avail. For some reason, D16, D4, and TT1_3 always look like this:
Hmm...it's all very odd, but there might be some console log explaining it...I'll check around.
EDIT: I found a console log that repeats this several times:
Game/data/shapes/Green.dts - Collision mesh names should start with Col or LOSCol, encountered 'ShadowA' in detail level 7
game/data/shapes/Green.dts - Collision mesh names should start with Col or LOSCol, encountered 'ShadowB' in detail level 7
game/data/shapes/Green.dts - Collision mesh names should start with Col or LOSCol, encountered 'ShadowC' in detail level 7
TGE seems to be encountering something wrong with the shading of the terrain or shapes. If anyone could decode this or fix it, that would be nice of them.
Last edited: Saturday, January 29, 2005 at 9:37:20 AM
Yeah... I never have been able to get the TT terrains appear on TGE... Oh, and "Collision mesh names should start with Col or LOSCol, encountered 'ShadowA' in detail level 7" doesn't mean anything.
@ Spunkyİ (AU/TWC)
Your prost seem to b ethe most detailed yet to date. I'm perplexed. For the life of me I can not get the command to go. I've even tried dragging the app into the window and append the -console -mod game to the end. I keep getting a too many arguments statement.
Here's what it states:
[Macintosh:~] admin% cd /Applications/Games/TGE/Torque Demo OSX.app/Contents/MacOS/Torque Demo OSX -console -mod
tcsh: cd: Too many arguments.
[Macintosh:~] admin%
any idea why this refuses to launch?
Anybody?
Napalm
^You are mayby missing one letter? As far as I have understand about Macs there should also be a slash falling to other side.
You don't have to let go of one rope before grabbing the other. But you'll have to let go of one if you want to swing forward.
@napalm
Okay, to get the absolute direct path to your TGE folder, type cd and then drag your TGE.app into the console. It will make a direct path to it.
If that's not the case, then maybe you should cd one thing at a time...like 'cd /Applications' 'cd /Games' etc.
Hope that solves your question!
If I drag the app into the console window (not the upper level but the ine n the contents/MacOS) this is the pathe displayed
Admin% cd /Applications/Games/TGE/Torque Demo OSX.app/Contents/MacOS/Torque Demo OSX
Now I should just be able to add -console -mod game
But I still get "too many arguments"
?
Gettting dizzy
Napalm
O_o
Hmm...
You're right. That is strange.
I think you should move the TGE to a folder in your directory and not the applications, because that could cause some permission issues.
I located the terminal app, right clicked an said "open with terminal" it launched the program. I copied that syntax added the -console -mod game and it worked like a champ!
WOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
Thanks!
Napalm
Glad your problem is fixed! I was beginning to wonder if you would ever get it to work.
I HAVE FIXED THE MAC BUG!
Quick and easy - follow my exact instructions, but download the new TGE from Apple.com and run a dash level. The terrain will be white, and you can paint onto it with the Thinktanks terrain textures!
Download one of dash's levels in the link in my first post, download TGE from apple.com.
Or garagegames.com ;) Whatever :P
Apple dosent have TGE only the 2d one which stinks :P :(
Can you give the link to the apple.com TGE?
Woooooooooot!!!!!!!!!
thank you !!!!!!!
Downloading now
im gonna make 3000000 terrains now lol
Page : <1> :
Here's how I did this:
First,
1. Download the TGE demo from Garagegames.
2. Download the TT demo from Garagegames.
3. Go to the TorqueGameEngineDemo folder and open demo>data folders.
4. In another window, go to the TT demo. Control+click (or right-click) the demo and select 'Show Package Contents.' Navigate to contents>resources>game>data>skies.
5. Select all of the files in the folder. Go to the Torque main folder and make a new folder called 'game', then open up that folder and make a new folder called data, then open THAT folder and make another folder called 'skies', and drag all the files from the TT demo into that.
6. In the TT window, go back 1 and open the 'terrains' folder. Select all the files and go back to the window where you just made the 'skies' folder. Make a new folder called 'terrain' and drag the files into that.
Next,
1. Go to the Terminal (Applications/Utilities) and type in for the console to mod the game. For me, this looks like this:
/Users/spunky/Applications/gAmE FoLdEr/TorqueGameEngineDemo/Torque Demo OSX.app/Contents/MacOS/Torque Demo OSX -console -mod game
1a. I will explain how to make an executable like this in my next post.
After that,
1. Go to http://thinktanks.jkdg.com/terrains/ to download some terrains from dash. In my case, we'll use D4.mis and D4.ter.
2. Copy all the text from the D4.mis and go to a mission in the missons folder of the TT demo. I'm using TT2_4.mis. Once you open TT2_4.mis, go back to the missions folder and change the original's name to something like TT2_4or.mis to remind you that that one is the original. Select all of the TT2_4.mis text and paste the D4.mis text into it. Save it, then rename it 'D4.mis' in the missions folder.
3. Go find the D4.ter link in your browser and select "Save Linked File As..." Save it to your TT demo folder. When it asks if you want to append the.txt ending, say "Don't Append."
Next,
1. Move your D4.mis and D4.ter files to the TGE folder game>data>missions.
Last,
1. Double-click the file that you saved with Terminal. It will run the game. Follow the instructions from there out on how to make terrains from all those other posts made by everyone else.
*thanks to Triv for his tutorial*
Last edited: Saturday, January 29, 2005 at 8:50:20 AM