[SCRIPT] Mines

Incomplete code that isn't ready for use.
6 posts Page 1 of 1
3 Years of Ace of Spades
3 Years of Ace of Spades
Posts: 63
Joined: Tue Sep 03, 2013 4:20 am

this is my first pysnip script yadda yadda
sorry in advance for 100% of the code, you may contract cancer if you do so much as peek at it

right click on a block with a grenade to turn it into a mine! :D

mine functionality:
  • Explodes when an enemy/explosion is nearby (including other mines!)
  • Mines kill through 1 block thick walls(/floors/ceilings)
  • Takes time to activate
  • Team-based
    • Changes to preset team color on activation
    • Blues don't explode blue mines on proximity, greens(/reds) do
  • Shoot them to make them go boom!
other stuff:
  • Players spawn with 0 mines, and must go to the tent to get a maximum of 5
  • Dig mines to retrieve(/steal) them
    • Digging mines is safe, even for enemy players
  • Babel functionality
    • You can't place mines on your own tower or on heaven (the platform)
    • You can dig out enemy mines from your own tower, the script will replace the block instantly (no structure breaking involved)
    • You can explode mines from afar
  • @{/tm} (/togglemine [player]) Disables players' ability to place mines server-wide, or disables it only for a single player
  • @{/tma} (/togglemineadjacency [player]) Disables mines' ability to explode from nearby explosions, or disables it only for a single player
  • @{/cm} (/clearmines) Deletes all mines from the map, and replaces them with the previous block that occupied their spot; does not break structures.
  • @{/tim} (/toggleinfinitemines) Toggles whether players have infinite mines. Like infinite blocks in godmode. Server-wide.
  • (/mines) Shows you how many mines you currently have. (amount persists through infinite mines)
@{/alias} (/command)
@ = admin only

sorry in advance for 100% of the code, you may contract cancer if you do so much as peek at it
sorry if i forgot anything. tell me if i suck at scripting and/or need to fix something ASAP
please don't look inside i don't want you to die :(
(15.84 KiB) Downloaded 311 times
have an extremely laggy test server:
Post Demon
Post Demon
Posts: 2206
Joined: Mon Oct 21, 2013 4:32 pm

looking nice. I went on there and tried a bit. Looking pretty cool. Keep up the work
League Champs
League Champs
Posts: 296
Joined: Sat Jun 01, 2013 6:32 pm

really good job
i tried a bit on your server and that could be really nice on global master's on servers.
Post Demon
Post Demon
Posts: 866
Joined: Sat May 24, 2014 8:07 am

I could only see the script on my mobile so far, and it actually seems ok.
Somebody suddenly coming up with something so advanced is quite a surprise, well done. Now, your script is likely to drown, since the servers that have people on usually don't use such scripts, but if that doesn't happen, it will be a really great thing (would maybe even make me release some stuff).
Lee Revell
Posts: 8
Joined: Sun Sep 20, 2015 3:44 pm

I love it, I want to help make it bigger. So if it's ok with you I am going to put it on my posts, under your name though. Is that ok?
3 Years of Ace of Spades
3 Years of Ace of Spades
Posts: 11
Joined: Wed May 15, 2013 4:55 am

Nice script. It really adds something to the gameplay.
I used it on my server:
6 posts Page 1 of 1
Return to “Work In Progress”

Who is online

Users browsing this forum: No registered users and 2 guests