Duke4.net Forums: Every Sprite has a Santa Hat (almost) - Duke4.net Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Every Sprite has a Santa Hat (almost)

User is offline   Trooper Dan 

  • Duke Plus Developer

#1

Duke has a Santa hat. Enemies have Santa hats.
When you blow them up, their jibs have Santa hats.
Palm trees, ammo containers, garbage cans. Rats. Cameras. Pretty much everything has a Santa hat.
Except the Santa hats. They don't have Santa hats.
Also, bulletholes, explosions, and transporterbeams don't have Santa hats.
Raindrops do, though. And bits of debris. Most everything does.
Am I making myself clear?

So I made this mod today. If you want (almost) everything to have a Santa hat, then download it. It's 33KB, because I included the GAME.CON which isn't really necessary because it works with any old GAME.CON. But if you aren't sure what to do, just download those little files and put them in a folder that has an install of the vanilla game, then start the game. You will be amused. Or not.

Download link from dropbox:
https://www.dropbox....ashats.zip?dl=0

Here's video, because, let's face it, installing this is probably not worth your time.

13

#2

Hats off to you for this little gimmick =D
3

User is offline   Seb Luca 

#3

http://www.sebluca.com//DATAS/smileys2/rire2.gif


0

User is offline   Forge 

#4

Posted Image
2

User is online   Radar 100 Watts 

  • Zionist Shill

#5

VERSION 2.0 COMING SOON

THE WALLS AND SECTORS GET SANTA HATS TOO


EDIT: AND ALSO DEEZ NUTS.

This post has been edited by Radar 100 Watts: 20 December 2019 - 07:21 AM

1

User is offline   Seb Luca 

#6

View PostRadar 100 Watts, on 20 December 2019 - 06:12 AM, said:

VERSION 2.0 COMING SOON
THE WALLS AND SPRITES GET SANTA HATS TOO


V 3.0 : the Santa's hats will get Santa's hats too ? :lol:


0

User is offline   Lazy Dog 

#7

View PostSeb Luca, on 20 December 2019 - 06:33 AM, said:

V 3.0 : the Santa's hats will get Santa's hats too ? :lol:




https://i.kym-cdn.com/entries/icons/original/000/004/568/541px-ToweringSoldier.png

Yes, please.

This post has been edited by Lazy Dog: 20 December 2019 - 06:52 AM

1

User is offline   Seb Luca 

#8

http://www.sebluca.com//DATAS/smileys3/rire4.gif


1

User is online   Phredreeke 

#9

Even Lo Wang gets a santa hat
https://i.imgur.com/WGxkvxy.png
4

User is offline   Polunka 

#10

Damn, this is fuckin genius :lol:
0

User is offline   Trooper Dan 

  • Duke Plus Developer

#11

I was using the game folder of the mod where you press a key to freeze everything except the player, so that code is in there too. Which means that you can get nice screenshots of everything wearing Santa hats and send them as thoughtful Christmas e-cards to your hundreds of friends who play Duke 3D. You're welcome.
2

User is offline   necroslut 

#12

This is the worst thing I've seen. I hate it.

If you ever make a new version I'd suggest removing the hats from the wall blood splatter, because that just looks glitchy. I also noticed that the HoloDuke (deployed) does not have a santa hat.

This post has been edited by necroslut: 20 December 2019 - 12:16 PM

0

User is offline   Trooper Dan 

  • Duke Plus Developer

#13

View Postnecroslut, on 20 December 2019 - 12:16 PM, said:

This is the worst thing I've seen. I hate it.

If you ever make a new version I'd suggest removing the hats from the wall blood splatter, because that just looks glitchy. I also noticed that the HoloDuke (deployed) does not have a santa hat.


If anyone cares, they can add more exceptions to the list in "state spawnhats" to prevent hats from spawning on the splatters. The holoduke's hat being invisible was a side-effect of me making the player's hat invisible when in 1st person view. I'll bet if you press F7 that your holoduke's hat would appear.

The actual usefulness of this mod is it has code for determining the exact top of a sprite, regardless of the sprite's size, dimensions, and what animation it happens to be displaying at the moment. That would be good for more accurately detecting headshots, for example.
3

User is offline   Lazy Dog 

#14

View PostPhredreeke, on 20 December 2019 - 10:09 AM, said:

Even Lo Wang gets a santa hat
https://i.imgur.com/WGxkvxy.png


That's no ordinary Wang.

This post has been edited by Lazy Dog: 22 December 2019 - 10:39 AM

1

User is online   Phredreeke 

#15

Attached Image: santadopefish.png
3

User is offline   Commando Nukem 

  • Judge Mental

#16

This is great.

It's early, but, Merry Christmas everyone. :)

View PostPhredreeke, on 22 December 2019 - 10:49 AM, said:



/Thread


*Burp*
1

#17

 Phredreeke, on 20 December 2019 - 10:09 AM, said:

Even Lo Wang gets a santa hat
https://i.imgur.com/WGxkvxy.png


Everybody get's a santa hat.
0

#18

View PostPhredreeke, on 22 December 2019 - 10:49 AM, said:


YAHOO!!! The Dopefish still lives, and this time with a Santa hat!

Happy holidays, lads. Hail to the king, as always! B)
0

User is offline   Sangman 

#19

This is just silly. 10/10

But in all seriousness the technical implication of that is pretty cool

This post has been edited by Sangman: 28 December 2019 - 11:55 AM

0

User is offline   Trooper Dan 

  • Duke Plus Developer

#20

View PostSangman, on 28 December 2019 - 11:55 AM, said:

But in all seriousness the technical implication of that is pretty cool


Yeah, tiledata.ysize is the key here. Multiply that by yrepeat, add a little magic sauce and you get the top of the sprite. The bottom of the sprite is just the .z value, the top can be obtained through the formula alluded to, then of course the up/down midpoint is just the average of the two. So with all that data, we can get a pretty good read on heights needed not only for headshots on any arbitrary enemy, but also chest, leg and groin shots (assuming typical human proportions). I'm sure there are other applications.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks not owned by Voidpoint, LLC are the sole property of their respective owners. Play Ion Fury! ;) © Voidpoint, LLC

Enter your sign in name and password


Sign in options