Forums Index >> Modding >> ::The Mission File Translated::



Page : <1> :


I want to fully translate all the basic code for the Mission File. I have about 90% of it already. I was hoping for some input or corrections.

 

Put Teleporter code here:
(Teleporter code)
};

Put Executable codes here:
exec("game/server/scripts/tank2.cs");
}

//--- OBJECT WRITE BEGIN ---
//Created with ModWizard v1.3
//Please remember to put 'MOD' at the beginning of your server name.
new SimGroup(MissionGroup) {
musicTrack = "Lush";---------------------------------------------- Soundtrack

New ScriptObject(MissionInfo) {
name = "Magic Johnson Mesa";------------------------------- Name that is seen when loading
author = "MAX-CR";----------------------------------------------- Author
};
new MissionArea(MissionArea) {
area = "-1024 -1024 2048 2048";---------------------------- x & y axis, surface death position preserve the ratio & use multiples of 512
flightCeiling = "1000";------------------------------------------- z axis, Ceiling death position
flightCeilingRange = "0";--------------------------------------- z axis, Ceiling range
floor = "-99";-------------------------------------------------------- z axis, floor death position (-99 no kill)
locked = "false";-------------------------------------------------- This is used to lock items so they are non editable (unmovalbe) in the mission editor
};
new Sky(Sky) {
position = "0 0 0";------------------------------------------------ Suns Position "x y z"
rotation = "1 0 0 0";---------------------------------------------- Suns Rotation "x y z n" n being scalar
scale = "1 1 1";---------------------------------------------------- Suns Scale "x y z" Caution: better to leave scale alone
visibleDistance = "2048";---------------------------------------How far away can we see before it gets hazy around perimeter of the game. Set to "0" no can see.
useSkyTextures = "1";------------------------------------------ O off 1 on. Controls sky textures.
renderBottomTexture = "0";------------------------------------ Does not seem to do anything
SkySolidColor = "0.10 0.50 0.90 1.0";--------------------- Sky color "red green blue alpha" Does not seem to do anything
fogDistance = "300";---------------------------------------------How far can you see when driving in the fog
fogColor = "0.1 0.3 0.6 1.0";-----------------------------------Fog color "red green blue alpha". The example is Sea-Blue , "1 1 1 1" is black &, "9 9 9 1" is white
fogVolume1 = "1 1 3";-------------------------------------------The density and range of the fog. In order: density-bottom-top. 1 = no visibility 180 = low visibility
fogVolume2 = "200 4 8";----------------------------------------You can have 3 levels of fog but they are the same color. This example is a river with water and haze.
fogVolume3 = "180 50 112";----------------------------------This example is the third and higher level of fog with low visibility.
materialList = "game/data/skies/sky_day.dml";--------- The path to your sky file.
windVelocity = "1 1 0";------------------------------------------ Direction "x y z". You can make it windy but it only effects smoke and emmitters.
windEffectPrecipitation = "1";--------------------------------- Does not seem to do anything
noRenderBans = "0";------------------------------------------- O off 1 on. Controls the horizon fog.
fogVolumeColor1 = "128.0 128.0 128.0 1.0";------------ Does not seem to do anything
fogVolumeColor2 = "128.0 128.0 128.0 1.0";------------ Does not seem to do anything
fogVolumeColor3 = "128.0 128.0 128.0 1.0";------------ Does not seem to do anything
cloudSpeed3 = "0.0003";-------------------------------------- Does not seem to do anything
cloudSpeed1 = "0.0001";-------------------------------------- Does not seem to do anything
cloudHeightPer0 = "0";----------------------------------------- Does not seem to do anything
locked = "true";--------------------------------------------------- Does not seem to do anything
cloudHeightPer2 = "0";----------------------------------------- Does not seem to do anything
cloudHeightPer1 = "0";----------------------------------------- Does not seem to do anything
cloudSpeed2 = "0.0002";------------------------------------- Does not seem to do anything
};
new Sun() {
direction = "0.57735 0.57735 -0.57735";------------------ Direction "x y z".Source of light.
color = "0.90 0.90 0.90 1.0";----------------------------------- Sun color "red green blue alpha" Does not seem to do anything
ambient = "0.50 0.50 0.50 1.0";------------------------------ Ambient sun color "red green blue alpha" Does not seem to do anything
scale = "1 1 1";--------------------------------------------------- Scale "x y z" Caution: better to leave scale alone
locked = "true";--------------------------------------------------- This is used to lock items so they are non editable (unmovalbe) in the mission editor
rotation = "1 0 0 0";---------------------------------------------- Rotation "x y z n" n being scalar
};
new TerrainBlock(Terrain) {
rotation = "1 0 0 0";----------------------------------------------- Rotation "x y z n" n being scalar
scale = "1 1 1";---------------------------------------------------- Scale "x y z" Caution: better to leave scale alone
detailTexture = "game/data/terrains/details/detail1";--- The path to your detail file. The detail is what you see on the ground near your tank.
terrainFile = "game/data/missions/TT1_1.ter";----------- The path to your terrain file
squareSize = "8";------------------------------------------------- Effects the size of the terrain (4 = small & steep), (20 = big & flat), (1000 = totally flat)
tile = "0";------------------------------------------------------------ Unknown?
blockShift = "7";--------------------------------------------------- DO NOT CHANGE!
locked = "false";--------------------------------------------------- This is used to lock items so they are non editable (unmovalbe) in the mission editor
position = "-1024 -1024 0";------------------------------------ Position "x y z"
};
new SimGroup(PlayerDropPoints) {
new SimGroup(GreenPlayerDropPoints) {---------------- Green Spawn point list
new SpawnSphere() {
position = "119.659 103.336 121.291";-------------------- Position "x y z"
rotation = "0 0 1 194.233";------------------------------------- Rotation "x y z n" n being scalar
scale = "1 1 1";---------------------------------------------------- Scale "x y z" Caution: better to leave scale alone
dataBlock = "SpawnSphereMarker";------------------------ data block which can be found in the specials.cs file
radius = "1";-------------------------------------------------------- radius of goal
lockCount = "0";--------------------------------------------------- Unknown?
homingCount = "0";---------------------------------------------- Does not seem to do anything
locked = "false";--------------------------------------------------- This is used to lock items so they are non editable (unmovalbe) in the mission editor
outdoorWeight = "100";----------------------------------------- Does not seem to do anything
indoorWeight = "100";------------------------------------------- Does not seem to do anything
sphereWeight = "100";------------------------------------------- Does not seem to do anything
};
};
new SimGroup(BluePlayerDropPoints) {----------------- Blue Spawn point list
new SpawnSphere() {
position = "-64.8983 149.127 136.692";------------------ Position "x y z"
rotation = "0 0 1 123.454";------------------------------------ Rotation "x y z n" n being scalar
scale = "1 1 1";--------------------------------------------------- Scale "x y z" Caution: better to leave scale alone
dataBlock = "SpawnSphereMarker";---------------------- data block which can be found in the specials.cs file
radius = "1";------------------------------------------------------- radius of goal
lockCount = "0";------------------------------------------------- Unknown?
homingCount = "0";-------------------------------------------- Does not seem to do anything
locked = "false";------------------------------------------------- This is used to lock items so they are non editable (unmovalbe) in the mission editor
outdoorWeight = "100";--------------------------------------- Does not seem to do anything
indoorWeight = "100";----------------------------------------- Does not seem to do anything
sphereWeight = "100";---------------------------------------- Does not seem to do anything
};
};
};
new TSStatic() {
position = "-384.648 187.268 83.5918";---------------------------------- Position "x y z"
rotation = "0.0116161 -0.00485268 -0.999921 28.4851";----------- Rotation "x y z n" n being scalar
scale = "1 1 1";------------------------------------------------------------------- Scale "x y z" Caution: better to leave scale alone
shapeName = "game/data/shapes/Green/treegreen02.dts";------- The path to your object file
treeLighting = "1";-------------------------------------------------------------- 1 on 0 off illuminate or not
lightBoost = "0";----------------------------------------------------------------- Will give an object more light if it is on a shadowed surface.
};
new TSStatic() {
position = "-280.5 165.5 92";------------------------------------------------ Position "x y z"
rotation = "0 0 -15 -18";------------------------------------------------------- Rotation "x y z n" n being scalar (example is an over sized tree)
scale = "1 1 1";------------------------------------------------------------------ Scale "x y z" Caution: better to leave scale alone
shapeName = "game/data/shapes/Green/treegreen02.dts";------ The path to your object file
treeLighting = "1";-------------------------------------------------------------- 1 on 0 off illuminate or not
lightBoost = "0";----------------------------------------------------------------- Will give an object more light if it is on a shadowed surface.
};
new TSStatic() {
position = "-347.615 -369.211 111.5";------------------------------------- Position "x y z"
rotation = "0.0426071 0.00536856 0.999078 110.067";-------------- Rotation "x y z n" n being scalar
scale = "1 1 1";-------------------------------------------------------------------- Scale "x y z" Caution: better to leave scale alone
shapeName = "game/data/shapes/Green/rockgreen03.dts";-------- The path to your object file
treeLighting = "1";---------------------------------------------------------------- 1 on 0 off illuminate or not
lightBoost = "0";------------------------------------------------------------------- Will give an object more light if it is on a shadowed surface.
};
new TSStatic() {
position = "-452 -83 87";------------------------------------------------------- Position "x y z"
rotation = "0 1 0 90";------------------------------------------------------------ Rotation "x y z n" n being scalar (example is laying on it's side on the ground)
scale = "1 1 1";------------------------------------------------------------------- Scale "x y z" Caution: better to leave scale alone
shapeName = "game/data/shapes/Green/rockgreen01.dts";------- The path to your object file
treeLighting = "1";--------------------------------------------------------------- 1 on 0 off illuminate or not
lightBoost = "0";------------------------------------------------------------------ Will give an object more light if it is on a shadowed surface.
};
};
//--- OBJECT WRITE END ---

Put the settings for volcano, brain, tanks and projectiles here:
//Volcano//
//Brain//

//DefaultTankFx//
//BabyBossFX//
//ufoFX//

//LightTank//
//MediumTank//
//HeavyTank//
//BabyBoss//
//BossTank//

//Lighttank Weapon//
//Mediumtank Weapon//
//Heavytank Weapon//
//BabyBoss Weapon//
//BossTank Weapon//

//Splashprojectile//
//Bounceprojectile//
//Speedyprojectile//
//DefaultExplosion//

 


Last edited: Saturday, February 12, 2005 at 5:15:29 PM

Saturday, February 12, 2005 at 5:12:37 PM

Nice, its good for people that dont know what to do to edit mission file

 

 

 

 

Sunday, February 13, 2005 at 4:51:58 AM

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