Forums Index >> Modding >> Problems with my mod?



Page : <1> :


I created a mod in TGE with a few terrains and tried to host a server and load it. Well, it didn't work and I've tried everything. Here is the code from the.mis file:

 

//--- OBJECT WRITE BEGIN ---
new SimGroup(MissionGroup) {

New ScriptObject(MissionInfo) {
name = "The Outback";
author = "USS_Destroyer";
};
new MissionArea(MissionArea) {
Area = "-256 -256 560 560";
flightCeiling = "300";
flightCeilingRange = "20";
floor = "114";
};
new Sky(Sky) {
position = "336 136 0";
rotation = "1 0 0 0";
scale = "1 1 1";
materialList = "game/data/skies/sky_day.dml";
cloudHeightPer[0] = "0";
cloudHeightPer[1] = "0";
cloudHeightPer[2] = "0";
cloudSpeed1 = "0.002";
cloudSpeed2 = "0.001";
cloudSpeed3 = "0.003";
visibleDistance = "1600";
fogDistance = "200";
fogColor = "0 0.54 0.92 0";
fogStorm1 = "0";
fogStorm2 = "0";
fogStorm3 = "0";
fogVolume1 = "1 1 1";
fogVolume2 = "1 1 1";
fogVolume3 = "1 1 115";
fogVolumeColor1 = "1 1 1 1";
fogVolumeColor2 = "1 1 1 1";
fogVolumeColor3 = "1 1 1 1";
windVelocity = "1 1 0";
windEffectPrecipitation = "0";
SkySolidColor = "0.64 0.148 0.215 0";
useSkyTextures = "1";
renderBottomTexture = "1";
noRenderBans = "0";
cloudHeightPer2 = "0.199973";
cloudHeightPer1 = "0.3";
cloudHeightPer0 = "7";
locked = "true";
};
new Sun() {
azimuth = "0";
elevation = "35";
color = "1 1 0.7 1";
ambient = "0.6 0.6 0.6 1";
rotation = "1 0 0 0";
scale = "1 1 1";
locked = "true";
direction = "0.635001 0.635001 -0.439941";
};
new TerrainBlock(terrain) {
rotation = "1 0 0 0";
scale = "1 1 1";
detailTexture = "game/data/missions/terrains/details/detail1";
terrainFile = "game/data/mission/river.ter";
squareSize = "8";
bumpScale = "1";
bumpOffset = "0.01";
zeroBumpScale = "8";
tile = "1";
blockShift = "8";
position = "-1024 -1024 0";
locked = "true";
};
new SimGroup(PlayerDropPoints) {

New SimGroup(GreenPlayerDropPoints) {
new SpawnSphere() {
position = "65.5159 36.9186 150.827";
rotation = "0.05131 0.0958662 0.994071 211.42";
scale = "1 1 1";
dataBlock = "SpawnSphereMarker";
radius = "1";
lockCount = "0";
homingCount = "0";
locked = "false";
outdoorWeight = "100";
indoorWeight = "100";
sphereWeight = "100";
};
new SpawnSphere() {
position = "155.054 29.6763 144.503";
rotation = "0.0194203 0.0271625 0.999442 142.629";
scale = "1 1 1";
dataBlock = "SpawnSphereMarker";
radius = "1";
lockCount = "0";
homingCount = "0";
locked = "false";
outdoorWeight = "100";
indoorWeight = "100";
sphereWeight = "100";
};
new SpawnSphere() {
position = "-103.329 230.338 183.605";
rotation = "0.0192249 -0.0014485 0.999814 163.357";
scale = "1 1 1";
dataBlock = "SpawnSphereMarker";
radius = "1";
lockCount = "0";
homingCount = "0";
locked = "false";
outdoorWeight = "100";
indoorWeight = "100";
sphereWeight = "100";
};
new SpawnSphere() {
position = "-122.58 206.57 174.34";
rotation = "-0.878834 -0.145682 -0.454343 4.28567";
scale = "1 1 1";
dataBlock = "SpawnSphereMarker";
radius = "1";
lockCount = "0";
homingCount = "0";
locked = "false";
outdoorWeight = "100";
indoorWeight = "100";
sphereWeight = "100";
};
new SpawnSphere() {
position = "-85.971 30.8919 148.636";
rotation = "0.0486506 0.160345 0.985861 201.952";
scale = "1 1 1";
dataBlock = "SpawnSphereMarker";
radius = "1";
lockCount = "0";
homingCount = "0";
locked = "false";
outdoorWeight = "100";
indoorWeight = "100";
sphereWeight = "100";
};
new SpawnSphere() {
position = "-108.413 -51.5761 156.117";
rotation = "-0.00168784 0.0509891 0.998698 192.52";
scale = "1 1 1";
dataBlock = "SpawnSphereMarker";
radius = "1";
lockCount = "0";
homingCount = "0";
locked = "false";
outdoorWeight = "100";
indoorWeight = "100";
sphereWeight = "100";
};
new SpawnSphere() {
position = "-141.145 -94.0479 166.765";
rotation = "0.0300449 0.029691 0.999107 41.9763";
scale = "1 1 1";
dataBlock = "SpawnSphereMarker";
radius = "1";
lockCount = "0";
homingCount = "0";
locked = "false";
outdoorWeight = "100";
indoorWeight = "100";
sphereWeight = "100";
};
new SpawnSphere() {
position = "-146.499 78.678 141.18";
rotation = "-0.4862 0.636286 -0.598957 7.58553";
scale = "1 1 1";
dataBlock = "SpawnSphereMarker";
radius = "1";
lockCount = "0";
homingCount = "0";
locked = "false";
outdoorWeight = "100";
indoorWeight = "100";
sphereWeight = "100";
};
new SpawnSphere() {
position = "32.4531 6.24967 168.928";
rotation = "0.0366855 -0.0274204 0.998951 49.9904";
scale = "1 1 1";
dataBlock = "SpawnSphereMarker";
radius = "1";
lockCount = "0";
homingCount = "0";
locked = "false";
outdoorWeight = "100";
indoorWeight = "100";
sphereWeight = "100";
};
new SpawnSphere() {
position = "88.2925 220.438 126.417";
rotation = "0.0567988 0.0973326 0.99363 175.045";
scale = "1 1 1";
dataBlock = "SpawnSphereMarker";
radius = "1";
lockCount = "0";
homingCount = "0";
locked = "false";
outdoorWeight = "100";
indoorWeight = "100";
sphereWeight = "100";
};
};

new SimGroup(BluePlayerDropPoints) {
new SpawnSphere() {
position = "65.5067 36.9035 150.831";
rotation = "0.05131 0.0958662 0.994071 211.42";
scale = "1 1 1";
dataBlock = "SpawnSphereMarker";
radius = "1";
lockCount = "0";
homingCount = "0";
locked = "false";
outdoorWeight = "100";
indoorWeight = "100";
sphereWeight = "100";
};
new SpawnSphere() {
position = "155.236 29.4379 144.514";
rotation = "0.0194203 0.0271625 0.999442 142.629";
scale = "1 1 1";
dataBlock = "SpawnSphereMarker";
radius = "1";
lockCount = "0";
homingCount = "0";
locked = "false";
outdoorWeight = "100";
indoorWeight = "100";
sphereWeight = "100";
};
new SpawnSphere() {
position = "247.041 66.7814 134.06";
rotation = "0.0769033 0.032871 0.996496 184.862";
scale = "1 1 1";
dataBlock = "SpawnSphereMarker";
radius = "1";
lockCount = "0";
homingCount = "0";
locked = "false";
outdoorWeight = "100";
indoorWeight = "100";
sphereWeight = "100";
};
new SpawnSphere() {
position = "230.913 208.051 127.313";
rotation = "0.0155083 -0.00468847 0.999869 203.868";
scale = "1 1 1";
dataBlock = "SpawnSphereMarker";
radius = "1";
lockCount = "0";
homingCount = "0";
locked = "false";
outdoorWeight = "100";
indoorWeight = "100";
sphereWeight = "100";
};
new SpawnSphere() {
position = "188.369 -83.9748 166.931";
rotation = "0.630245 -0.751391 0.195453 5.1289";
scale = "1 1 1";
dataBlock = "SpawnSphereMarker";
radius = "1";
lockCount = "0";
homingCount = "0";
locked = "false";
outdoorWeight = "100";
indoorWeight = "100";
sphereWeight = "100";
};
new SpawnSphere() {
position = "167.983 -167.821 145.689";
rotation = "-0.0541856 0.171056 -0.98377 72.9725";
scale = "1 1 1";
dataBlock = "SpawnSphereMarker";
radius = "1";
lockCount = "0";
homingCount = "0";
locked = "false";
outdoorWeight = "100";
indoorWeight = "100";
sphereWeight = "100";
};
new SpawnSphere() {
position = "98.8003 -56.448 151.84";
rotation = "-0.0238638 -0.0349941 0.999103 85.9059";
scale = "1 1 1";
dataBlock = "SpawnSphereMarker";
radius = "1";
lockCount = "0";
homingCount = "0";
locked = "false";
outdoorWeight = "100";
indoorWeight = "100";
sphereWeight = "100";
};
new SpawnSphere() {
position = "18.9113 -144.23 142.119";
rotation = "0.0754367 -0.0124687 0.997073 209.124";
scale = "1 1 1";
dataBlock = "SpawnSphereMarker";
radius = "1";
lockCount = "0";
homingCount = "0";
locked = "false";
outdoorWeight = "100";
indoorWeight = "100";
sphereWeight = "100";
};
new SpawnSphere() {
position = "-46.8622 -132.956 156.038";
rotation = "0.0213715 0.0302163 0.999315 238.9";
scale = "1 1 1";
dataBlock = "SpawnSphereMarker";
radius = "1";
lockCount = "0";
homingCount = "0";
locked = "false";
outdoorWeight = "100";
indoorWeight = "100";
sphereWeight = "100";
};
new SpawnSphere() {
position = "-82.9014 -139.29 167.551";
rotation = "0.00715998 0.00203058 0.999972 90.9965";
scale = "1 1 1";
dataBlock = "SpawnSphereMarker";
radius = "1";
lockCount = "0";
homingCount = "0";
locked = "false";
outdoorWeight = "100";
indoorWeight = "100";
sphereWeight = "100";
};
new SpawnSphere() {
position = "32.142 5.98805 168.944";
rotation = "0.0410256 -0.0303993 0.998696 50.0012";
scale = "1 1 1";
dataBlock = "SpawnSphereMarker";
radius = "1";
lockCount = "0";
homingCount = "0";
locked = "false";
outdoorWeight = "100";
indoorWeight = "100";
sphereWeight = "100";
};
new SpawnSphere() {
position = "88.3199 220.162 126.47";
rotation = "0.0567988 0.0973326 0.99363 175.045";
scale = "1 1 1";
dataBlock = "SpawnSphereMarker";
radius = "1";
lockCount = "0";
homingCount = "0";
locked = "false";
outdoorWeight = "100";
indoorWeight = "100";
sphereWeight = "100";
};
};
//--- OBJECT WRITE END ---

 

The teleport points are from the origional map which I'm modding. There are no ammo gates, powerups, etc. Because I was going to use the MW.(Hence why I was loading my mod)

 

Thinktanks: $20 New Mouse: $15 Winning an indy scrum game: Priceless

Last edited: Sunday, April 09, 2006 at 10:17:00 AM

Sunday, April 09, 2006 at 9:46:22 AM

Change the terrain block thing that says./river.ter to game/data/mission/river.ter or whatever k tell me if that doesn't work

Sunday, April 09, 2006 at 10:07:04 AM

Get rid of every line in the Terrain datablock that has the word "Bump" in it. This usually works with me.

Sunday, April 09, 2006 at 10:17:51 AM

No, still no go. Oh, I updated the top post with my spawn points this time...

My error report:

Executing game/data/missions/river.mis.
game/data/missions/river.mis Line: 367 - Syntax error.
>>> Advanced script error report. Line 733.
>>> Some error context, with ## on sides of error halt:
sphereweight ="100";
};
};

