Giter VIP home page Giter VIP logo

vmf_tool's Introduction

vmf_tool

A library for interpreting & editing .vmf files

This library was created for editing Valve's .vmf (Valve Map Format)

Parsing is provided by ValveVmf

Created as part of QtPyHammer

Installation

To use the latest version, clone from git & install dependencies:

$ git clone [email protected]:QtPyHammer-devs/vmf_tool.git
$ python -m pip install -r requirements.txt

Or to use the latest stable release, install via pip (Python 3.7+):

pip install vmf_tool

Usage

>>> import vmf_tool
>>> some_map = vmf_tool.Vmf.from_file("mapsrc/some_map.vmf")
>>> some_map.save_as("mapsrc/some_map.vmf.copy")

vmf_tool's People

Contributors

snake-biscuits avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vmf_tool's Issues

Textfile error

I'm using python 3.10.6 and i get the error and PySDL2 0.9.13

invalid requirement: 'PySDL2=-0.9.6' (from like 3 of requirement.txt)
Hint: is not a valid operator. did you mean == ?

User-created visgroups are a pain to work with

A method to check if a certain field is in a namespace (either singular or plural), and add a namespace to nest a namespace in another (Visgroup hierarchies, brush entities) & applying the plural system to keys which occur more than once in a namespace would all be very useful related methods

Feature Request: Brush creation

Add a function / method that adds brushes from a box selection (vec3 min & max)

Procedural shapes:

  • Pre-clipped stairs with pretty random texture offsets
  • Arch
  • Cylinder
  • Spike

All with similar parameters to what the Hammer Editor offers

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.