SamsaraDevs / samsaraJunk

In which someone makes a class-based mod by copy/pasting the ZDoom Wiki into a single .pk3 and people seem to like it.
16 stars 7 forks source link

Alternate translation for Duke's freezedeath. #72

Open TerminusEst13 opened 11 years ago

TerminusEst13 commented 11 years ago

[TerminusEst13] That being said, what I could do is instead of relying on a freeze death translation, instead the enemy turns invisible and does A_SpawnItemEx which spawns a "dummy" actor that has an alternate ice translation and then shatters. [TerminusEst13] But that leads to the question of how to get the DN3D ice translation for games who don't have that range in their own palette. [Zero_Diamond] eh [Zero_Diamond] that's true [Zero_Diamond] i was thinking a truly gzdoom sense [Zero_Diamond] although! wouldn't it still show up as like white and gray in games without that range? [Zero_Diamond] since duke's ice color is much lighter? [TerminusEst13] No, as in. [TerminusEst13] http://zdoom.org/wiki/Palette - What would be the closest approximation of the Duke ice color range to translate to? [Zero_Diamond] you can translate outside of a game's palette was what i was getting at [Zero_Diamond] iirc anyways [Zero_Diamond] i swear there's a way to translate to rgb ranges [TerminusEst13] Really! I didn't know that. [TerminusEst13] I'm gonna have to look that up. [Zero_Diamond] yeah, i swear there's a way to do so [Zero_Diamond] was i right? [TerminusEst13] Yup, just asked with a friend. He says it's possible. [TerminusEst13] I'm not sure how, but I'll figure it out. [...] [Zero_Diamond] so yeah, your solution was that you could just emulate the effect [Zero_Diamond] via A_SpawnItemEx [TerminusEst13] Hmmm. [Zero_Diamond] the best way would be if they could just add a parameter to A_GenericFreezeDeath to change the translation to a different range [Zero_Diamond] it'd be a bit more flexible at any rate [TerminusEst13] Yeah. 'Cause I'm making a sample actor now, and this would basically require...making a recoded enemy death sequence and a new actor for everyone in Strife, Heretic, Hexen, Chex, and Doom. [TerminusEst13] Hoooooooo boy this is gonna require some work. [TerminusEst13] It is doable, though! [Zero_Diamond] the downside is wads with custom monsters would... i dunno what'd happen [Zero_Diamond] but then would they freeze properly the other way anyways? [Zero_Diamond] i forget how it works [TerminusEst13] Yeah, ice death is pretty much universal in the ZDoom engine. [Zero_Diamond] could always just make it so if there's no special case that it just does a normal freeze death [TerminusEst13] Man, if only I could do that. :( [Zero_Diamond] you can't? [Zero_Diamond] there's no way to just make dukefreeze normally do a freeze death [Zero_Diamond] but set it so default monsters have a special DukeIce damage death? [TerminusEst13] You can in ACS with SetActorState (http://zdoom.org/wiki/SetActorState), but this is Decorate we're talking about. [TerminusEst13] And I'm REALLY not comfortable with doing an ACS script on every monster freeze death, considering this is primarily done over netplay. [Zero_Diamond] yeah, no, i get that [TerminusEst13] Hmmmmm. [Zero_Diamond] it just bugs me that what i suggested isn't actually possible [Zero_Diamond] it seems so... logical? [TerminusEst13] Well, let me experiment a bit. Maybe if all the monsters have "IsSamsaraBaddie" in their inventory and they go to the Duke special freeze death in that case, otherwise leading to a normal ice death state... [Zero_Diamond] at any rate i hope it works [Zero_Diamond] it's one piddly little thing [Zero_Diamond] but it always bugs me [TerminusEst13] It's still some nice polish. [Zero_Diamond] to see duke's light colored ice turn things purple [TerminusEst13] Haha, yeah.