Code Monkey home page Code Monkey logo

manta-config-engine's Introduction

Manta Config Engine

Join the chat at https://gitter.im/dodekeract/manta-config-engine MIT License Code Climate NPM Downloads NPM Dependencies Code Documentation

Dota 2 configuration builder. Compiles JSON to autoexec. There also is a web-app to easily create presets and build your own autoexec. The app is hosted on my server, so you don't have to set it up to use it.

Table Of Contents

Documentation

The documentation files for this project can be found here.

CLI Installation

  • Install node.js
  • Run npm install -g dota2-manta-config-engine.
  • Execute manta-config-engine path-to-preset, where path-to-preset is a relative path.

Beware that the CLI will assume that your Dota 2 is installed in the default Steam location. Use --path to specify a different one.

Library Installation

  • Install node.js
  • Run npm install -g dota2-manta-config-engine
  • Require manta in your code var manta = require('dota2-manta-config-engine')

CLI options

  • --path=customPath set a custom output path

Library usage

manta.compile(preset, callback)

  • Expects a valid preset, see presets/default.json.
  • Calls callback with err and data. Data is an object containing the .cfg filenames and their compiled data.

manta.data

manta.data.positions

An object with all camera positions manta currently uses

manta.data.phrases

An object containing all current chatwheel phrases

manta.data.emoticons

An object containing most emoticons

manta.data.heroes

An object containing all current heroes

manta.parser

manta.parser.Layout

internally used class to parse layouts

manta.parser.Setting

internally used class to parse settings

manta.parser.Chatwheel

internally used class to parse chatwheels

manta.parser.Dependency

internally used class to resolve dependencies

Contribute Your Presets

  • Fork this project.
  • Create your own preset file.
  • Create a pull request.

Contribute Engine Changes

  • Fork this project.
  • Implement new features.
  • Create a pull request.

Special Thanks

License

MIT

Changelog

Changelog

manta-config-engine's People

Contributors

crimsonvspurple avatar florianwendelborn avatar gitter-badger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

manta-config-engine's Issues

fix unexpected behavior

Finally figured out why my generated autoexec didn't work on freshly installed Dota 2.

  • add con_enable 1
  • add dota_ability_quick_cast 1

Fix or remove invalid settings after spring cleaning update

There are quite a few settings that do not work anymore.

  1. Either these should be fixed
  2. Or these should be removed from Manta.

For example:
Auto attack is not 2 bools anymore. It uses
dota_player_units_auto_attack_mode[0] = 0 | 1 | 2
where 0 is never; 1 is after spell; 2 is always.

There's new option for summoned units: dota_summoned_units_auto_attack_mode[0] and more.

In my opinion, these should be removed as these can easily be configured from in game options. In game options are easy to configure and synced nicely. I think focusing on augmenting that instead of completely replacing is a better approach.

Edit the chatwheel

Edit the two chatwheels please and use the 3rd key for the config.

Sincerely yours, the worst Jakiro player the world has ever fucking seen.

Extensions as reference?

Unless I'm making any mistake, right now the extensions are being inserted (as a copy) in the preset. What do you think about instead passing it as reference?

For example, when adding a chat wheel from extension library, it will refer it with an ID. So when the extension is modified, the preset is updated.

This way, we can move our chat-wheels/cycles as extension and not maintain the same thing in preset also.

Suggestion for non-default save location

How hard would it be to add an option like -o path/to/alternate/script/location to the CLI interface? I'm on a Mac so obviously C:\... isn't the right place to save on my machine.

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.