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 »

^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 210 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 »

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 »

V0.6.5

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

-Tanner
Attachments
BM_RAN.zip
V0.6.5
(159.65 KiB) Downloaded 214 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 »

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 »

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 »

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 »

it doesnt seem to work...
Image
There are no answers here
User avatar
sid6.7
Private First Class
Private First Class
Posts: 614
Joined: Mon Oct 06, 2003 9:58 pm
Location: West USA
Contact:

Post by sid6.7 »

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...
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 »

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 »

....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 »

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 »

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 »

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 197 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 »

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: 614
Joined: Mon Oct 06, 2003 9:58 pm
Location: West USA
Contact:

Post by sid6.7 »

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?
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 »

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 »

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 »

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 »

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 »

New Version V0.7.0

Setting Exports.

-Tanner
Attachments
BM_RAN.zip
V0.7.0
(309.39 KiB) Downloaded 170 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 »

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 178 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 »

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 »

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 »

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 »

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 164 times
Tanner - Segway HT i180 Red Owner - Random Map Creator - BZStocks - TS Software

Image
Post Reply