Zone Codes

Questions and answers about the how and why of making maps.
Post Reply
User avatar
Delta Lead
Private First Class
Private First Class
Posts: 77
Joined: Sat Aug 25, 2007 12:10 am
Location: Western New York U.S.A

Zone Codes

Post by Delta Lead »

Lol I need help with zone codes. I Have no idea how to can someone help me please?

I use pybzedit

Here The information i have.

____________________

Green Team Spawn Area

X=770.0
Y=200.0
H=7.0
Base Demensions are 30 by 30

____________________

Blue Team Spawn Area

X=-770.0
Y=-200.0
H=7.0
Base Demensions are 30 by 30

_____________________

I Need Ten Guided MIssiles Here

X=-500.0
Y=-200.0
H=82
30x30 Are the Demensions

________________________


I Need Ten Guided MIssiles Here

X=500.0
Y=200.0
H=82
30x30 Are the Demensions

_______________________

If Someone could do the codes for me it would be great and i also need to know where and how to insert them into my config file.
"This Is The Way The World Ends"

Im busy with life be back after 2008 ends.....
User avatar
Winny
Grouchy
Grouchy
Posts: 2381
Joined: Wed Aug 24, 2005 12:27 am
Location: Ottawa eh?
Contact:

Post by Winny »

First off, you don't insert them into your config file. You place them in the map file.

Please read this, it answers your question(s): http://my.bzflag.org/w/Zone

It's important to know the coordinate system if you are making any sort of map. Just think of it as a grid, so your blocks are at "500 feet in the x direction, and 200 feet in the y direction". Your zones need to extend 30 feet outside of that, so:

Code: Select all

zone
 name somezone
 position 500 200 82
 size 30 30 1
 rotation 0
 zoneflag GM 10
end
You can figure the other ones out for yourself. If you want to create a map you need to know the ins and outs of the format.
User avatar
Delta Lead
Private First Class
Private First Class
Posts: 77
Joined: Sat Aug 25, 2007 12:10 am
Location: Western New York U.S.A

Zones

Post by Delta Lead »

Thanks. Also,

I dont understand how you insert them into your map....
"This Is The Way The World Ends"

Im busy with life be back after 2008 ends.....
User avatar
Winny
Grouchy
Grouchy
Posts: 2381
Joined: Wed Aug 24, 2005 12:27 am
Location: Ottawa eh?
Contact:

Post by Winny »

You open the file in a text editor, and paste them in.

A map file is just a text file (.txt) with a different extension (.bzw).
User avatar
Delta Lead
Private First Class
Private First Class
Posts: 77
Joined: Sat Aug 25, 2007 12:10 am
Location: Western New York U.S.A

OK

Post by Delta Lead »

But how do i open it to paste? It's a Map File From PYbzedit
"This Is The Way The World Ends"

Im busy with life be back after 2008 ends.....
User avatar
joevano
General
General
Posts: 1863
Joined: Sat Jun 18, 2005 1:08 pm
Location: South Bend, Indiana, USA

Post by joevano »

Winny wrote:You open the file in a text editor, and paste them in.

A map file is just a text file (.txt) with a different extension (.bzw).
There is nothing worse than aggressive stupidity. -- Johann Wolfgang von Goethe
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln
User avatar
Delta Lead
Private First Class
Private First Class
Posts: 77
Joined: Sat Aug 25, 2007 12:10 am
Location: Western New York U.S.A

Shots

Post by Delta Lead »

How do i add more shots?
"This Is The Way The World Ends"

Im busy with life be back after 2008 ends.....
User avatar
joevano
General
General
Posts: 1863
Joined: Sat Jun 18, 2005 1:08 pm
Location: South Bend, Indiana, USA

Post by joevano »

You read the manual pages, look on the wiki, or search the forums. A little effort on your part goes a long way...
There is nothing worse than aggressive stupidity. -- Johann Wolfgang von Goethe
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln
User avatar
tw1sted
Private First Class
Private First Class
Posts: 849
Joined: Tue Feb 21, 2006 10:21 pm

Post by tw1sted »

You seem to be asking a lot of questions, all of which could be answered by a simple wiki search.

The wiki: http://my.bzflag.org/w
The wiki's search feature: http://my.bzflag.org/w/Special:Search
User avatar
Delta Lead
Private First Class
Private First Class
Posts: 77
Joined: Sat Aug 25, 2007 12:10 am
Location: Western New York U.S.A

I always search wiki

Post by Delta Lead »

I do search wiki but it doesnt really explain how to do it. Im kinda new at this so i dont know exactly what to do after i do what wiki says. But today i mastered FLag coding =D now i just need server variables lol

And thats hard with bzedit and due to the fact im not the one hosting the server....
"This Is The Way The World Ends"

Im busy with life be back after 2008 ends.....
User avatar
tw1sted
Private First Class
Private First Class
Posts: 849
Joined: Tue Feb 21, 2006 10:21 pm

Post by tw1sted »

You can set server variables in the map file. Have a look here for a list of all the server variables: http://my.bzflag.org/w/Server_Variables
Post Reply