Skip to content
A module for Dota2 UI
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
game/dota_addons/spell_shop_ui
.gitattributes
.gitignore
README.md

README.md

Flash/Scaleform is deprecated in Dota2Reborn. No further support for this module.

SpellShop_UI

About

A custom UI module for use by map makers Version 1.02

Preview

Puu.sh links: Gold only | Point only | Gold and point | Info tab

Youtube links: Gold only | Point only | Gold and point | Whole screen

Features
  • Buying spells
    • Using gold
    • Using skillpoints (can buy/sell skillpoints)
    • Using both gold and skillpoints
  • Selling spells
  • Showing info
    • About the spellshop, or about your mod, or you can even write a novel so people have something to do while respawning
  • Custom icons
Usage
  • Put the files in their correct folders
  • It's not necessary to edit the .swf, but feel free to do so (source is included in "src SpellShopUI" folder)
  • Check and edit the files in "scripts/spell_shop_ui/"
  • Check and edit Lua files in "scripts/vscripts/spell_shop_ui.lua"
    • I'm no Lua coder, so I called the SpellShopUI:InitGameMode(); from within addon_game_mode.lua
    • The spells don't work as it is (the casting)! You have to precache stuff or do something else within Lua - I don't know, it's up to you.
      • Check Legends of Dota by Ash47 or something. I'm sorry, I can't help you with that
  • Put your custom icons (128 x 128) in "resource/flash3/images/spellicons/", PNG format
Events
  • Located in custom_events.txt, most are self explanatory
  • I didn't list all of them here
"spell_shop_ui_toggle_state"
	{
		"player_ID"		"short"
	}
// toggle the _canOpen stat of the shop (if true changes to false, if false changes to true)

"spell_shop_ui_shop_open"
	{
		"player_ID"		"short"
	}
// force the shop open (for example, when entering the trigger area or something. state must allow it)
// "spell_shop_ui_shop_close" is the same but for forcing close

"spell_shop_ui_change_limit"
	{
		"player_ID"		"short"
		"_limit"		"short"
	}
// "_limit" is the number of different spells/abilities a player can own
Changelog
  • V1.02
fixed the problem with sorting where i dun goofed it like a retard, loading more than 100 spells works correctly now
  • V1.01
added spells_default.txt
  - set default values for spells, other than _ID. then you dont have to write everything in the spells.txt, just the values that you dont want to pull from the spells_default.txt
Contact
  • Please contact me with any requests or bugs. Constructive and uncostructive criticism is welcomed aswell.
zed` or zed`` on #dota2mods @ irc.gamesurge.net
reddit.com/u/SelenaGomez_
spellshopui@gmail.com
Donation
  • If you want to donate, I would be more than grateful! Please contact me as I live in a poor country w/o paypal donations :(
You can’t perform that action at this time.