Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dota 2 Reborn Thread #17

Closed
lupuleasa-core opened this issue Jun 17, 2015 · 29 comments
Closed

Dota 2 Reborn Thread #17

lupuleasa-core opened this issue Jun 17, 2015 · 29 comments

Comments

@lupuleasa-core
Copy link
Owner

Discuss any issues and solutions here.
Haven't tested anything yet.

@lupuleasa-core
Copy link
Owner Author

Autoexec location is different.
Try copying the folders to C:\Program Files (x86)\Steam\steamapps\common\dota 2 beta\game\dota\cfg

@zero-code-hero
Copy link

Looks like the unborn stuff is saved in C:\Program Files (x86)\Steam\SteamApps\common\dota 2 beta\game\dota\cfg

Totally different format =(

Also the fuckers still won't let us bind space + key to anything

@lawli3t
Copy link

lawli3t commented Jun 18, 2015

im really sad, dont event want to play cuz of this

doesnt work in new location for me either - even when renaming to vcfg

@skipkayhil
Copy link
Contributor

Alright, here's what I got so far:

This should fix the autoexec not executing at all console output has changed so I can't confirm it executes on launch but I can type autoexec in console and I know its running

I run a modified version of your script but most of these errors will be the same

List of commands I've found are broken so far:

Source 1 command Source 2 replacement
echo ?
con_enable (is this necessary or is it enabled by default?)
contimes ?
execifexists exec (still works, I guess its best solution atm)
snd_updateaudiocache (new sounds engine so this might not be needed anyway?)
net_graphheight (untested) net_status?
a bunch more net graph commands (apparently they took out the netgraph for some reason)
r_threaded_shadow_clip
r_queued_decals
r_queued_postprocessing
mat_queue_mode (deprecated?)
cl_threaded_bone_setup
cl_threaded_init

Again, these may not all necessarily be in your script but this is what I have so far. The most important one to find a replacement for is execifexists because it's kinda the backbone for all the keybinds

Edit: Thinking out loud: wasn't there a way in source 1 to search for console commands through the console? I haven't found documentation on the source 2 console yet

Edit 2: use find to search for console commands, should speed things up

@xackoff
Copy link

xackoff commented Jun 18, 2015

all sixense commands are broken, no way to do right/left click from console. here is the dump of all Reborn cvars/commands - https://paste.ee/r/wak2Q

@lupuleasa-core
Copy link
Owner Author

Thank you guys for the help, I will try to look into it today.

And yeah, these commands have been removed:
echo
execifexists
playuisound

@lupuleasa-core
Copy link
Owner Author

Interested in commands to:

  • issue left/right clicks
  • play UI sounds
  • print stuff on screen
  • echo stuff in console
  • bind stuff to alt and space

That's what I need to put the cfg engine back in shape.

@skipkayhil
Copy link
Contributor

is binding to alt and space broken? or just execifexists?

@xackoff
Copy link

xackoff commented Jun 18, 2015

Have been tinkering with new engine for hours, that's what I have found:

  • issue left/right clicks - impossible
  • play UI sounds - playsound works with direct pathing to sound files from \dota 2 beta\game\dota_imported\pak01_dir.vpk, like this playsound sounds/ui/coins_big.vsnd_c. But it only works with sound/ui directory, doesn't seem to work with anything else (like hand of midas sound).
  • print stuff on screen - impossible
  • echo stuff in console - impossible
  • bind stuff to alt and space - space works as usual, alt should work with dota_remap_alt_key, but I haven't tested this.

@lupuleasa-core
Copy link
Owner Author

Will test now. I heard it is.

@Sembrani
Copy link
Contributor

Would it be possible to issue equivalent left/right clicks through steam controller support, simulating button presses on the controller?

@lupuleasa-core
Copy link
Owner Author

If you can tell me which command launches, I could do it.
Almost finished polishing the entire config to D2Reborn, but I cannot make left clicks to work or console printing of any kind.

@lupuleasa-core
Copy link
Owner Author

Some nice commands in source 2 I didn't know existed:

//Option to auto repeat right mouse
dota_player_auto_repeat_right_mouse 1

//Allow alt+right click to force movement in a direction.
dota_unit_allow_moveto_direction 1

@lupuleasa-core
Copy link
Owner Author

Anyone know how I can make autoexec runnable at game start?

@xackoff
Copy link

xackoff commented Jun 18, 2015

Modify \dota 2 beta\game\dota\cfg\game_convars.vcfg, so it looks like this:

"config"
{
    "convars"
    {
        "cl_updaterate"     "30"
        "mat_motion_blur_enabled"   "0"
        "snd_foliage_db_loss"   "0"
        "exec"  "autoexec.cfg"
    }
}

@lupuleasa-core
Copy link
Owner Author

It is done!

@ybtyklstybtyklst
Copy link

line 73 in both reborn's dota2_functions_active.cfg and in the old one goes

alias "quick_upgrade_courier" "dota_shop_force_hotkeys 1;toggleshoppanel;shop_nav_to_tab 0;shop_select_itemrow 8;toggleshoppanel"

It should be

alias "quick_upgrade_courier" "dota_shop_force_hotkeys 1;toggleshoppanel;shop_nav_to_tab 0;shop_select_itemrow 9;toggleshoppanel"

Since the courier and the upgrade have been moved in 6.84

net_graph is still included in functions but doesn't work any more in reborn

Installation instructions talk about rightclicking to clear keybinds - this only works in old client but clearing them in the old one also clears them in reborn.

@lawli3t
Copy link

lawli3t commented Jun 22, 2015

I have found out that on my keyboard i can unbind Hotkeys when i press the "-"-key. I have a qwertz-layout though as im german. Maybe try that?

@lupuleasa-core
Copy link
Owner Author

Reborn Updates can be viewed here:
http://www.dota2.com/reborn/updates

New update added a wider variety of available key binds

  • ctrl can be bound (retains its functions)
  • shift can be bound (retains its functions)
  • mouse wheel up and down can be bound (but it is buggy right now)
  • ping key (default alt) cannot be bound
  • escape cannot be bound
  • mouse 1,2,3 cannot be bound
  • the ";" key cannot be bound (???)

@lupuleasa-core
Copy link
Owner Author

Yeah, I posted a rant on reddit

maybe some devs see it

@lupuleasa-core
Copy link
Owner Author

Recent update added this:

  • Added a new simple network information overlay option that can display FPS, ping, and packet loss when in-game

@skipkayhil
Copy link
Contributor

NEW UPDATE, I'M HYPED:

  • Added an option for "Quick Attack" in settings (replaces some deprecated console commands from Source 1)

https://www.dota2.com/reborn/updates#June26

Edit: Yup, its great

@Sembrani
Copy link
Contributor

The question now is what alias do we bind the key to in the config file?

@skipkayhil
Copy link
Contributor

I'm not sure it changed. You just tick the setting and I think it works. will confirm this

I'm thinking this because I never bound anything to A in settings, just autoexec

Edit: yes, mc_attack works.

Edit 2: pushed a commit e0a1296

Edit 3: mc_move does not work :( I'm think you can safely remove that last sixense from the reborn config (for custom camera grip) too because it doesn't look like they are adding it back

@lupuleasa-core
Copy link
Owner Author

HYYYYPE

@lupuleasa-core
Copy link
Owner Author

What is the command for quick attack?

Is it the old mc_attack?

@lupuleasa-core
Copy link
Owner Author

The command is
dota_settings_quick_target_attack 1

Enable it to 1 and 0 and mc_attack will change.

@pnivlek
Copy link
Contributor

pnivlek commented Jul 17, 2015

Trying to create my own hotkeys, having trouble unbinding all of my keys in Reborn, far away key isn't working.

@lupuleasa-core
Copy link
Owner Author

If you press a far away key each time it works.

lupuleasa-core pushed a commit that referenced this issue Feb 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants