Skip to content

RonaldReagan/PyssaultCube

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

PyssaultCube

Provides python utilities to AssaultCube written by Ronald_Reagan

List of contents:

PyACube:
A python module for interacting with AssaultCube in various ways. Currently just reading, editing, and writing map files (cgz and cfg).
mapfiles/ - submodule for interacting with cgz and cfg files
--------/cfg.py - defines classes and functions for reading and writing .cfg files. Main class is MapCFG.
--------/cgz.py - defines classes and functions for reading and writing .cfg files. Main class is ACMap.
--------/consts.py - defines constant values. This includes team numbers, currentmapformat (the currently supported map file format), cubetypes and such.
--------/misc.py - contains random utilities that may be used.

Examples_PyACube:
A directory containg files using PyACube. ./ac_random.py - a almost completely random map generator. The map is fully playable, however probably will not provide too much gameplay value. Demonstrates basic usage of the cgz module.
./ac_helloworld.py - a simple hello world program, pointing out basic map manipulation.
./mapcfgclean.py - cleans out all unused textures, mapmodels, and sounds from a maps config file. Demonstrates useage of both the cgz and cfg modules.
./macrodemo.py - a demo showing all the macros in the macro part of the module.
./macrotools.py - a couple tools to make and view macros.

Programs
Contains standalone programs. May use PyACube.
./BlacklistCleaner.py - cleans out ipblacklists and nicknameblacklists of unwanted bans and accepts. Also can add in entries.
./BnW - Converts a packages folder to black and white. As well providing support for partial desaturation.

About

Provides python utilities for AssaultCube.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages