[Script] Script for testing and map review. (Plus a handy screenshot feature.) |
Mikuhl « Citoyen » 1383622620000
| 0 | ||
I was with Shamousey as he was doing his Map Crew duties, and I thought it was helpful if there was a lua script that could make map reviewing easier. After learning regex (super hard) I created an simple script that will help people test and review maps. It is pretty much #utility without all the un needed features. But I also added in a !screenshot command, that will allow you to screenshot the map without having you or other mice block the way. Plus you can include the info bar in your screenshot because it is redone with all the map attributes (if it has any) and the Perm Number, and the useless stuff like time and the shaman name are hidden! http://pastebin.com/raw.php?i=UMG2wVPf a dit : (The help command will only appear for the one who ran the script.) |
Championrs « Citoyen » 1383632100000
| 0 | ||
Hmm does it work for deathmatch reviews? |
Deathmatic « Citoyen » 1383652860000
| 0 | ||
Despit what the doc says, tfm.exec.newGame("#permCategoryNumber") doesn't work. A big gap for some mini-games that need to play a special category ! |
Abdeltif « Citoyen » 1383655920000
| 0 | ||
AWESOME ! I'l be using this for my life <3 |
Shamousey « Consul » 1383656700000
| 0 | ||
Your code could be improved in places. Is there any need for the variables like n="Night"? Even so, they should be local. Championrs a dit : It wouldn't have the cannon shooting but that's easy enough to implement ;) Deathmatic a dit : At least it'll be ready for when that works! |
Deathmatic « Citoyen » 1383660660000
| 0 | ||
Jaackster, you can remove the "!map #category" from the help ! ^^ Shamousey a dit : Yes, but meanwhile we have to put each map one by one in a table. :( |
Mikuhl « Citoyen » 1383687120000
| 0 | ||
Shamousey a dit : It was late at night, don't judge me. ;-; But I fixed it anyway, and I made it so if the wind was 0 or the gravity was 10 it wouldnt show. (Since those are the normal variables.) Edit: Whoops I fixed it again. I put 'or' instead of 'and'! |
Mikuhl 1383782100000
| | ||
[Modéré par Bolinboy, raison : double post] |
Andleandle « Citoyen » 1385892060000
| 0 | ||
a dit : Colored :) |