Giter VIP home page Giter VIP logo

csgoautoplaces's Introduction

CSGOAutoPlaces

Tool for map creators to automatically augment placenames into CS:GO nav-file.

How it works

The tool searches all solids with appropriately named visgroups and finds navmesh areas which match the painting strategy's search criteria; painting them with the attached Place name. Navareas that do not get painted with any placename will be unset.

Configuring Hammer

  1. Open "Run Map..." dialog.
    1. Make sure to enable expert mode
  2. Add new configuration
    1. Click Edit
    2. Click New
    3. Enter name for the new configuration. For example [AutoPlaces]
  3. Set up newly created configuration
    1. Click New
    2. Click Cmds
      1. Choose Executable and navigate to the executable of CSGOAutoPlaces
    3. Set parameters to: -vmf=$path/$file.vmf -nav=$gamedir/maps/$file.nav -strategy=raycast
  4. Done

How to use

Before using the tool, there needs to be the nav file generated. Compile the map and run the game to generate the navmap. To regenerate the navmap; execute nav_generate in the developer console.

Placenames are assigned through VisGroups with naming convention of ap_<Place>. For example: ap_CTSpawn. You can find the full list of compatible placenames by typing nav_use_place into the developer console. Or you can look them up from Here

Strategies

Raycast (default)

-strategy=raycast
Goes through all nav areas, and casts a ray downwards from the center of the cell. Closest hit with a solid with placenames attached get's painted.

AABB

-strategy=aabb
Does an AABB collision check between nav areas and solids. As nav areas hover on top of walkable solids, you need to create new hidden solids wherever nav areas are generated. Create placenames by assigning appropriate VisGroup for brushes on the floor. For maximal compatibility, assign only one placename per brush.

csgoautoplaces's People

Contributors

wukkopi avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

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.