#  ![](https://www.realm667.com/media/kunena/topic_icons/realm667_repo/user/rep_approved.png) \[UPDATE\] Marble Urns

##

- **CaptainToenail**
- ![CaptainToenail's Avatar](https://www.realm667.com/media/kunena/avatars/resized/size144/users/avatar11652.png?1696711803) Topic Author
- Wicked
- ![Wicked](https://www.realm667.com/media/kunena/ranks/rank_81_wicked.png)

 Less More- Posts: 229
-
-

   4 years 9 months ago - 4 years 9 months ago [\#9436](#9436) by CaptainToenail  *[\[UPDATE\] Marble Urns](https://www.realm667.com/forum/closed-submissions/1698-update-marble-urns#9436 "An update to the old Marble urns entry

* Urns are now shootable and pushable. When destroyed they will smash into pieces and there is a chance for items to be dropped. They now function in a similar manner to the pots from Hexen.
* Pk3 format

* Optimised pngs
* A large variety of new and unusual colours provided with translations

* The old sprites are still in the wad for use with non-zdoom ports
* New code including editor tags

Information:
Name: Marble Urns
Connection: None
Palette: Doom
Summon: MarbleUrn, (color)Urn
Ambient Sound: No
De-/Activatable: No
Destroyable: Yes
Special Effects: No
Brightmaps: No
Actor modification: No
ACS: No

Credits:
Code: Captain Toenail
Sounds: Freesound.org (Kinoton)
Sprites: Captain Toenail, Hexen
Sprite Edit: Captain Toenail
Idea Base: Hexen smashable vases

Description:
A marble urn in a large variety of colours. Can be pushed and is shootable. 
Smashing them open may reveal bonus items hidden inside.")* was created by *CaptainToenail*

 An update to the old Marble urns entry - Urns are now shootable and pushable. When destroyed they will smash into pieces and there is a chance for items to be dropped. They now function in a similar manner to the pots from Hexen.
- Pk3 format
- Optimised pngs
- A large variety of new and unusual colours provided with translations
- The old sprites are still in the wad for use with non-zdoom ports
- New code including editor tags

Information:
Name: Marble Urns
Connection: None
Palette: Doom
Summon: MarbleUrn, (color)Urn
Ambient Sound: No
De-/Activatable: No
Destroyable: Yes
Special Effects: No
Brightmaps: No
Actor modification: No
ACS: No

Credits:
Code: Captain Toenail
Sounds: Freesound.org (Kinoton)
Sprites: Captain Toenail, Hexen
Sprite Edit: Captain Toenail
Idea Base: Hexen smashable vases

Description:
A marble urn in a large variety of colours. Can be pushed and is shootable.
Smashing them open may reveal bonus items hidden inside.

- [ MarbleUrns.zip ](https://www.realm667.com/forum/attachment/1114?download=1 "MarbleUrns.zip") [ ](https://www.realm667.com/forum/attachment/1114?download=1 "MarbleUrns.zip")

 Last edit: 4 years 9 months ago by CaptainToenail.

Please [Log in](https://www.realm667.com/component/users/login?return=aHR0cHM6Ly93d3cucmVhbG02NjcuY29tL2ZvcnVtL2Nsb3NlZC1zdWJtaXNzaW9ucy8xNjk4LXVwZGF0ZS1tYXJibGUtdXJucw==&Itemid=2662) or [Create an account](https://www.realm667.com/component/users/registration?Itemid=2662) to join the conversation.

- **inkoalawetrust**
- ![inkoalawetrust's Avatar](https://www.realm667.com/media/kunena/avatars/resized/size144/users/avatar11669.jpg?1718890853)
- Moderator
- ![Moderator](https://www.realm667.com/media/kunena/ranks/rank_20_barrel.png)

 Less More- Posts: 254
-
-

   4 years 9 months ago [\#9438](#9438) by inkoalawetrust  Replied by *inkoalawetrust* on topic *[\[UPDATE\] Marble Urns](https://www.realm667.com/forum/closed-submissions/1698-update-marble-urns#9438 "An update to the old Marble urns entry

* Urns are now shootable and pushable. When destroyed they will smash into pieces and there is a chance for items to be dropped. They now function in a similar manner to the pots from Hexen.
* Pk3 format

* Optimised pngs
* A large variety of new and unusual colours provided with translations

* The old sprites are still in the wad for use with non-zdoom ports
* New code including editor tags

Information:
Name: Marble Urns
Connection: None
Palette: Doom
Summon: MarbleUrn, (color)Urn
Ambient Sound: No
De-/Activatable: No
Destroyable: Yes
Special Effects: No
Brightmaps: No
Actor modification: No
ACS: No

Credits:
Code: Captain Toenail
Sounds: Freesound.org (Kinoton)
Sprites: Captain Toenail, Hexen
Sprite Edit: Captain Toenail
Idea Base: Hexen smashable vases

Description:
A marble urn in a large variety of colours. Can be pushed and is shootable. 
Smashing them open may reveal bonus items hidden inside.")*

 I noticed that the UrnBit actor goes to a different fade state for each of its' sprite variants. But ZDoom allows you to use ##### characters in place of normal sprite names and/or frames, and that special name will make the state it's used in show the last proper sprite name and/or frame. So for example this:

Code:

Urn1: MBIT F 140 Urn1Check: MBIT F 16 A_CheckSight ("Urn1Fade") Loop Urn2: MBIT G 140 Urn2Check: MBIT G 16 A_CheckSight ("Urn2Fade") Loop Urn3: MBIT H 140 Urn3Check: MBIT H 16 A_CheckSight ("Urn3Fade") Loop Urn4: MBIT I 140 Urn4Check: MBIT I 16 A_CheckSight ("Urn4Fade") Loop Urn5: MBIT J 140 Urn5Check: MBIT J 16 A_CheckSight ("Urn5Fade") Loop Urn1Fade: MBIT F 2 A_FadeOut (0.1) Loop Urn2Fade: MBIT G 2 A_FadeOut (0.1) Loop Urn3Fade: MBIT H 2 A_FadeOut (0.1) Loop Urn4Fade: MBIT I 2 A_FadeOut (0.1) Loop Urn5Fade: MBIT J 2 A_FadeOut (0.1) Loop

Can just be shortened to this:
Code:

 Urn1: MBIT F 140 Urn1Check: MBIT F 16 A_CheckSight ("UrnFade") Loop Urn2: MBIT G 140 Urn2Check: MBIT G 16 A_CheckSight ("UrnFade") Loop Urn3: MBIT H 140 Urn3Check: MBIT H 16 A_CheckSight ("UrnFade") Loop Urn4: MBIT I 140 Urn4Check: MBIT I 16 A_CheckSight ("UrnFade") Loop Urn5: MBIT J 140 Urn5Check: MBIT J 16 A_CheckSight ("UrnFade") Loop UrnFade: MBIT # 2 A_FadeOut (0.1) Loop

And UrnFade will now use whatever sprite later it was on previously.

Please [Log in](https://www.realm667.com/component/users/login?return=aHR0cHM6Ly93d3cucmVhbG02NjcuY29tL2ZvcnVtL2Nsb3NlZC1zdWJtaXNzaW9ucy8xNjk4LXVwZGF0ZS1tYXJibGUtdXJucw==&Itemid=2662) or [Create an account](https://www.realm667.com/component/users/registration?Itemid=2662) to join the conversation.

- **CaptainToenail**
- ![CaptainToenail's Avatar](https://www.realm667.com/media/kunena/avatars/resized/size144/users/avatar11652.png?1696711803) Topic Author
- Wicked
- ![Wicked](https://www.realm667.com/media/kunena/ranks/rank_81_wicked.png)

 Less More- Posts: 229
-
-

   4 years 9 months ago [\#9440](#9440) by CaptainToenail  Replied by *CaptainToenail* on topic *[\[UPDATE\] Marble Urns](https://www.realm667.com/forum/closed-submissions/1698-update-marble-urns#9440 "An update to the old Marble urns entry

* Urns are now shootable and pushable. When destroyed they will smash into pieces and there is a chance for items to be dropped. They now function in a similar manner to the pots from Hexen.
* Pk3 format

* Optimised pngs
* A large variety of new and unusual colours provided with translations

* The old sprites are still in the wad for use with non-zdoom ports
* New code including editor tags

Information:
Name: Marble Urns
Connection: None
Palette: Doom
Summon: MarbleUrn, (color)Urn
Ambient Sound: No
De-/Activatable: No
Destroyable: Yes
Special Effects: No
Brightmaps: No
Actor modification: No
ACS: No

Credits:
Code: Captain Toenail
Sounds: Freesound.org (Kinoton)
Sprites: Captain Toenail, Hexen
Sprite Edit: Captain Toenail
Idea Base: Hexen smashable vases

Description:
A marble urn in a large variety of colours. Can be pushed and is shootable. 
Smashing them open may reveal bonus items hidden inside.")*

 Neat I did not know that was possible. That is much more elegant solution.

I have updated the code with your suggestion.

I also fixed some typos, added a brown colour option and made the pushable flag toggleable in the editor.

Here is the updated description and file.

Information:
Name: Marble Urns
Connection: None
Palette: Doom
Summon: MarbleUrn, Urn
Ambient Sound: No
De-/Activatable: No
Destroyable: Yes
Special Effects: No
Brightmaps: No
Actor modification: No
ACS: No

Credits:
Code: Captain Toenail
Sounds: Freesound.org (Kinoton)
Sprites: Captain Toenail, Hexen
Sprite Edit: Captain Toenail
Idea Base: Hexen smashable vases

Description:
A marble urn in a large variety of colours.
Smashing them open may reveal bonus items hidden inside.
Can be toggled to be pushable in the map editor.

- [ MarbleUrns.zip ](https://www.realm667.com/forum/attachment/1115?download=1 "MarbleUrns.zip") [ ](https://www.realm667.com/forum/attachment/1115?download=1 "MarbleUrns.zip")

Please [Log in](https://www.realm667.com/component/users/login?return=aHR0cHM6Ly93d3cucmVhbG02NjcuY29tL2ZvcnVtL2Nsb3NlZC1zdWJtaXNzaW9ucy8xNjk4LXVwZGF0ZS1tYXJibGUtdXJucw==&Itemid=2662) or [Create an account](https://www.realm667.com/component/users/registration?Itemid=2662) to join the conversation.

- **mattbratt11**
- ![mattbratt11's Avatar](https://www.realm667.com/media/kunena/avatars/resized/size144/users/avatar165.png)
- Chaingunner
- ![Chaingunner](https://www.realm667.com/media/kunena/ranks/rank_6_chaingunner.png)

 Less More- Posts: 72
-
-
-
-

   4 years 9 months ago - 4 years 9 months ago [\#9443](#9443) by mattbratt11  Replied by *mattbratt11* on topic *[\[UPDATE\] Marble? Umm...](https://www.realm667.com/forum/closed-submissions/1698-update-marble-urns#9443 "An update to the old Marble urns entry

* Urns are now shootable and pushable. When destroyed they will smash into pieces and there is a chance for items to be dropped. They now function in a similar manner to the pots from Hexen.
* Pk3 format

* Optimised pngs
* A large variety of new and unusual colours provided with translations

* The old sprites are still in the wad for use with non-zdoom ports
* New code including editor tags

Information:
Name: Marble Urns
Connection: None
Palette: Doom
Summon: MarbleUrn, (color)Urn
Ambient Sound: No
De-/Activatable: No
Destroyable: Yes
Special Effects: No
Brightmaps: No
Actor modification: No
ACS: No

Credits:
Code: Captain Toenail
Sounds: Freesound.org (Kinoton)
Sprites: Captain Toenail, Hexen
Sprite Edit: Captain Toenail
Idea Base: Hexen smashable vases

Description:
A marble urn in a large variety of colours. Can be pushed and is shootable. 
Smashing them open may reveal bonus items hidden inside.")*

 Marble? Umm...

 Last edit: 4 years 9 months ago by mattbratt11.

Please [Log in](https://www.realm667.com/component/users/login?return=aHR0cHM6Ly93d3cucmVhbG02NjcuY29tL2ZvcnVtL2Nsb3NlZC1zdWJtaXNzaW9ucy8xNjk4LXVwZGF0ZS1tYXJibGUtdXJucw==&Itemid=2662) or [Create an account](https://www.realm667.com/component/users/registration?Itemid=2662) to join the conversation.

- **Gothic**
- ![Gothic's Avatar](https://www.realm667.com/media/kunena/avatars/resized/size144/users/avatar320.png?1619787674)
- Moderator
- ![Moderator](https://www.realm667.com/media/kunena/ranks/rank_20_barrel.png)

 Less More- Posts: 1329
-
-
-

   4 years 9 months ago [\#9444](#9444) by Gothic  Replied by *Gothic* on topic *[\[UPDATE\] Marble Urns](https://www.realm667.com/forum/closed-submissions/1698-update-marble-urns#9444 "An update to the old Marble urns entry

* Urns are now shootable and pushable. When destroyed they will smash into pieces and there is a chance for items to be dropped. They now function in a similar manner to the pots from Hexen.
* Pk3 format

* Optimised pngs
* A large variety of new and unusual colours provided with translations

* The old sprites are still in the wad for use with non-zdoom ports
* New code including editor tags

Information:
Name: Marble Urns
Connection: None
Palette: Doom
Summon: MarbleUrn, (color)Urn
Ambient Sound: No
De-/Activatable: No
Destroyable: Yes
Special Effects: No
Brightmaps: No
Actor modification: No
ACS: No

Credits:
Code: Captain Toenail
Sounds: Freesound.org (Kinoton)
Sprites: Captain Toenail, Hexen
Sprite Edit: Captain Toenail
Idea Base: Hexen smashable vases

Description:
A marble urn in a large variety of colours. Can be pushed and is shootable. 
Smashing them open may reveal bonus items hidden inside.")*

 [ Updated](https://www.realm667.com/index.php/en/prop-stop-mainmenu-163-64831/hell-a-magic-mainmenu-168-40302/1608-marble-urn)

Please [Log in](https://www.realm667.com/component/users/login?return=aHR0cHM6Ly93d3cucmVhbG02NjcuY29tL2ZvcnVtL2Nsb3NlZC1zdWJtaXNzaW9ucy8xNjk4LXVwZGF0ZS1tYXJibGUtdXJucw==&Itemid=2662) or [Create an account](https://www.realm667.com/component/users/registration?Itemid=2662) to join the conversation.

[Powered by](https://www.realm667.com/forum/credits) [Kunena Forum](https://www.kunena.org)
