Giter VIP home page Giter VIP logo

hemtt-mod-template's Introduction


*** Easy to expand on mod template ***


To use for your own project:

At root folder:

mod.cpp:
    * change <Name>, <Author> and <Prefix> to your mod. Prefix is TAG

icons and title .paa files:
    * replace with your own branding

in .hemtt/

    * change <Name>, <Author> and <Prefix> to your mod. Prefix is TAG

in addons\ :

main:
    stays as is, mostly. Use for shared macros (in main/script_macros.hpp) and to increase version (in main/script_version.hpp)
    
    * change all occurences of "TAG" to your actual tag in all files
    * change <Name>, <Author> and <Prefix> in main/config.cpp to your mod. Prefix is TAG
    * Entries in mod.cpp and CfgMods of main/config.cpp are duplicate, I can't quite tell when which is used, so maybe just keep them synced


addon_template:

    template for your actual content addons. Rename to your addon. (there is a copy under /templates/)

    * change all occurences of "addon_template" to your addon folder name (probably doesn't have to be lowercase)
    * change all occurences of "ADDON_TEMPLATE" to the same tag, just all caps (used in #defines)
    * change all occurences of "TAG" to your actual tag in all files

hemtt batch files

!! hemtt needs to be installed in system path or mod directory, otherwise you need to adjust the paths in the batch files !!

build.bat           - to build without signing. Will build into '.hemttout\build' directory.
build_launch.bat    - Launches Arma3 with your mod and dependencies defined in project.toml
build_dev.bat       - to build dev version, set up for file patching with associated softlinks. Will build into '.hemttout\dev' directory.
build_release.bat   - to build ready for release with signing.  Will build into '.hemttout\release' directory.

If you just build mod as is, your mod will be called "My Cool Mod" and do nothing but put out a chat message when you enter a mission/editor preview.

hemtt-mod-template's People

Contributors

brettmayson avatar mildlyinterested avatar overlordzorn avatar tacharsis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

hemtt-mod-template's Issues

[Suggestion] add Pause to .bat files

Using the build_xxx.bat files in the current state without the added pause in the end would close the terminal window, not giving access to built in linting in case some config is built wrong.

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.