Forums Index >> Modding >> How to Fix TGE issues



Page : <1> :


TGE Fix Your Issues Tourtrial

Ok.. All of you have been having problems with TGE so I decided to finnaly help you out...

Here are some of the basic problems...

1. When your making a map make sure all the terrains are out of the game/data/terrains... Folder if they are not start over

2.If you didn't install the stuff correctly for TGE your messed and you need to go through the tuortrial again...

Ok once you got those fixed heres what you do a simple mission template I used frome TGE

//--- OBJECT WRITE BEGIN ---
new SimGroup(MissionGroup) {
musicTrack = "lush";
CTF_scoreLimit = "5";
cdTrack = "2";

New ScriptObject(MissionInfo) {
desc0 = "A simple new mission template.";
descLines = "2";
name = "New Mission";
};
new MissionArea(MissionArea) {
area = "-984 -1000 1968 2016";
flightCeiling = "300";
flightCeilingRange = "20";
locked = "true";
};
new Sky(Sky) {
position = "336 136 0";
rotation = "1 0 0 0";
scale = "1 1 1";
materialList = "demo/data/skies/sky_storm.dml ";
cloudHeightPer[0] = "7";
cloudHeightPer[1] = "0.3";
cloudHeightPer[2] = "0.199973";
cloudSpeed1 = "0.002";
cloudSpeed2 = "0.001";
cloudSpeed3 = "0.003";
visibleDistance = "800";
fogDistance = "500";
fogColor = "0.400000 0.400000 0.400000 1.000000";
fogStorm1 = "0";
fogStorm2 = "1";
fogStorm3 = "0";
fogVolume1 = "100 0 169.5";
fogVolume2 = "150 170 250";
fogVolume3 = "0 0 0";
fogVolumeColor1 = "0.900000 0.900000 0.900000 1.000000";
fogVolumeColor2 = "0.900000 0.900000 0.900000 1.000000";
fogVolumeColor3 = "0.000000 0.000000 0.000000 1.000000";
windVelocity = "1 1 0";
windEffectPrecipitation = "0";
SkySolidColor = "0.640000 0.148000 0.215000 0.000000";
useSkyTextures = "1";
renderBottomTexture = "0";
noRenderBans = "0";
locked = "true";
};
new Sun() {
direction = "0.635001 0.635001 -0.439941";
color = "1.000000 1.000000 0.700000 1.000000";
ambient = "0.300000 0.300000 0.400000 1.000000";
rotation = "1 0 0 0";
locked = "true";
scale = "1 1 1";
position = "0 0 0";

};
new TerrainBlock(Terrain) {
rotation = "1 0 0 0";
scale = "1 1 1";
detailTexture = "demo/data/terrains/details/detail1 ";
terrainFile = "./newMission.ter";
squareSize = "8";
bumpScale = "1";
bumpOffset = "0.01";
zeroBumpScale = "8";
locked = "true";
position = "-1024 -1024 0";
};
new SimGroup(PlayerDropPoints) {

New SpawnSphere() {
position = "209 -60.2596 211.615";
rotation = "0 0 1 130.062";
scale = "0.940827 1.97505 1";
dataBlock = "SpawnSphereMarker";
radius = "10";
sphereWeight = "1";
indoorWeight = "1";
outdoorWeight = "1";
lockCount = "0";
locked = "false";
homingCount = "0";
};
};
};
//--- OBJECT WRITE END ---

All the things in bold are your problems so heres what you change them too

You change the skies path to:

"game/data/skies/skyred.dml"

You change the detail part to

"game/data/terrains/details/detail1"

And thats pretty much it if you have any problems please tell me what they are.

Last edited: Thursday, July 28, 2005 at 10:22:04 AM

Thursday, July 28, 2005 at 10:14:47 AM


 

1. When your making a map make sure all the terrains are out of the game/data/terrains... Folder if they are not start over

 

Absolutely not! No need to start over.

You can just open the terrain file and do a find and replace for the word demo. Replace it with the word game. Works just fine, I have done successfully many times for people.

It's certainly easier to do it right from the beginning, but if you did use textures from the demo folder, you can change them editing the terrain file with a text editor.

 

Last edited: Thursday, July 28, 2005 at 12:58:50 PM

Thursday, July 28, 2005 at 12:57:30 PM

^ da man

Thursday, July 28, 2005 at 3:46:25 PM

Page : <1> :

insert quote insert url insert email insert image bold italic underline superscript subscript horizontal rule : : Help on using forum codes

Add comment:

HTML is disabled within comments, but ZBB Code is enabled.

Back to the top

Web site designed, maintained and funded by -z- and Dan MacDonald