Infinity Project (Map Collaboration )

General talk about the map making process.
Post Reply
User avatar
ahs3
Private First Class
Private First Class
Posts: 277
Joined: Sun Mar 04, 2007 8:33 pm
Location: Press '/' to search
Contact:

Infinity Project (Map Collaboration )

Post by ahs3 » Sat Mar 12, 2011 1:35 am

Infinity is a map generating ruby script, based on predefined object locations and sizes. It basically selects random objects or groups to place in that position. The idea is a 'infinite' number of map possibilitys inside an existing layout.

To see the current version check out: bzbattleground.com:5154

Current layout with sections:

Image


Now to build a object for this map, there are restrictions, below are are list of max sizes X and Y. Z has no restrictions(within reason.
a size:
box 175x175
wings3d scale 350x350

bsize:
box 175x75
wings3d scale 350x150

csize:
wings3d 130x130
box 65x65

dsize:
wings3d 60x60
box 30x30

esize:
wings3d 100x100
box 50x50

f & g size
wings3d 160x160
box 80x80
All objects need to be built at 'pos 0 0 0'.

There are no restrictions on how many of each object you can build, build as many as you like.

If you choose group A it should be grouped with 'define a'.

Your file name, materials, dynacol, physics, teleporters, and texturematrix, should have your callsign followed by which group in it. example:

ahs3_a.bzw

Code: Select all

material
name ahs3_roof
texture roof
end


There are some predefined materials used by the base map, feel free to use them:

Code: Select all

material
  name blue-rail
    addtexture blue_basewall.png
texmat blue-rail
end



material
  name green-rail
   addtexture green_basewall.png
texmat green-rail
end

material
  name purple-rail
   addtexture purple_basewall.png
texmat purple-rail
end

material
  name red-rail
    addtexture red_basewall.png
texmat red-rail
end

material
  name zdrivethroughroof
    addtexture roof.png
diffuse 1 1 1 .9
end

material
  name chunk2
  noradar
noshadow
  texture http://images.bzflag.org/astevens/ahs3_chunk.png
end

material
  name boxwall
  diffuse grey65
  texture boxwall.png
end

material
  name concrete
  diffuse 0.8868 0.8868 0.8868 1.0000
  
  texture roof.png
end

material
  name yellowroof
  diffuse 1.0000 1.0000 0.0000 1.0000
  
  texture roof.png
end

material
  name gnd
  diffuse 1.0000 1.0000 1.0000 1.0000
  noradar
  texture std_ground.png
end

material
  name chunk
 noradar
  texture wall
end

material
  name road
  diffuse grey10
  
  texture roof.png
end

material
  name wall2
  
  texture http://images.bzflag.org/astevens/wall.png
end

This prevents confusion as to which object was built.

All objects should be released conforming to the rules of this forum: http://my.bzflag.org/bb/viewtopic.php?f=64&t=10575

I do ask that objects keep a low poly count.

Feel free to pm me with questions or post them here.

ahs3

User avatar
hutty
Private First Class
Private First Class
Posts: 227
Joined: Thu Jul 02, 2009 8:09 pm

Re: Infinity Project (Map Collaboration )

Post by hutty » Sat Mar 12, 2011 3:42 am

So the idea is you have a script that will grab randomly from a library of objects so that the map is different every time?
ps... what about street lamps
For all of you who have asked what a hutty is, there is one as my avatar.

instant map... just add water

User avatar
ahs3
Private First Class
Private First Class
Posts: 277
Joined: Sun Mar 04, 2007 8:33 pm
Location: Press '/' to search
Contact:

Re: Infinity Project (Map Collaboration )

Post by ahs3 » Sat Mar 12, 2011 3:57 am

huttymuncher wrote:So the idea is you have a script that will grab randomly from a library of objects so that the map is different every time?
ps... what about street lamps

yes exactly, and sure street lamps would be cool

mdskpr
Private First Class
Private First Class
Posts: 95
Joined: Sat Jan 28, 2006 4:17 pm

Re: Infinity Project (Map Collaboration )

Post by mdskpr » Sat Mar 12, 2011 2:19 pm

the wings3d scaling.....wings3d does percentage scaling not absolute scaling...how can I make sure that the object I create is going to be 175x175?

User avatar
ahs3
Private First Class
Private First Class
Posts: 277
Joined: Sun Mar 04, 2007 8:33 pm
Location: Press '/' to search
Contact:

Re: Infinity Project (Map Collaboration )

Post by ahs3 » Sat Mar 12, 2011 3:33 pm

MDSKPR wrote:the wings3d scaling.....wings3d does percentage scaling not absolute scaling...how can I make sure that the object I create is going to be 175x175?

First when you select which object to build from, like cube. click the square box to the right of the object.

Image

Then it gives you another box to select the size of the object.

Image

And thats it. It starts your object with the correct size.

But if your looking at object A, that would be 350x350 in wings3d

ahs3

Scythio
Private First Class
Private First Class
Posts: 42
Joined: Sun Feb 08, 2009 7:35 pm
Location: Aperture Science Lab Contaminant Quarantine

Re: Infinity Project (Map Collaboration )

Post by Scythio » Sat Mar 12, 2011 5:52 pm

Could be fun.... Ill try and whip up something.
Soon we will be facing bots that we can't beat...

mdskpr
Private First Class
Private First Class
Posts: 95
Joined: Sat Jan 28, 2006 4:17 pm

Re: Infinity Project (Map Collaboration )

Post by mdskpr » Sat Mar 12, 2011 7:10 pm

how many polys are too many? I have 7500(approx) lines? is that too many?

User avatar
ahs3
Private First Class
Private First Class
Posts: 277
Joined: Sun Mar 04, 2007 8:33 pm
Location: Press '/' to search
Contact:

Re: Infinity Project (Map Collaboration )

Post by ahs3 » Sat Mar 12, 2011 7:35 pm

MDSKPR wrote:how many polys are too many? I have 7500(approx) lines? is that too many?
Lines in the mapfile? That's fine. Just don't want a low fps map.

User avatar
blast
General
General
Posts: 4667
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Infinity Project (Map Collaboration )

Post by blast » Sun Mar 13, 2011 2:44 am

MDSKPR wrote:how many polys are too many? I have 7500(approx) lines? is that too many?
That's a question that's impossible to answer.
"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
mrapple
Sergeant Major
Sergeant Major
Posts: 460
Joined: Wed May 27, 2009 11:59 am
Location: Unknown
Contact:

Re: Infinity Project (Map Collaboration )

Post by mrapple » Mon Mar 14, 2011 1:27 am

Looks fun. To bad I'm amazing at procrastinating.
Image

Green Manalishi
Private First Class
Private First Class
Posts: 570
Joined: Thu Nov 18, 2004 5:54 pm
Location: Badgerking's, Mystic Valley, Overdoze, Eria Ziel, Stalingrad, Clay Hills, Urban Jungle

Re: Infinity Project (Map Collaboration )

Post by Green Manalishi » Wed Mar 16, 2011 6:24 am

the map is great fun as it is. more objects, more variety, more fun.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests