Coder Social home page Coder Social logo

customheroselection's People

Contributors

perryvw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

customheroselection's Issues

Game hangs when custom hero selection screen should be shown

I've tried to create a barebones project and followed all the necessary steps in your README (for the location of the files, I assumed the panorama folder needs to be merged with the one in "dota 2 beta\content"). However, as soon I load into the game, instead of showing the custom hero selection screen, the game just starts hanging. Do you have any idea what might cause this behaviour?
Does this example still work with the current version of the game?

Gold is not properly set when selecting hero.

The Gold is not set properly,m when repalcing the Hero. When iset the gold via StartingGold in GameEvent manager, it gets to 0 when hero is replaced.

Changed the following line:

function HeroSelection:AssignHero( player, hero )
PrecacheUnitByNameAsync( hero, function()
-- 28.02.2019 Changed by SirWayNe, Replace with Proper Gold Value
-- PlayerResource:ReplaceHeroWith( player, hero, 0, 0 )
PlayerResource:ReplaceHeroWith( player, hero, PlayerResource:GetGold( player ) , 0)
end, player)
end

Double-or-more-Hero Support

Hey,

your Hero Selector works fine, but i really would like to have the possibility to have a limited number of the same hero to pick instead of default only once.

Also can you make a additonal name-plate next to the hero button to declare which hero this is? Since im using Custom Heroes, with totally different Ability Builds etc. it would be nice to place a Text here.

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.