Page 1 of 1

Infinity Project (Map Collaboration )

Posted: Sat Mar 12, 2011 1:35 am
by ahs3
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

Re: Infinity Project (Map Collaboration )

Posted: Sat Mar 12, 2011 3:42 am
by hutty
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

Re: Infinity Project (Map Collaboration )

Posted: Sat Mar 12, 2011 3:57 am
by ahs3
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

Re: Infinity Project (Map Collaboration )

Posted: Sat Mar 12, 2011 2:19 pm
by mdskpr
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?

Re: Infinity Project (Map Collaboration )

Posted: Sat Mar 12, 2011 3:33 pm
by ahs3
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

Re: Infinity Project (Map Collaboration )

Posted: Sat Mar 12, 2011 5:52 pm
by Scythio
Could be fun.... Ill try and whip up something.

Re: Infinity Project (Map Collaboration )

Posted: Sat Mar 12, 2011 7:10 pm
by mdskpr
how many polys are too many? I have 7500(approx) lines? is that too many?

Re: Infinity Project (Map Collaboration )

Posted: Sat Mar 12, 2011 7:35 pm
by ahs3
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.

Re: Infinity Project (Map Collaboration )

Posted: Sun Mar 13, 2011 2:44 am
by blast
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.

Re: Infinity Project (Map Collaboration )

Posted: Mon Mar 14, 2011 1:27 am
by mrapple
Looks fun. To bad I'm amazing at procrastinating.

Re: Infinity Project (Map Collaboration )

Posted: Wed Mar 16, 2011 6:24 am
by Green Manalishi
the map is great fun as it is. more objects, more variety, more fun.