Random Map Generator

General talk about the map making process.
User avatar
Tanner
Private First Class
Private First Class
Posts: 575
Joined: Sat Sep 17, 2005 3:46 am
Location: Atl, GA
Contact:

Post by Tanner » Thu Mar 02, 2006 12:47 pm

^nightmare^ wrote:wow great job. Your coding this pretty quick. You should make one with plugins :)
Plug-ins, ahhhh!

Heres new version too. V0.5.1

Fixed the teleporter/flag per flag bugs.

-Tanner

And we're 10 lines short of 1000
Attachments
BM_RAN.zip
V0.5.1
(156.32 KiB) Downloaded 172 times
Tanner - Segway HT i180 Red Owner - Random Map Creator - BZStocks - TS Software

Image

User avatar
Discovery
Private First Class
Private First Class
Posts: 179
Joined: Thu Dec 15, 2005 10:08 pm
Location: My Home

Post by Discovery » Thu Mar 02, 2006 6:34 pm

looks good
SURRENDER!

User avatar
Tanner
Private First Class
Private First Class
Posts: 575
Joined: Sat Sep 17, 2005 3:46 am
Location: Atl, GA
Contact:

Post by Tanner » Sat Mar 04, 2006 11:21 pm

V0.6.5

Supports:
-Water Level
-Physics
-Random World Weapon Type

-Tanner
Attachments
BM_RAN.zip
V0.6.5
(159.65 KiB) Downloaded 174 times
Tanner - Segway HT i180 Red Owner - Random Map Creator - BZStocks - TS Software

Image

User avatar
imsome
Private First Class
Private First Class
Posts: 122
Joined: Fri Jun 03, 2005 3:30 am

Post by imsome » Sun Mar 05, 2006 5:24 pm

holy **** how fast can you wright this thing?

User avatar
Tanner
Private First Class
Private First Class
Posts: 575
Joined: Sat Sep 17, 2005 3:46 am
Location: Atl, GA
Contact:

Post by Tanner » Sun Mar 05, 2006 5:48 pm

imsome wrote:holy **** how fast can you wright this thing?
Heh.

As fast as I can understand, write, and debug.

-Tanner
Tanner - Segway HT i180 Red Owner - Random Map Creator - BZStocks - TS Software

Image

JPT
Private First Class
Private First Class
Posts: 260
Joined: Tue Nov 29, 2005 1:21 pm
Location: Germany

Post by JPT » Sun Mar 05, 2006 7:12 pm

Tanner

You can use FreeBasic.
It's a very similar syntax and it is for Linux, too.

Give it a try ;)

http://www.freebasic.net/

User avatar
the obvious trap
Private First Class
Private First Class
Posts: 239
Joined: Sun Nov 06, 2005 4:53 pm
Location: on a trip to Cirrus Minor
Contact:

Post by the obvious trap » Mon Mar 06, 2006 11:28 pm

it doesnt seem to work...
Image
There are no answers here

User avatar
sid6.7
Private First Class
Private First Class
Posts: 613
Joined: Mon Oct 06, 2003 9:58 pm
Location: West USA
Contact:

Post by sid6.7 » Mon Mar 06, 2006 11:34 pm

the obvious trap wrote:it doesnt seem to work...
thats not helpful...you need to tell him exactly what happens


thats like going to the doctor and only saying "i feel sick"...


not enough to go on...
Image

doing my uttermost best to make jeffm2501 pop a blood vessel or cry..which ever comes first..

BZrand Random map maker 6.4 , BZchecker map validator 1.5

User avatar
Tanner
Private First Class
Private First Class
Posts: 575
Joined: Sat Sep 17, 2005 3:46 am
Location: Atl, GA
Contact:

Post by Tanner » Mon Mar 06, 2006 11:35 pm

sid6.7 wrote:
the obvious trap wrote:it doesnt seem to work...
thats not helpful...you need to tell him exactly what happens


thats like going to the doctor and only saying "i feel sick"...