//-- OBJECT WRITE END
##
>>> Error report complete

Thinktanks: $20 New Mouse: $15 Winning an indy scrum game: Priceless

Sunday, April 09, 2006 at 10:21:59 AM

Ok Mon, you posted while I was typing, lemme try that...

EDIT: No go Monica, same error report on the dedicated server window...

Thinktanks: $20 New Mouse: $15 Winning an indy scrum game: Priceless

Last edited: Sunday, April 09, 2006 at 10:26:38 AM

Sunday, April 09, 2006 at 10:22:56 AM

Ok...try making sure you close the exact same number of brackets as you have opened.
Ex.:

New ScriptObject (MissionInfo) {
new TSStatic () {
};

new TSStatic () {
};
};

Sunday, April 09, 2006 at 10:39:45 AM

It all looks right to me. Did you see an error somewhere?

Thinktanks: $20 New Mouse: $15 Winning an indy scrum game: Priceless

Sunday, April 09, 2006 at 10:59:05 AM

Ok, after tinkering, I actually tried creating a dedicated server with the filname. It went up fine, but when I click on it's info on the server list, it doesn't have a name or platform listed. :o

Thinktanks: $20 New Mouse: $15 Winning an indy scrum game: Priceless

Sunday, April 09, 2006 at 11:23:39 AM

That means the mis file it's looking for doesn't exist. Make sure the file paths are absolutely right and the.mis file has the same name as the one in your dedicated server.bat file.

Sunday, April 09, 2006 at 11:36:58 AM

Could I just send the files to someone so that they can look at them? This is getting technical and it's only my first mod! XD

Thinktanks: $20 New Mouse: $15 Winning an indy scrum game: Priceless

Sunday, April 09, 2006 at 1:02:44 PM

 

 

                                        
terrainFile = "game/data/mission/river.ter";

 

The file path is supposed to be game/data/missions/

That should work.

Sunday, April 09, 2006 at 1:11:30 PM

Tanks, but I had actually just noticed that, fixed it, and it still doesn't work. :(

Thinktanks: $20 New Mouse: $15 Winning an indy scrum game: Priceless

Sunday, April 09, 2006 at 1:48:52 PM

Lol! And its da 9, sry date mesed up on mine

Monday, April 10, 2006 at 4:05:31 PM

Da 9?

Thinktanks: $20 New Mouse: $15 Winning an indy scrum game: Priceless

Wednesday, April 12, 2006 at 8:17:46 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