I need help with a map and a config file, please.

Questions and answers about the how and why of making maps.
Post Reply
User avatar
Scorch
Private First Class
Private First Class
Posts: 747
Joined: Thu Sep 30, 2004 12:16 am

I need help with a map and a config file, please.

Post by Scorch »

I have a server that works fine and all. BUT, i made a new map and a new conf for it and now it's seriously not working!

problems;
  • 1. base was not defined for team 3, capture the flag game style removed, i don't think thats true but take look at map anyway.
    2. when you go in the teleporters on the ground (run map to see if true for you 2) it kicks you for "play out of area", look at links in BZEdit and you will see why strange.
that just about wraps things up, but if you solve those i'll put you in a hall of fame somewhere :wink: and then of course dump some more difficulties that i will find later on you :D .

attatchments follow;
Attachments
backdown.map
the map!
(2.82 KiB) Downloaded 426 times
samplebackdownBzBb.txt
the conf! unimportant=not to be viewed, no problems with.
(2.34 KiB) Downloaded 398 times
User avatar
sid6.7
Private First Class
Private First Class
Posts: 614
Joined: Mon Oct 06, 2003 9:58 pm
Location: West USA
Contact:

ur map

Post by sid6.7 »

anything map related should go down in the map forum
just so you know...

it sounds like you have an older version of bzedit
where it appears you have placed down a color
platform for a team, but bzedit had an error with
that and was messing up the colors so things did not
work right....

check your -conf file make sure you have all 4 colors

then go edit your *.map file BY HAND...go down
to where the team platforms are and make sure
you have all 4 colors...probably 1 is missing and
you'll find 2 of the same color...

plus go get the latest bzedit...
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Post by JeffM »

You have defined bases for teams 1 and 2
but in your config you define teams for 1 and 3.

The error is correct, you do not have a base for team 3.

Fix your links.

Moving to map forum and making the title somewhat descriptive of the actual problem.
ImageJeffM
User avatar
Scorch
Private First Class
Private First Class
Posts: 747
Joined: Thu Sep 30, 2004 12:16 am

Post by Scorch »

Patlabor221 wrote:You have defined bases for teams 1 and 2
but in your config you define teams for 1 and 3.

The error is correct, you do not have a base for team 3.
ok thank you pat.

but,
Patlabor221 wrote:Fix your links.
come on! My links are fine as it says in bzedit i don't know link code! and i do not want to learn it sorry!

and i need what version of BZEdit? i have BZEdit1.6.2 (.exe)
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Post by JeffM »

if your links are bad the only way to fix them is to fix them. BZEdit is not perfect. Check them by hand. best thing to do is to make sure that all your links are in the map AFTER your teleporters as order of link IDs does mater.
ImageJeffM
User avatar
Scorch
Private First Class
Private First Class
Posts: 747
Joined: Thu Sep 30, 2004 12:16 am

Post by Scorch »

:?: :shock: :?:
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Post by JeffM »

*sigh*

open the map in a text editor

make sure all the teleporters are after the boxes, and pyramids.

then make sure all your links are after those.

make sure the link IDs match up.

link ID 0 is side 1 of the first teleporter in the map.
link ID 1 is side 2 of the first teleporter in the map.
link ID 2 is side 1 of the second teleporter in the map.
and so on...

you have links that define links to teleporters that are AFTER the link. This is bad, fix the ordering of links and it should be ok.

You may not want to learn this stuff, but you have to if you expect to make good maps.
ImageJeffM
User avatar
Scorch
Private First Class
Private First Class
Posts: 747
Joined: Thu Sep 30, 2004 12:16 am

Post by Scorch »

right... i have no idea what your saying. can you do it in your spare time mabye?
User avatar
blast
General
General
Posts: 4933
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Post by blast »

Scorch, what you need to do is open your map in a text editor and cut and paste all the "link" blocks to the end of the file. Otherwise, BZFlag will ignore links that appear before the teleporter.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
User avatar
Scorch
Private First Class
Private First Class
Posts: 747
Joined: Thu Sep 30, 2004 12:16 am

Post by Scorch »

now that's what i call english! :D ill do that.
User avatar
Scorch
Private First Class
Private First Class
Posts: 747
Joined: Thu Sep 30, 2004 12:16 am

Post by Scorch »

ok done, fixed bases! one more problem.. :roll:

if you go in teleporters on ground near wall;
it does,

[SERVER->] Autokick: Player location was outside the playing area.

and log says (supposing callsign of Scorch and 'ID' [0],

y position (nan) is out of bounds (400 + 10)
Kicking Player Scorch [0] Out of map bounds at position (nan,nan,nan)
Player Scorch [0] on 5 removed: Out of map bounds

Ideas anyone? :?: :rock: :?:
User avatar
Scorch
Private First Class
Private First Class
Posts: 747
Joined: Thu Sep 30, 2004 12:16 am

Post by Scorch »

oh yes and updated map;
Attachments
backdown.map
Updated map, fixed base problem, teleporter links at bottom.
(2.82 KiB) Downloaded 346 times
User avatar
blast
General
General
Posts: 4933
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Post by blast »

Starting at line 237, I see the following link:

Code: Select all

link
	from -1
	to -1
end
Try removing that and see if it works. I don't have BZEdit on this computer, nor the time to look at the map in detail. The main part of the error that scares me is the "nan,nan,nan" part. NaN means "Not a Number", so it is likely a messed up link/teleporter.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
User avatar
Scorch
Private First Class
Private First Class
Posts: 747
Joined: Thu Sep 30, 2004 12:16 am

Post by Scorch »

YAY! It works! ok back to developing...
Thank you! This map will now prob be running on my server. (I will not update map in this forum anymore.)
Post Reply