not enough to go on...
What he said. :D

-Tanner
Tanner - Segway HT i180 Red Owner - Random Map Creator - BZStocks - TS Software

Image

User avatar
the obvious trap
Private First Class
Private First Class
Posts: 239
Joined: Sun Nov 06, 2005 4:53 pm
Location: on a trip to Cirrus Minor
Contact:

Post by the obvious trap » Tue Mar 07, 2006 1:47 am

....nvm it works now....weird :?
:idea: a random thought, what if there was a server rotating (every 10 minutes or so) these random maps? It would be crazy
just a random thought, critisize at will
Image
There are no answers here

User avatar
Tanner
Private First Class
Private First Class
Posts: 575
Joined: Sat Sep 17, 2005 3:46 am
Location: Atl, GA
Contact:

Post by Tanner » Tue Mar 07, 2006 1:53 am

the obvious trap wrote:....nvm it works now....weird :?
:idea: a random thought, what if there was a server rotating (every 10 minutes or so) these random maps? It would be crazy
just a random thought, critisize at will
Heh, a random thought for a random map generator. :D

You mean, that having a server rotate every x minutes or so and generating a new map? It'd be fun but I BZFS imparied do not know how. Maybe someone could write a script or something.

-Tanner

Edit: Hmm, maybe it is possible just by my means alone...
Tanner - Segway HT i180 Red Owner - Random Map Creator - BZStocks - TS Software

Image

User avatar
Tanner
Private First Class
Private First Class
Posts: 575
Joined: Sat Sep 17, 2005 3:46 am
Location: Atl, GA
Contact:

Post by Tanner » Tue Mar 07, 2006 1:22 pm

Found a bug:

Start the program, select generate and go back to the menu. You'll notice you'll have a file somewhere (if you used the defaults) around 19kb, but if you repeat that process again, you get a 1-2kb file with no true objects.

Not sure why that is happening....

-Tanner
Tanner - Segway HT i180 Red Owner - Random Map Creator - BZStocks - TS Software

Image

User avatar
Tanner
Private First Class
Private First Class
Posts: 575
Joined: Sat Sep 17, 2005 3:46 am
Location: Atl, GA
Contact:

Post by Tanner » Tue Mar 07, 2006 1:31 pm

V0.6.6

Solves bug. I should be able to add a function to make it create a new map every x minutes.

-Tanner
Attachments
BM_RAN.zip
V0.6.6
(306.37 KiB) Downloaded 156 times
Tanner - Segway HT i180 Red Owner - Random Map Creator - BZStocks - TS Software

Image

User avatar
the obvious trap
Private First Class
Private First Class
Posts: 239
Joined: Sun Nov 06, 2005 4:53 pm
Location: on a trip to Cirrus Minor
Contact:

Post by the obvious trap » Tue Mar 07, 2006 5:06 pm

yes, a server like that would be interesting
I think...to keep things interesting, it would rotate fairly often, it would be fun
Im ignorant at these things too, so i dont know how to write functions or plugins or anything
hope it works! :)

btw: im at school typing this :twisted: :twisted: :twisted:
Image
There are no answers here

User avatar
sid6.7
Private First Class
Private First Class
Posts: 613
Joined: Mon Oct 06, 2003 9:58 pm
Location: West USA
Contact:

Post by sid6.7 » Tue Mar 07, 2006 5:49 pm

before you do that tanner i'd wait on the server thingy...

i dont know how the newer 2.04 works but what he wants
is more of a server thing/batch file that he would have
to code up himself to run the different maps...

no matter how many times your map maker would
generate a map if he doesnt have the batch file
thing written right it wont work....i dont think...

anyone know more about this?

unless maybe you just overwrite the old map with
the same name time after time? you'd lose the
old map though or any consecutive maps?
Image

doing my uttermost best to make jeffm2501 pop a blood vessel or cry..which ever comes first..

BZrand Random map maker 6.4 , BZchecker map validator 1.5

