212 Open Daily games
1 Open Realtime game
    Pages:   1   (1 in total)
  1. #1 / 3
    Shelley, not Moore Ozyman
    Rank
    Brigadier General
    Rank Posn
    #40
    Join Date
    Nov 09
    Location
    Posts
    3449

    WGLib is a python module that can be used to create, load, manipulate, and save WarGear maps.


    If you want to see an example of what it can be used for, I have used this code to create two (as of yet unpublished) maps:

    http://www.wargear.net/boards/view/1429

    http://www.wargear.net/boards/view/1971

     

    The code is in decent shape, but not perfect.  I would be happy to help anyone get started using it (and with using python in general) if they are interested. 

    Online documentation is here:

    http://prestopnik.com/wargear/python/docs/

    The source code is here:

    http://prestopnik.com/wargear/python/src/WGLib.py

     

     

    Edited Fri 18th Feb 22:01 [history]

  2. #2 / 3
    Standard Member RiskyBack
    Rank
    Colonel
    Rank Posn
    #105
    Join Date
    Nov 09
    Location
    Posts
    1190

    Ozyman, this is AWESOME!  Unfortunately I think that the coding of it would actually take me longer and give me more opportunities to screw up than the monkey work of just clicking around.  I will try it if I ever get an idea for a map that I like again.

    That is really cool and I appreciate it.

    People Always Leave

  3. #3 / 3
    Shelley, not Moore Ozyman
    Rank
    Brigadier General
    Rank Posn
    #40
    Join Date
    Nov 09
    Location
    Posts
    3449

    Thanks for the kind words.  I figure there was probably < 50% chance that anyone else would want to use this, but since I had it written, I thought I should make it available.  I mostly wanted an excuse to get more familiar with python and related technologies.


You need to log in to reply to this thread   Login | Join
 
Pages:   1   (1 in total)