• Search
  • Register
  • Log in
  • Ace of Spades Game Forums » Maps
  • Note: This forum is merely an archive. It is no longer possible to login or register. - StackOverflow
    New Ace of Spades Forums: http://buildandshoot.com/
  • custom map generators (stb)
  • 123
     

    one query though, how do i use the gens when making a server?

    The server asks you what vxl map file to load. So before you run the server, you run one of the generators to create a vxl file, then you load that on the server.

    When Ben puts in victory conditions / automatic map resets, this will change. If all goes according to plan then at that point you'll be able to hook these generators up to to the server so it can automatically generate a new map itself.

    #11330
    nothings
    Member
    Posted 12 years ago
     

    <bump>

    #12109
    alexthecreeper
    The Creator
    Posted 12 years ago
     

    >bump<

    #12615
    e_Rac
    Member
    Posted 12 years ago
     

    Sure is bumpy in here.

    #12645
    bildramer
    Member
    Posted 12 years ago
     

    I currently use the save_vxl function for pyspades, and I've found a rather fatal, admittedly rare, bug with it. Sometimes, top_colors_end can be 0, and since the code sets it to top_colors_end - 1, it wraps and becomes 255. Doing a simple

    if (top_colors_end == 0)
        *out = 0;
    else
        *out = top_colors_end - 1;

    fixes the problem, so it's a rather trivial problem also :)

    #20887
    mat^2
    pyspades developer
    Posted 12 years ago
     

    Whoops.

    Hmm. I don't think that would fix it, because then it should try to load an extra color, does that really work?

    Basically, the code should never work if top_colors_start == top_colors_end. It's designed around the assumption there will always be some top_colors.

    I believe the correct fix is to add the following to is_surface, after is "if (map[...])" check:

    if (z == 0) return 1;

    which just says "if a solid voxel is at the top edge of the map, it is visible, so it is a surface voxel". I believe this was even mentioned in the voxlap documentation, and I just forgot to enforce it.

    But I haven't tested the fix.

    #21348
    nothings
    Member
    Posted 12 years ago
     

    This is amazing.

    I can't wait till people can put up a rotation of these map gens, leading to strings of maps that are all different, but has one theme.

    #49745
    muncher21
    Inactive
    Posted 12 years ago
     

    Inb4 necrobumping accusations.

    #49748
    1337101
    Modifier
    Posted 12 years ago
     

    Fucking bloody hell 1337101, get out of my head.

    <3

    #49750
    Kaede-chan (かえでーちゃん)
    Imageboard Moderator
    Posted 12 years ago
     

    @Kaede-Chan: Nah, that was pretty easy to call.

    #49752
    1337101
    Modifier
    Posted 12 years ago
     

    Jeez sorry, I guess this forum is srs bzns right?

    #49757
    muncher21
    Inactive
    Posted 12 years ago
     

    Something like that.

    #49768
    1337101
    Modifier
    Posted 12 years ago
     

    The hell are you doing browsing these dusty old threads anyway?

    #49831
    Kaede-chan (かえでーちゃん)
    Imageboard Moderator
    Posted 12 years ago
     

    Well, 1337 mentioned the random map generators, and nothings, so I just looked it up real quick.

    #49835
    muncher21
    Inactive
    Posted 12 years ago
     

    I figured it was something like that.

    I actually don't mind that his stuff is getting some publicity out of this... they really are nice third-party tools.

    #49836
    1337101
    Modifier
    Posted 12 years ago
    123
    RSS feed for this topic  

    Reply

    You must log in to post.

  • Tags
  •  

  •  
    Ace of Spades Game Forums is proudly powered by bbPress.   //   Theme by Mike Lothar  
    [ Time : 0.401s | 13 Queries ]