SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > Releases > Lua

Reply
 
Thread Tools
Possession! [2.1] Details »»
Possession! [2.1]
Version: 2.1, by Rapidgame7 (pressure pressure pressure) Rapidgame7 is offline
Developer Last Online: Jul 2017

Category: Version: SRB2 Rating: (3 votes - 4.00 average)
Released: 01-02-2017 Last Update: 01-11-2017 Installs: 1
Scripts Sprites/Graphics









What is Possession about?
Possession is a game about being fast and dodging people.
When the Master Emerald spawns, players are tasked on finding this rock in the map. Once found, the player that collected it has to possess it until time runs out, while his opponents have to kill him to retrieve the emerald for the same goal.

The catch? Whoever is carrying the emerald will become very vulnerable: The carrier will become unable to shoot, unable to obtain any shields, and unable to use mid-air abilities like thokking, flying or gliding! And even worse, a single hit by anything will render this player dead, regardless of how many rings the player has collected!

A round is finished when a player is successful in holding the rock for 50 seconds (by default) without dying.

Spoiler: Tips and tricks and other stuff
Basically that: Grab the emerald, hold it for a few seconds in a row without dying, and instantly win!



As the guy that looks for the emerald:

While you are looking for the emerald, your radar at the bottom right will start blinking and beeping. It will beep faster the closer you get to the emerald, and slower as you get away from it. Just like Emerald Hunt's radar but a little more precise.

If you find the emerald on a place you can't reach, or can but it involves going all around the map and you don't have time for that, or it is on a hazard, you can also shoot the emerald! Shooting it pushes the emerald away, so us it for your advantage. Some rings push the emerald further than others! (This can be toggled by the host)

If the emerald is flying at an amazing speed, players can get damaged by it until it slows down. (This can be toggled by the host)



As the carrier:

Don't move on a straight line! People can attack you easier if you just hold forward.

You can sometimes confuse other players by turning 180 degrees and speeding away instead of taking a normal path.

Even if you can't grab shields or ammunition, try to collect them anyways so you leave none for other players.

Use characters without Possession support to cheat abilities in.



In Team Possession:

As the carrier, you can either find a place to hide and have your team protect you, or run around like carriers do. You can also drop the emerald (This can be toggled by the host) so someone in your team carries it.

If the carrier is in your team, follow them around and protect them. As you know, they die in a single hit, so be there when they die so you can retrieve the emerald as soon as possible, or to knock enemies away so they don't die.

If the carrier is in the enemy team, be prepared. Chances are the carrier is being followed and protected by a mob of enemies. Use weapons that cover an area like explosion and scatter rings for maximum damage.










Spoiler: Old 1.0 screenshots and stuff:








Configuration stuff
Spoiler: CVars
possession <0|1>
(Default: On)
Enables or disables possession. When enabled, it will only function in match or team match gametypes.

poss_spawntime <value>
(Default: 5)
Time in seconds to spawn the Master Emerald after the map has loaded.

poss_holdtime <value>
(Default: 50)
Time in seconds that a player has to hold the emerald to win the round.

poss_ringspawnpoint <0|1>
(Default: Off)
Allows the script to use ring map things as spawnpoints. Useful for maps which do not have emerald spawn point, or boss maps, or anything else you have in mind.

poss_shootemerald <0|1>
(Default: On)
Allows players to shoot the emerald to move it.

poss_tossemerald <0|1|2>
(Default: 2)
Allows players to toss the emerald with the Toss Flag button.
A value of 0 disables it, while a value of 1 will just drop the emerald in place.
A value of 2 will let the player throw it a small distance forwards, and is affected by player momentum.

poss_emeraldharm <0|1>
(Default: On)
Allows players getting hurt by the emerald if the emerald collides with them at a high velocity.

poss_deathmomentum <0|1>
(Default: On)
Allows the emerald to keep the momentum of a dead carrier instead of just dropping in place.

