SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > Help

Thread Tools Search this Thread
Old 04-13-2017   #1
Christmas is coming
Default Commmands And Multiplayer

Related to this thread.
Heres a small example of whats in my unfinished autoexec.cfg:

bind k DefaultControls
alias DefaultControls "CECHODURATION 1; CECHO Defualt Controls; soundtest 0; soundtest 56;"

When in a netgame, if I press K with that in my autoexec.cfg, will others see the CECHO and hear the soundtest? If they do, what can I use instead so that only I have both a visual and audible indicator that Ive pressed K? I plan to have the same button cycle through control schemes.
YevaEA is offline   Reply With Quote
Old 04-13-2017   #2
Mystic's Avatar

No, and there's nothing you can put into autoexec.cfg that will do what you want. Autoexec.cfg isn't synched with other players. It's simply a tool that executes a bunch of console commands when you load your game.

Hell, think about it: if there WAS a way to do what you suggest, do you think people wouldn't abuse the hell out of it to play as many obnoxious sound effects as possible in netgames?
Mystic is offline   Reply With Quote
Old 04-18-2017   #3
Monster Iestyn
Friendly Neighbour-Hood
Monster Iestyn's Avatar

You COULD make a custom command with Lua to add a visual indicator to the HUD that you've pressed k, at least in theory (you would have to make the alias run the command, and make the command itself change some variable to make a custom HUD function draw your indicator, etc etc).

But then that's not autoexec.cfg territory anymore, and would modify the game. =V

EDIT: Also yeah soundtest only plays a sound for the person who changed it, it wasn't designed for netgame purposes after all.
My page stuffed full of MIDI goodness!
The Hitchhiker's Guide to the Robo-Hoodiverse
Timeline of Sonic Robo Blast History!

That's an uppercase i, not a lowercase L, for the record. Also, it's pronounced "Yes-tin".

Last edited by Monster Iestyn; 04-18-2017 at 01:42 PM.
Monster Iestyn is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 01:09 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.