Hello this is Ashy and this is a template designed for Dota 2 Butt modes, which were inspired by Baumi.
To modify content in this mod follow these easy rules:
to modify text within the mod: go to resource then addon_english.txt, all text should be placed within this file to load it during the mod, I have only added the text for the gamemodes name currently.
to modify gamerules simply edit settings.lua within the scripts>vscripts folder.
to add brand new abilities, items, heroes and units, there is 2 ways to achieve this, either use lua or create them "datadriven", the basic rule of thumb is: datadriven can achieve alot of things however for more complex abilities etc lua is the only reliable way to go, once you decide which ability simply go into scripts>npc>npc_whatufancy_custom.txt and add it to bottom of the document (if you're having issues: use one of the highly valuable guides I have placed below). http://moddota.com/forums/discussion/14/datadriven-ability-breakdown-documentation https://moddota.com/forums/discussion/4/datadriven-items https://moddota.com/forums/discussion/224/datadriven-units
however if you choose the path of lua: http://moddota.com/forums/discussion/135/beginners-guide-to-dota-scripting https://developer.valvesoftware.com/wiki/Dota_2_Workshop_Tools/Scripting/API
and to modify already existing abilities,items,units etc simply add the item from scripts>npc>npc_whatufancychanging_custom.txt and change their values within the same file. (I have placed all current abilities, items, heroes and units into the folder titled Original 7.22 in order to stop it causing issues every update.)
lastly to test your gamemode and publish it, place this whole folder into your "*\steamapps\common\dota 2 beta\game\dota_addons" folder and rename it, then you can load into it via dota 2 workshop tools and when loaded in workshop tools you may test the gamemode via the console (to open: type `) then type dota_launch_custom_game dota
good luck and have fun, if you have any questions or issues whatsoever simply send me a pm via my steam: https://steamcommunity.com/id/luppylupan or more preferably: my discord: Ashy#9041
credit goes to the individuals who made those awesome guides above and dota barebones.
UPDATES---
-
Added new functions to vscripts/gamemode.lua. 1.1. OnCourierInGame, OnBuildingInGame, OnCreatureInGame, OnCreepInGame and OnIllusionInGame. 1.2. These functions are usable to handle applying effects and changes to any none-hero units which spawn in game.
-
Added new values to vscripts/settings.lua. 2.1. Starting gold, XP per level table.
-
I have fixed many crashes and slow downs which occur.
-
I have added a modifier from a older project which shows how to I handled changing stats and adding effects to items already in the game, this can be heavily built upon.
FUTURE--- I have plans to add more functionality to this template to make adding new features a breeze and allowing much more powerful butt modes without hassle. I will accept any suggestions and add them to future versions of this template.