User avatar
Tanner
Private First Class
Private First Class
Posts: 575
Joined: Sat Sep 17, 2005 3:46 am
Location: Atl, GA
Contact:

Post by Tanner » Tue Mar 07, 2006 10:09 pm

sid6.7 wrote:before you do that tanner i'd wait on the server thingy...

i dont know how the newer 2.04 works but what he wants
is more of a server thing/batch file that he would have
to code up himself to run the different maps...

no matter how many times your map maker would
generate a map if he doesnt have the batch file
thing written right it wont work....i dont think...

anyone know more about this?

unless maybe you just overwrite the old map with
the same name time after time? you'd lose the
old map though or any consecutive maps?
I can write a map/file with a consecutive name, but if I try to write a map/file with a variable that changes (map_1.bzw, map_2.bzw....) I get strange characters. I just did a test on my computer (which has no knowledge of rotational server). I ran the server, and after it was running, I deleted the map file. And I wasn't joined in BZFlag yet. After the map file is gone, I join perfectly. BZFS has a cache or something? AFAIK it might be possible to replace a map while a server is running (that brings up an interesting thought)...

-Tanner
Tanner - Segway HT i180 Red Owner - Random Map Creator - BZStocks - TS Software

Image

User avatar
the obvious trap
Private First Class
Private First Class
Posts: 239
Joined: Sun Nov 06, 2005 4:53 pm
Location: on a trip to Cirrus Minor
Contact:

Post by the obvious trap » Tue Mar 07, 2006 10:47 pm

Tanner wrote:
sid6.7 wrote:before you do that tanner i'd wait on the server thingy...

i dont know how the newer 2.04 works but what he wants
is more of a server thing/batch file that he would have
to code up himself to run the different maps...

no matter how many times your map maker would
generate a map if he doesnt have the batch file
thing written right it wont work....i dont think...

anyone know more about this?

unless maybe you just overwrite the old map with
the same name time after time? you'd lose the
old map though or any consecutive maps?
I can write a map/file with a consecutive name, but if I try to write a map/file with a variable that changes (map_1.bzw, map_2.bzw....) I get strange characters. I just did a test on my computer (which has no knowledge of rotational server). I ran the server, and after it was running, I deleted the map file. And I wasn't joined in BZFlag yet. After the map file is gone, I join perfectly. BZFS has a cache or something? AFAIK it might be possible to replace a map while a server is running (that brings up an interesting thought)...

-Tanner
i am illeterate at all of this stuff
it was just a random thought :|
Image
There are no answers here

User avatar
Tanner
Private First Class
Private First Class
Posts: 575
Joined: Sat Sep 17, 2005 3:46 am
Location: Atl, GA
Contact:

Post by Tanner » Tue Mar 07, 2006 10:50 pm

the obvious trap wrote:
Tanner wrote:
sid6.7 wrote:before you do that tanner i'd wait on the server thingy...

i dont know how the newer 2.04 works but what he wants
is more of a server thing/batch file that he would have
to code up himself to run the different maps...

no matter how many times your map maker would
generate a map if he doesnt have the batch file
thing written right it wont work....i dont think...

anyone know more about this?

unless maybe you just overwrite the old map with
the same name time after time? you'd lose the
old map though or any consecutive maps?
I can write a map/file with a consecutive name, but if I try to write a map/file with a variable that changes (map_1.bzw, map_2.bzw....) I get strange characters. I just did a test on my computer (which has no knowledge of rotational server). I ran the server, and after it was running, I deleted the map file. And I wasn't joined in BZFlag yet. After the map file is gone, I join perfectly. BZFS has a cache or something? AFAIK it might be possible to replace a map while a server is running (that brings up an interesting thought)...

-Tanner
i am illeterate at all of this stuff
it was just a random thought :|
Random thought or not, it'd be cool. :D

Plus I need something to do... :P

-Tanner
Tanner - Segway HT i180 Red Owner - Random Map Creator - BZStocks - TS Software

Image

