Forums Index >> Modding >> ACAS Bind Error Fixed
Page : <1> :
//----------------------------------------------------------------------------\
//--------------------------------- Bind -------------------------------------\
//----------------------------------------------------------------------------\
GlobalActionMap.bind(keyboard,"ctrl s","ShowACAdminScriptGui");
This was not in my admin script so I added it, Is that ok?
4/1/1929 to 11/17/2006 Rest in Peace Bo. GO BLUE!!!
Thats weird repent... It should be...
are you sure you are looking in your prefs.cs file?
yes it is ok that you added it if it wasnt there already... But it should be there already...
if you still have a bind error, tell me about it
Lol... I don't think I had a bind error to start with. I just put it in because you said to. XD
4/1/1929 to 11/17/2006 Rest in Peace Bo. GO BLUE!!!
Warfare, I think I have to teach you something...
MoveMap will ONLY work if you're in a server, while GlobalActionMap will work anywhere in TT, I made it movemap on porpose ;) as it can bring some bugs to the player if he accidentally clicks one of the keys on the menu and other parts.
Those errors are simple to fix, just use the way I used in the GUI script execs to just run server scripts if the game is dedicated. I thought I had included it in the binds... Ah well. Anyways if you can get it working just like I said I'd appreciate it :)
PS: Repent's version's bind is on one of the compiled files in the client side of the GUI folder... A bit old but it doesnt consist of any problem
Last edited: Tuesday, November 29, 2005 at 10:24:21 AM
I dont need to be taught this time :)
That is the way it is supposed to be done...
Even GarageGames does it this way with their TGE demo...
ACAS is set up perfectly already for it to use Globalactionmap with no errors anywhere
But its not GG's script, its yours.
I guess I will just put it back the way it was...
Page : <1> :
For those of you who are annoyed by the bind errors in your dedicated server window when using ACAS look no further!
It appears Art Crazy was using the wrong key mapping function when he tried to make the observer script and the display gui function for his admin script... But that has been fixed!
If you dont want to dig in some files, download the replacement files here! (at the bottom of the page...)
If you would rather replace the lines of code yourself... Follow along...
In the Observer 1.cs file find these two lines...
moveMap.bind(keyboard,"ctrl o",ObservKeyBind);
MoveMap.bind(keyboard,"alt o",MMsObserverKeyBind);
Replace them with these two lines...
GlobalActionMap.bind(keyboard,"ctrl o",ObservKeyBind);
GlobalActionMap.bind(keyboard,"alt o",MMsObserverKeyBind);
And in your prefs.cs file find this line...
moveMap.bind(keyboard,"ctrl s","ShowACAdminScriptGui");
And replace it with...
GlobalActionMap.bind(keyboard,"ctrl s","ShowACAdminScriptGui");
Hope this makes enough sense for you guys...
Enjoy! B)
War
Edit: I know I have a load of information for you to change and fix regarding ACAS... Very soon I will have the entire thing ready to re-download as a whole so dont worry! :)
Last edited: Sunday, November 27, 2005 at 7:03:49 PM