poss_globaltimer <0|1|2>
(Default: Off)
Toggles "global timer".
When 0 (Off), Possession will function as usual.
When 1 (On), the hold timer will never reset on carrier death, making everybody use the same timer.
When 2 (Team) (Team Match only!), this will act as 1 with two timers, one of each team.

poss_grasptime <value> (Default: Off)
poss_grasptime_start <value> (Default: 180)
poss_grasptime_decrement <value> (Default: 1)
poss_grasptime_min <value> (Default: 5)
Only functions when the global timer is off.
Normally, the timer always starts from poss_holdtime.
If no players have won the round for quite a while, grasp time begins.
When a carrier dies, the amount of time from when the timer will start will decrease by poss_grasptime_decrement, up to poss_grasptime_min.
(For example, if poss_holdtime is 50, grasp time begun and the carrier dies, the next carrier will have to carry it 48 seconds and so on.)


Other stuff
Spoiler: Changelog
Changelog:

2.1: Big Update!
Fixes:
- Errors when a player disconnects while holding the Emerald.
- A lot of reverse gravity content, including a change in the radar's behaviour.

Changes:
- Using a new way to add score. It should work better in Team Match now.
- A few messages have been changed and colorized a bit, so it looks pretty.
- The HUD emerald carrier name now changes colors depending on the carrier's team.
- Renamed "poss_tospawntime" to "poss_spawntime".
- A bunch of console messages have been reworded.
- If the rock falls on a pit, the respawn sound is played globally.
- If the carrier dies or disconnects, the Emerald retains its momentum instead of falling in place.
- The "time left warning" sound now plays once per second when there are 10 seconds left, and twice when 3 seconds or less.
- Replaced a few sound effects
- With a CVar, you can make rings be used as emerald spawnpoints.

New:
- Global timer! Because it's cool!
- And with that, team global timer!
- Grasp time! which sounds weird
- Status messages at the bottom of the screen
- Little warning messages at the status bar when doing a forbidden action with the emerald (ability, shoot, get shield)
- The Emerald can now be pushed around by shooting it.
- The Emerald can damage players if it collides with one at a very high speed.
- An about command ("poss_about").


2.0.3
- Shield monitors now play sfx_lose when they are popped by the carrier, and no shields are awarded afterwards.
- The "RINGS" display is crossed out when carrying the emerald.
- An "X" graphic is also displayed in the place of the shield icons.
- Fixed a little bug that sent the win message twice.
- Added two global Lua functions (POSS_GetPlayerWithRock and POSS_InPossRound).


2.0.2
- The time left counter now returns to 0 when it finds itself being smaller than 0.


2.0.1b
- I forgot to check for player.valid.


2.0.1
- Time left counter now blinks red and plays a sound when time left is at 10 seconds or lower.
- The radar is a bit more precise.


2.0: HUD update!

- Revamped HUD
More visuals! (Emerald sprite at the bottom right)
Less words! (Removed "DIST", "Carrier", "Possession", and some other text)
More compact! (Current carrier and time left on top of the emerald in the HUD)
New Emerald Hunt style Radar™! (Beeps when you get closer to the emerald)
And a little ugly height checker that points where's the emerald in relation to your position. (Pretty much that)
- Fixed Master Emerald not spawning when emeralds are disabled.
- Something I forgot to document


1.0
Initial release

Spoiler: Regarding custom content
As some have noticed with Silver, Shadow, or custom characters in general, is that some special abilities haven't been disabled. Or even compatibility problems with other mods.
The reason being that I do not support those characters or mods.
I usually don't know how do they work or what variables to change, so I'm sorry if there are problems regarding them and Possession. The best I can do, however, is give some support for those modders that would like to include Possession support to their mods.

Included in this WAD, there are two global functions:
POSS_GetPlayerWithRock, which will return the current player holding the rock, and
POSS_InPossRound, which will return if Possession is currently running in the level.
Feel free to use them in your WAD!



Wrapping up