User avatar
Tanner
Private First Class
Private First Class
Posts: 575
Joined: Sat Sep 17, 2005 3:46 am
Location: Atl, GA
Contact:

Post by Tanner » Wed Mar 08, 2006 12:02 am

Added rotation. Please PM if you wish to help me figure out if that part works...

-Tanner
Tanner - Segway HT i180 Red Owner - Random Map Creator - BZStocks - TS Software

Image

User avatar
Tanner
Private First Class
Private First Class
Posts: 575
Joined: Sat Sep 17, 2005 3:46 am
Location: Atl, GA
Contact:

Post by Tanner » Sun Mar 12, 2006 4:01 am

New Version V0.7.0

Setting Exports.

-Tanner
Attachments
BM_RAN.zip
V0.7.0
(309.39 KiB) Downloaded 127 times
Tanner - Segway HT i180 Red Owner - Random Map Creator - BZStocks - TS Software

Image

User avatar
Tanner
Private First Class
Private First Class
Posts: 575
Joined: Sat Sep 17, 2005 3:46 am
Location: Atl, GA
Contact:

Post by Tanner » Sun Mar 12, 2006 3:08 pm

V0.7.2

Settings Exports in HTML and PHP

http://www.tssoftware.net/bzflag/random ... tings.html

-Tanner
Attachments
BM_RAN.zip
V0.7.2
(312.77 KiB) Downloaded 146 times
Tanner - Segway HT i180 Red Owner - Random Map Creator - BZStocks - TS Software

Image

Gnurdux
Corporal
Corporal
Posts: 25
Joined: Thu Jun 16, 2005 10:12 pm

C++ Structures

Post by Gnurdux » Sun Apr 02, 2006 9:54 pm

Structures are structs. Left over from C. They are, in C++, basically equivalent to classes, so never use them.

User avatar
Tanner
Private First Class
Private First Class
Posts: 575
Joined: Sat Sep 17, 2005 3:46 am
Location: Atl, GA
Contact:

Post by Tanner » Sun Apr 16, 2006 11:38 pm

V0.8.0

Now includes:
-Read Me
-Teleporter Collision Detection

Read the read me.

Download here

-Tanner
Tanner - Segway HT i180 Red Owner - Random Map Creator - BZStocks - TS Software

Image

User avatar
Tanner
Private First Class
Private First Class
Posts: 575
Joined: Sat Sep 17, 2005 3:46 am
Location: Atl, GA
Contact:

Post by Tanner » Thu Apr 20, 2006 12:33 am

Sneak preview:

On bzflag.norang.ca:5197

Image

-Tanner
Tanner - Segway HT i180 Red Owner - Random Map Creator - BZStocks - TS Software

Image

User avatar
Tanner
Private First Class
Private First Class
Posts: 575
Joined: Sat Sep 17, 2005 3:46 am
Location: Atl, GA
Contact:

Post by Tanner » Thu Apr 27, 2006 12:37 am

V1.0.0

A must-download. :)

Supports:
  • Boxes
  • Pyramids
  • Teleporters
  • On/Off Boxes, Pyramids, and Teleporters
  • FlipZ on Pyramids
  • Object Density
  • Random Teleporter Links
  • Z Position
  • Box, Pyramid, and Teleporter Rotation
  • World Size
  • Drive-through Support
  • Shoot-through Support
  • World Weapon Support (includes delay, int delay, type, and trigger)
  • Flags
  • Capture the Flag
  • Water Level
  • Random World Weapon Types
  • Settings Exports (HTML and TXT)
  • Groups
  • Teleporter Collision Check
  • Sets
  • Save/Open Settings
  • Enhanced Menus
  • One-Half Maps
  • One-Forth Maps
  • Flag Zones
Read the Read Me!

-Tanner
Attachments
Random_Mapper.zip
V1.0.0
(347.18 KiB) Downloaded 135 times
Tanner - Segway HT i180 Red Owner - Random Map Creator - BZStocks - TS Software

Image

Post Reply