SRB2 Message Board  

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

Reply
 
Thread Tools Search this Thread
Old 04-13-2017   #1
YevaEA
Christmas is no longer here
 
YevaEA's Avatar
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.
__________________
Quote:
Originally Posted by toaster View Post
Fuck.wad isn't the whole picture.
YevaEA is offline   Reply With Quote
Old 04-13-2017   #2
Mystic
チェン!
Administrator
 
Mystic's Avatar
Default

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
Moderator
 
Monster Iestyn's Avatar
Default

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.

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

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 11:08 PM.


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