Special thanks to:
  • TehRealSalt, for helping me on making the HUD look neater and for understanding some code.
  • DarkTechno, for helping me get a bunch of 1.0 screenshots.
  • Sapheros, for the square X thing in the HUD.
  • AxelMoon, for some nice enchilada 10/10 and heavy WAD testing.
  • Steel Titanium, for being a good sport. Also, lots of testing.
  • More people, that have helped me in different ways but I forgot their names.


Included in the attachements there is a little reskin for the emerald (enchilada.wad) that used to be as an inside joke, but I decided to include it.
It was originally designed for 1.0, yet it still works!
If you plan on using it, make sure to load Possession first!





Last update: 2.1 on 5/16/17

Download Now

File Type: zip enchilada.zip (11.9 KB, 120 views)
File Type: zip poss2.1.zip (74.9 KB, 99 views)

Show Your Support

  • This addon may not be copied, reproduced or published elsewhere without the author's permission.

Comments
Old 01-12-2017   #2
TehRealSalt
/me FLEX ᕦ(◉ᴥ◉)ᕥ
Developer
 
TehRealSalt's Avatar
Default

Welcome to releases!
TehRealSalt is online now   Reply With Quote
Old 01-12-2017   #3
Sonicboy The Hedgehog
^ is really "Axel Moon".
 
Sonicboy The Hedgehog's Avatar
Default

Nipples The Enchilada Mode was totally worth it. But the overall gametype is fun as hell. Testing it even early on was fun. =P
__________________
The best medium is an extra large.
Sonicboy The Hedgehog is offline   Reply With Quote
Old 01-12-2017   #4
Boo
Yo!
 
Boo's Avatar
Default

Wow, this sounds fantastic, i cant wait to give it a try. If i encounter any bugs il report them to you.
__________________
Quote:
Boo:Oh, lemme see(grabs the letter,puts on reading glasses and studies it)Boo:Oh,wait,I can't read.
Boo is offline   Reply With Quote
Old 01-12-2017   #5
MK.exe
aaaaaaaaahahahahaha
 
MK.exe's Avatar
Default

ayy it got released!

Nice work Rapid!
__________________
Done:
Hit a 180° Rail shot
First person to have a map in releases with Slopes
MK.exe is offline   Reply With Quote
Old 01-13-2017   #6
TailsFan99
Default

Reminds me of Shine Thief from Mario Kart: Double Dash
TailsFan99 is offline   Reply With Quote
Old 05-16-2017   #7
Rapidgame7
pressure pressure pressure
 
Rapidgame7's Avatar
Default

After a while, I finally updated it to 2.1!

Spoiler: But what's new tho
Fixes:
- Errors when a player disconnects while holding the Emerald.
- A lot of reverse gravity content, including a change in the radar's behaviour.

Changes:
- Using a new way to add score. It should work better in Team Match now.
- A few messages have been changed and colorized a bit, so it looks pretty.
- The HUD emerald carrier name now changes colors depending on the carrier's team.
- Renamed "poss_tospawntime" to "poss_spawntime".
- A bunch of console messages have been reworded.
- If the rock falls on a pit, the respawn sound is played globally.
- If the carrier dies or disconnects, the Emerald retains its momentum instead of falling in place.
- The "time left warning" sound now plays once per second when there are 10 seconds left, and twice when 3 seconds or less.
- Replaced a few sound effects
- With a CVar, you can make rings be used as emerald spawnpoints.

New:
- Global timer! Because it's cool!
- And with that, team global timer!
- Grasp time! which sounds weird
- Status messages at the bottom of the screen
- Little warning messages at the status bar when doing a forbidden action with the emerald (ability, shoot, get shield)
- The Emerald can now be pushed around by shooting it.
- The Emerald can damage players if it collides with one at a very high speed.
- An about command ("poss_about").

Short version: A few fixes, team Possession, rings can be used as Master Emerald spawners, status messages, global timers, and some sound effects were replaced.
__________________
Quote:
<Steel Titanium> so many eggman laughs
<Rapidgame7> hehehe HEHE HEhEhe
<Rapidgame7> AAAAAUUUUGGGGH
Rapidgame7 is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:07 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.