Feature Idea: Sprite scaling via scripting

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
User avatar
The Ultimate DooMer
Posts: 2109
Joined: Tue Jul 15, 2003 5:29 pm
Location: Industrial Zone

Feature Idea: Sprite scaling via scripting

Post by The Ultimate DooMer »

Here's an idea: add an actor property that behaves like the bex sprite scaling function - eg. SetActorProperty (APROP_Scale, 1.5) where the value is relative to 1 like in the bex patches. (so 1.5 is 150% of original size , 0.7 is 70% etc. etc.). So then you can scale individual things like in Duke.

(note: just because I can't use any new versions beyond 47 doesn't mean I can't make suggestions - after all they would benefit everyone else and besides, there's always the faint hope of somehow fixing my system problems)
Mighty Duck X-treme
Posts: 272
Joined: Tue Jul 15, 2003 5:48 pm
Location: Chesterfield, Missouri

Post by Mighty Duck X-treme »

Don't we already have sprite scaling?
Cyb
Posts: 912
Joined: Tue Jul 15, 2003 5:12 pm

Post by Cyb »

reseat your ram!
User avatar
Hirogen2
Posts: 2033
Joined: Sat Jul 19, 2003 6:15 am
Operating System Version (Optional): Tumbleweed x64
Graphics Processor: Intel with Vulkan/Metal Support
Location: Central Germany

Post by Hirogen2 »

Uh, doesnot the DECORATE Scale command suffice?
User avatar
Enjay
 
 
Posts: 27332
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland

Post by Enjay »

Hirogen2 wrote:Uh, doesnot the DECORATE Scale command suffice?
It would if you wanted to define a few different DECORATE items at different scales. If you wanted to have a level with a bunch of normal imps, and one giant one, you'd need to do it with dehacked at present. If you could scale items as suggested, then you could make your giant imp using ACS.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

Enjay wrote:
Hirogen2 wrote:Uh, doesnot the DECORATE Scale command suffice?
It would if you wanted to define a few different DECORATE items at different scales. If you wanted to have a level with a bunch of normal imps, and one giant one, you'd need to do it with dehacked at present. If you could scale items as suggested, then you could make your giant imp using ACS.
And you can even create a shrinking/expanding item. Might be useful...
User avatar
Hirogen2
Posts: 2033
Joined: Sat Jul 19, 2003 6:15 am
Operating System Version (Optional): Tumbleweed x64
Graphics Processor: Intel with Vulkan/Metal Support
Location: Central Germany

Post by Hirogen2 »

Heh a growing imp@secs.
User avatar
Enjay
 
 
Posts: 27332
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland

Post by Enjay »

Graf Zahl wrote:And you can even create a shrinking/expanding item. Might be useful...
Hmmmm, first thoughts on that. How about a boss enemy that you either wear down to a smaller and smaller version until you kill it? Or an enemy that grows in size once a certain HP value has been reached (similar to Eidolon in Hexen II)?
User avatar
Xaser
 
 
Posts: 10774
Joined: Sun Jul 20, 2003 12:15 pm

Post by Xaser »

Hirogen2 wrote:Heh a growing imp@secs.
Yeah, there could be like a scene where a bunch of marines are in a laborotory experimenting on a dead imp (except that it's really alive, just knocked out), but then it comes to life (well, it wakes up, as it was already alive) , and it scares the hell out of one of the marines, who then accidentally hits a button which makes the imp start to grow, and then it busts out of the cage and kills the marines. And this all happens before your very eyes, but a sheet of bulletproof glass is in between the two rooms, so you can't do anything about what you see (until maybe the giant imp busts through the glass). Heh, that sounds like a good scene for Doom 3, don't ya think?
User avatar
HotWax
Posts: 10002
Joined: Fri Jul 18, 2003 6:18 pm
Location: Idaho Falls, ID

Post by HotWax »

Enjay wrote:How about a boss enemy that you either wear down to a smaller and smaller version until you kill it?
Yoshi's Island Doom.....

Return to “Editing (Archive)”