Range On Wiz Stop Time Spell

For feedback on the game code and design. Feedback on server rules and playstyle belong in Policy Discussion.
Post Reply
User avatar
Steelpoint
Github User
Joined: Thu Apr 17, 2014 6:37 pm
Byond Username: Steelpoint
Github Username: Steelpoint
Location: The Armoury

Range On Wiz Stop Time Spell

Post by Steelpoint » #253343

I was observing, and testing, a few rounds and I noticed that the Stop Time ability has a weird issue.

The animation for the ability implies it'll freeze anyone in a 3x3 area, essentially anyone next to the wizard. As the sprite only covers a 3x3 area.

Yet the ability actually seems to be a 4x4 ability, which looks wrong when you see the ability to be activated yet someone is clearly standing in a empty tile but is frozen in time, it looks awkward.

I would suggest either extending the sprite to cover the full area of effect, or to limit the ability to only cover the sprites distance.
Image
User avatar
D&B
Joined: Mon Jun 13, 2016 2:23 am
Byond Username: Repukan
Location: *teleports behind you*

Re: Range On Wiz Stop Time Spell

Post by D&B » #253345

Extend the sprite and also make everything in time stop radius have its color inverted for the duration.
Spoiler:
[20:26:02]ADMIN: PM: [censored admin]->[censored]: Welp. It was just a prank bro isn't a very good excuse when it comes to unprovoked nonantag murder, but since this is your first time doing it and you seem to understand the problem instead of a bannu I'm just going to leave you with a warning. Please PLEASE don't do this again in the future, as funny as crackhead broken bottle memes can be. Alrighty? Do you have any input on this?
[20:26:39]ADMIN: PM: [censored]->[censored admin]: Alright, no problem. I have some input. Fuck my boy pussy.
[20:27:06]ADMIN: PM: [censored admin]->[censored]: Okay then. Have fun.
[20:31:29]ADMIN: PM: [censored admin]->[censored]: Excuse me?
J_Madison wrote: that's a stupid fucking stat
you don't play, you've never played
lying little shit with your bullshit stat
fuck you
ColonicAcid wrote:and with enough practise i too could blow my own dick so well that only the gods know how it feels.
User avatar
Steelpoint
Github User
Joined: Thu Apr 17, 2014 6:37 pm
Byond Username: Steelpoint
Github Username: Steelpoint
Location: The Armoury

Re: Range On Wiz Stop Time Spell

Post by Steelpoint » #253347

Good idea on the colour change, or at least some animation to clearly discern if someone's being affected by the spell.
Image
User avatar
PKPenguin321
Site Admin
Joined: Tue Jul 01, 2014 7:02 pm
Byond Username: PKPenguin321
Github Username: PKPenguin321
Location: U S A, U S A, U S A

Re: Range On Wiz Stop Time Spell

Post by PKPenguin321 » #253348

D&B wrote:Extend the sprite and also make everything in time stop radius have its color inverted for the duration.
Color thing is a good idea I'll do that
i play Lauser McMauligan. clown name is Cold-Ass Honkey
i have three other top secret characters as well.
tell the best admin how good he is
Spoiler:
Image
User avatar
Yakumo_Chen
Joined: Fri Dec 11, 2015 10:08 pm
Byond Username: Yakumo Chen

Re: Range On Wiz Stop Time Spell

Post by Yakumo_Chen » #254691

Wizard ZA WARUDO sounds hilarious, please do this
Image
Image
Bombadil
Joined: Wed Apr 23, 2014 12:23 am
Byond Username: Kromgar

Re: Range On Wiz Stop Time Spell

Post by Bombadil » #254695

pkpenguin tried

he failed he closed his pr
Planet Station Best Station

Vote Planetstation and Kor Phaeron 2017
User avatar
PKPenguin321
Site Admin
Joined: Tue Jul 01, 2014 7:02 pm
Byond Username: PKPenguin321
Github Username: PKPenguin321
Location: U S A, U S A, U S A

Re: Range On Wiz Stop Time Spell

Post by PKPenguin321 » #254756

Bombadil wrote:pkpenguin tried

