- What permissions do you give others to modify and/or maintain your submission?
- Modify: ASK ME - Maintain: IN MY ABSENCE - Others must ask me for permission before modifying my submission or use it in their own work, and I reserve the right to say no for any reason. However, if I can no longer be contacted, I give permission for my entire submission to be maintained by others.
- I made sure my file(s) follow the Submissions Guidelines
- Yes
The Hyper Emerald, aka the Almighy Eighth (Wanted to make a second name so people wouldn't think this as a hyper mod) is a basic LUA that - By default - Spawns the Ultimate 8th Powerstone at some point in a ringslinger game.
On map load, the addon selects a random ring to use as the spawnpoint. Then after a random (or preset) amount of time, the area will start sparkling. After 4 seconds, a global noise is played before the Hyper Emerald spawns in.
Picking up the Hyper Emerald will grant the user the 7 Powerstones, allowing them to do a match super instantly, as well as award the player some bonus (Or penalty) rings, and also lets the player keep their current powerstones, meaning collecting it won't remove your collected stones.
When spawned in, the Hyper Emerald is visible via rotating Hyper-Sparks, it's own flashing colour pallete and, if the player is in 'sight' of the Hyper Emerald, a small spark will spawn and move at the Hyper Emerald to show and indication of where it is.
This mod also has compatability with Match Super - Allowing you to reset your Super/Sol timer when collected!
LUA and Command Stuff
When loaded, this LUA uses the rawset MP_HyperEmerald, which can be used to check if this is loaded or not. For whatever reasons you see fit
On map load, the addon selects a random ring to use as the spawnpoint. Then after a random (or preset) amount of time, the area will start sparkling. After 4 seconds, a global noise is played before the Hyper Emerald spawns in.
Picking up the Hyper Emerald will grant the user the 7 Powerstones, allowing them to do a match super instantly, as well as award the player some bonus (Or penalty) rings, and also lets the player keep their current powerstones, meaning collecting it won't remove your collected stones.
When spawned in, the Hyper Emerald is visible via rotating Hyper-Sparks, it's own flashing colour pallete and, if the player is in 'sight' of the Hyper Emerald, a small spark will spawn and move at the Hyper Emerald to show and indication of where it is.
This mod also has compatability with Match Super - Allowing you to reset your Super/Sol timer when collected!
LUA and Command Stuff
When loaded, this LUA uses the rawset MP_HyperEmerald, which can be used to check if this is loaded or not. For whatever reasons you see fit
MP_HyperEmerald
A general command list that displays all commands and their current values, as well as info on them.
mp_hyperemerald_spawn
(-1 - 1)
A setting for the initial spawn. When set to 0, the LUA will no longer work. If set to -1, the time is determined by the timelimit of the gamemode. If set to 1, the time is set by the following two commands.
mp_hyperemerald_spawn_upper
(5 - 1800)
Sets the maximum time the Hyper Emerald will take to spawn when mp_hyperemerald_spawn is set to 1.
mp_hyperemerald_spawn_lower
(5 - 1800)
Sets the mimimum time the Hyper Emerald will take to spawn when mp_hyperemerald_spawn is set to 1.
Please note that unless both values are equal, a random value between -17 and 17 tics is added onto the spawn timer. Y'know, for spice.
mp_hyperemerald_respawn
(-1 - 1)
Similar to mp_hyperemerald_spawn, this determines the respawn of the Hyper Emerald. -1 uses leveltime, 1 uses set time and 0 prevents respawn.
mp_hyperemerald_respawn_upper & mp_hyperemerald_respawn_lower
(5 - 1800)
Identical to mp_hyperemerald_spawn_upper & mp_hyperemerald_spawn_lower, but for respawning the Hyper Emerald. Same functionality when both are not equal.
mp_hyperemerald_ringbonus
(-9999, 9999)
Sets how many bonus or penalty rings the player receives when collecting the Hyper Emerald. Positive gives rings, Negative removes rings, and 0 disables this.
mp_hyperemerald_allmodes
(0, 1)
Disabled by default, when this is set to 1, the Hyper Emerald will spawn in ANY gamemode, such as Race, Battle, even Singleplayer. I don't take responsibility if something goes wrong with this on lmao
A general command list that displays all commands and their current values, as well as info on them.
mp_hyperemerald_spawn
(-1 - 1)
A setting for the initial spawn. When set to 0, the LUA will no longer work. If set to -1, the time is determined by the timelimit of the gamemode. If set to 1, the time is set by the following two commands.
mp_hyperemerald_spawn_upper
(5 - 1800)
Sets the maximum time the Hyper Emerald will take to spawn when mp_hyperemerald_spawn is set to 1.
mp_hyperemerald_spawn_lower
(5 - 1800)
Sets the mimimum time the Hyper Emerald will take to spawn when mp_hyperemerald_spawn is set to 1.
Please note that unless both values are equal, a random value between -17 and 17 tics is added onto the spawn timer. Y'know, for spice.
mp_hyperemerald_respawn
(-1 - 1)
Similar to mp_hyperemerald_spawn, this determines the respawn of the Hyper Emerald. -1 uses leveltime, 1 uses set time and 0 prevents respawn.
mp_hyperemerald_respawn_upper & mp_hyperemerald_respawn_lower
(5 - 1800)
Identical to mp_hyperemerald_spawn_upper & mp_hyperemerald_spawn_lower, but for respawning the Hyper Emerald. Same functionality when both are not equal.
mp_hyperemerald_ringbonus
(-9999, 9999)
Sets how many bonus or penalty rings the player receives when collecting the Hyper Emerald. Positive gives rings, Negative removes rings, and 0 disables this.
mp_hyperemerald_allmodes
(0, 1)
Disabled by default, when this is set to 1, the Hyper Emerald will spawn in ANY gamemode, such as Race, Battle, even Singleplayer. I don't take responsibility if something goes wrong with this on lmao
And remember! Getting all 7 Powerstones steals 50 points from all your enemies!
Also, whilst this is fully reusable, I apologise as it lacks alot of comments making sense of this all.
Also, whilst this is fully reusable, I apologise as it lacks alot of comments making sense of this all.