| Mirage Source http://miragesource.net/forums/ |
|
| /editmap command http://miragesource.net/forums/viewtopic.php?f=210&t=3647 |
Page 1 of 1 |
| Author: | Labmonkey [ Sun Apr 27, 2008 4:36 pm ] |
| Post subject: | /editmap command |
I know this is pretty simple, but people coming from elysium may find it really annoying to type "/editmap" and have nothing happen, and then realize that they have to type "/mapeditor" also it is really counter-intuitive to have every other editor be "/editX" expect for the map. Ok anyway. in modGameLogic, in the HandleKeypresses sub, find Code: ' Map Editor If LCase$(Mid$(MyText, 1, 10)) = "/mapeditor" Then frmMirage.Width = 14175 Call SendRequestEditMap MyText = vbNullString frmMirage.txtMyChat.Text = vbNullString Exit Sub End If under it put Code: ' Map Editor Alternative
If LCase$(Mid$(MyText, 1, 8)) = "/editmap" Then frmMirage.Width = 14175 Call SendRequestEditMap MyText = vbNullString frmMirage.txtMyChat.Text = vbNullString Exit Sub End If |
|
| Author: | Beres [ Tue May 06, 2008 7:08 am ] |
| Post subject: | Re: /editmap command |
OMG thx soo much! You saved my life |
|
| Author: | Labmonkey [ Tue May 06, 2008 7:41 pm ] |
| Post subject: | Re: /editmap command |
Your welcome |
|
| Author: | Robin [ Tue May 06, 2008 8:12 pm ] |
| Post subject: | Re: /editmap command |
Who said Americans can't detect sarcasm? |
|
| Author: | Tony [ Wed May 07, 2008 5:36 am ] |
| Post subject: | Re: /editmap command |
Code: ' Map Editor
If LCase$(Mid$(MyText, 1, 10)) = "/mapeditor" or LCase$(Mid$(MyText, 1, 8)) = "/editmap" Then frmMirage.Width = 14175 Call SendRequestEditMap MyText = vbNullString frmMirage.txtMyChat.Text = vbNullString Exit Sub End If |
|
| Author: | Labmonkey [ Wed May 07, 2008 7:02 pm ] |
| Post subject: | Re: /editmap command |
Thank you for that great optimization! I am sure it will help people with slow computers! |
|
| Author: | Robin [ Wed May 07, 2008 8:06 pm ] |
| Post subject: | Re: /editmap command |
Actually, speed-wise it does fuck all. It's still doing two checks. Just saves on space. |
|
| Author: | Labmonkey [ Wed May 07, 2008 11:08 pm ] |
| Post subject: | Re: /editmap command |
And you say americans cant detect sarcasm... unless you where also being sarcastic... damn I'm confused. |
|
| Author: | Soyokaze [ Thu May 08, 2008 3:13 pm ] |
| Post subject: | Re: /editmap command |
Labmonkey wrote: And you say americans cant detect sarcasm... unless you where also being sarcastic... damn I'm confused. Keep on trying, I'm sure you'll learn how to properly utilize the amazing skills of sarcasm eventually. |
|
| Author: | Robin [ Thu May 08, 2008 5:59 pm ] |
| Post subject: | Re: /editmap command |
Labmonkey wrote: And you say americans cant detect sarcasm... unless you where also being sarcastic... damn I'm confused. I know you were being sarcastic. From what you said though, I thought you were just exaggerating on the sense that it would increase speed by a small amount. |
|
| Author: | Labmonkey [ Thu May 08, 2008 7:29 pm ] |
| Post subject: | Re: /editmap command |
I hate when this happens on the internet.... the sarcasm part, not the ... wait what parts weren't sarcastic??? |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|