he failed he closed his pr
yeah color overlays were fuuucked up
like i would do the spell, but everything the spell touched would just go black and invisible, and if you moved anything out from under the darkness it would be negative-colored forever
pretty busted
i play Lauser McMauligan. clown name is Cold-Ass Honkey
i have three other top secret characters as well.
tell the best admin how good he is
Spoiler:
Image
User avatar
PKPenguin321
Site Admin
Joined: Tue Jul 01, 2014 7:02 pm
Byond Username: PKPenguin321
Github Username: PKPenguin321
Location: U S A, U S A, U S A

Re: Range On Wiz Stop Time Spell

Post by PKPenguin321 » #254853

CosmicScientist wrote:
PKPenguin321 wrote:
Bombadil wrote:pkpenguin tried

he failed he closed his pr
yeah color overlays were fuuucked up
like i would do the spell, but everything the spell touched would just go black and invisible, and if you moved anything out from under the darkness it would be negative-colored forever
pretty busted
Did you just reverse anything negatized under the spell when it ended or did you track everything that goes to the mirror world in a list and positize them through that?
idk

Code: Select all

/obj/effect/timestop
	anchored = 1
	name = "chronofield"
	desc = "ZA WARUDO"
	icon = 'icons/effects/160x160.dmi'
	icon_state = "time"
	layer = FLY_LAYER
	pixel_x = -64
	pixel_y = -64
	mouse_opacity = 0
	var/mob/living/immune = list() // the one who creates the timestop is immune
	var/list/stopped_atoms = list()
	var/freezerange = 2
	var/duration = 140
	alpha = 125

/obj/effect/timestop/New()
	..()
	for(var/mob/living/M in player_list)
		for(var/obj/effect/proc_holder/spell/aoe_turf/conjure/timestop/T in M.mind.spell_list) //People who can stop time are immune to timestop
			immune |= M
	timestop()


/obj/effect/timestop/proc/timestop()
	playsound(get_turf(src), 'sound/magic/TIMEPARADOX2.ogg', 100, 1, -1)
	for(var/i in 1 to duration-1)
		for(var/atom/A in orange (freezerange, src.loc))
			A.add_atom_colour(list(-1,0,0,0, 0,-1,0,0, 0,0,-1,0, 0,0,0,1, 1,1,1,0), TEMPORARY_COLOUR_PRIORITY)
			stopped_atoms |= A
			if(isliving(A))
				var/mob/living/M = A
				if(M in immune)
					M.remove_atom_colour(TEMPORARY_COLOUR_PRIORITY, list(-1,0,0,0, 0,-1,0,0, 0,0,-1,0, 0,0,0,1, 1,1,1,0))
					stopped_atoms -= M
					continue
				M.Stun(10, 1, 1)
				M.anchored = 1
				M << "<span class='warning'>Time slows down...</span>"
				if(ishostile(M))
					var/mob/living/simple_animal/hostile/H = M
					H.AIStatus = AI_OFF
					H.LoseTarget()
			else if(istype(A, /obj/item/projectile))
				var/obj/item/projectile/P = A
				P.paused = TRUE

		for(var/mob/living/M in stopped_atoms)
			if(get_dist(get_turf(M),get_turf(src)) > freezerange) //If they lagged/ran past the timestop somehow, just ignore them
				unfreeze_mob(M)
				stopped_atoms -= M
		stoplag()

	//End
	for(var/atom/A in stopped_atoms)
		A.remove_atom_colour(TEMPORARY_COLOUR_PRIORITY, list(-1,0,0,0, 0,-1,0,0, 0,0,-1,0, 0,0,0,1, 1,1,1,0))

	for(var/mob/living/M in stopped_atoms)
		unfreeze_mob(M)

	for(var/obj/item/projectile/P in stopped_atoms)
		P.paused = FALSE
	qdel(src)
	return



/obj/effect/timestop/proc/unfreeze_mob(mob/living/M)
	M.AdjustStunned(-10, 1, 1)
	M.anchored = 0
	if(ishostile(M))
		var/mob/living/simple_animal/hostile/H = M
		H.AIStatus = initial(H.AIStatus)
i play Lauser McMauligan. clown name is Cold-Ass Honkey
i have three other top secret characters as well.
tell the best admin how good he is
Spoiler:
Image
Post Reply

Who is online

Users browsing this forum: No registered users