#  ![](https://www.realm667.com/media/kunena/topic_icons/realm667_repo/user/rep_approved.png) \[SUBMISSION\] Hexen N64 Foliage

##

- **Margaret Thatcher**
- ![Margaret Thatcher's Avatar](https://www.realm667.com/media/kunena/avatars/resized/size144/users/avatar11850.png?1667635972) Topic Author
- Cacodemon
- ![Cacodemon](https://www.realm667.com/media/kunena/ranks/rank_8_caco.png)

 Less More- Posts: 111
-
-

   2 years 4 months ago [\#11775](#11775) by Margaret Thatcher  *[\[SUBMISSION\] Hexen N64 Foliage](https://www.realm667.com/forum/closed-submissions/2042-submission-hexen-n64-foliage#11775 "Name: Hexen N64 Foliage

Palette: Hexen
Connection: None
Summon: HexenN64Tree1, HexenN64Tree2, HexenN64Leaf1, HexenN64Leaf2, HexenN64LeafSpawner
Ambient Sound: No
De-/Activatable: No
Destroyable: No
Special Effects: Yes
ACS: No

Submitted: PGE
Decorate: PGE, Rage Saprk (randomization code on HexenN64LeafSpawner)
Sprites: Raven Software (Hexen)
Sprite Edit: Software Creations Ltd. (Hexen for Nintendo 64)

Description: The trees and leaves from Hexen's Nintendo 64 port, as their own
distinct actor. Leaves cannot be spawned on their own, only by HexenN64LeafSpawner
(same with regular leaves only being spawnable by LeafSpawner). The angle of
HexenN64LeafSpawner dictates the direction in which it spawns leaves.")* was created by *Margaret Thatcher*

 [ ![Hexen64 TreeThumb667.png](https://www.realm667.com/forum/attachment/2137) ](https://www.realm667.com/forum/attachment/2137 "...eeThumb667.png")

Name: Hexen N64 Foliage
Palette: Hexen
Connection: None
Summon: HexenN64Tree1, HexenN64Tree2, HexenN64Leaf1, HexenN64Leaf2, HexenN64LeafSpawner
Ambient Sound: No
De-/Activatable: No
Destroyable: No
Special Effects: Yes
ACS: No

Submitted: PGE
Decorate: PGE, Rage Saprk (randomization code on HexenN64LeafSpawner)
Sprites: Raven Software (Hexen)
Sprite Edit: Software Creations Ltd. (Hexen for Nintendo 64)

Description: The trees and leaves from Hexen's Nintendo 64 port, as their own
distinct actor. Leaves cannot be spawned on their own, only by HexenN64LeafSpawner
(same with regular leaves only being spawnable by LeafSpawner). The angle of
HexenN64LeafSpawner dictates the direction in which it spawns leaves.

####  File Attachment:

 File Name: [ HexenN64Leaves.zip](https://www.realm667.com/forum/attachment/2138 "HexenN64Leaves.zip")
 File Size:40.92 KB

Please [Log in](https://www.realm667.com/component/users/login?return=aHR0cHM6Ly93d3cucmVhbG02NjcuY29tL2ZvcnVtL2Nsb3NlZC1zdWJtaXNzaW9ucy8yMDQyLXN1Ym1pc3Npb24taGV4ZW4tbjY0LWZvbGlhZ2U=&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
-
-
-

   2 years 4 months ago [\#11776](#11776) by Gothic  Replied by *Gothic* on topic *[\[SUBMISSION\] Hexen N64 Foliage](https://www.realm667.com/forum/closed-submissions/2042-submission-hexen-n64-foliage#11776 "Name: Hexen N64 Foliage

Palette: Hexen
Connection: None
Summon: HexenN64Tree1, HexenN64Tree2, HexenN64Leaf1, HexenN64Leaf2, HexenN64LeafSpawner
Ambient Sound: No
De-/Activatable: No
Destroyable: No
Special Effects: Yes
ACS: No

Submitted: PGE
Decorate: PGE, Rage Saprk (randomization code on HexenN64LeafSpawner)
Sprites: Raven Software (Hexen)
Sprite Edit: Software Creations Ltd. (Hexen for Nintendo 64)

Description: The trees and leaves from Hexen's Nintendo 64 port, as their own
distinct actor. Leaves cannot be spawned on their own, only by HexenN64LeafSpawner
(same with regular leaves only being spawnable by LeafSpawner). The angle of
HexenN64LeafSpawner dictates the direction in which it spawns leaves.")*

 We already have them [ here](https://www.realm667.com/en/repository-18489/prop-stop-mainmenu-163-64831/vegetation-mainmenu-165-65318/2118-hexen-tree-leaf-variants)

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

- **Margaret Thatcher**
- ![Margaret Thatcher's Avatar](https://www.realm667.com/media/kunena/avatars/resized/size144/users/avatar11850.png?1667635972) Topic Author
- Cacodemon
- ![Cacodemon](https://www.realm667.com/media/kunena/ranks/rank_8_caco.png)

 Less More- Posts: 111
-
-

   2 years 4 months ago [\#11780](#11780) by Margaret Thatcher  Replied by *Margaret Thatcher* on topic *[\[SUBMISSION\] Hexen N64 Foliage](https://www.realm667.com/forum/closed-submissions/2042-submission-hexen-n64-foliage#11780 "Name: Hexen N64 Foliage

Palette: Hexen
Connection: None
Summon: HexenN64Tree1, HexenN64Tree2, HexenN64Leaf1, HexenN64Leaf2, HexenN64LeafSpawner
Ambient Sound: No
De-/Activatable: No
Destroyable: No
Special Effects: Yes
ACS: No

Submitted: PGE
Decorate: PGE, Rage Saprk (randomization code on HexenN64LeafSpawner)
Sprites: Raven Software (Hexen)
Sprite Edit: Software Creations Ltd. (Hexen for Nintendo 64)

Description: The trees and leaves from Hexen's Nintendo 64 port, as their own
distinct actor. Leaves cannot be spawned on their own, only by HexenN64LeafSpawner
(same with regular leaves only being spawnable by LeafSpawner). The angle of
HexenN64LeafSpawner dictates the direction in which it spawns leaves.")*

 Oh. Didn't know that.

I feel like my (as in "Rage Spark and I's") leaf spawner is a much more faithful recreation of the Hexen 64 spawner than the one currently on the site. For a refresher, Hexen's leaf spawner does this once every 20 tics:

"Spawns up to four leaves, which are alternatively Leaf1 and Leaf2. The leaves appear randomly in a square area of 128×128 map units centered on the spawner, and with a height between the spawner's and 64 map units above it. They are blown in the direction corresponding to the spawner's angle, with a horizontal velocity between 3.0 and 5.0 units."

* Properly centered

The on-site generator randomizes the leaf position between 0 and 128. This is incorrect, however, as this means the box emanates from the bottom-left corner. Mine randomizes the leaf position between -64 and 64, properly centering the box.

* Actual leaf randomization

The on-site generator is rather simple.
&gt;Flip a coin (generate a random number with a value of either 0 or 1)
&gt;If it's Heads (has a value of 0), summon 4 of the first leaf variety. If it's Tails (has a value of 1), summon 4 of the second leaf variety.

This results in it only summoning one variety of leaves at a time, in contrast to how Hexen actually summons leaves.

My generator is a little more robust.

&gt;Flip a coin. If Heads, summon 1 leaf of the first variety. If Tails, summon 1 leaf of the second variety.
&gt;Repeat this 3 times, for a total of 4 leaves.

This ensures that the leaves are truly varied and random.

* Proper velocity

The on-site generator sets the velocity of leaves to a random number between 3 and 5. The issue is that it can only set it to a whole number (3, 4, or 5) since it doesn't make room for decimals. My generator properly sets the velocity to a random number between 3.0 and 5.0, allowing for a greater variety of velocities.

Please [Log in](https://www.realm667.com/component/users/login?return=aHR0cHM6Ly93d3cucmVhbG02NjcuY29tL2ZvcnVtL2Nsb3NlZC1zdWJtaXNzaW9ucy8yMDQyLXN1Ym1pc3Npb24taGV4ZW4tbjY0LWZvbGlhZ2U=&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
-
-
-

   2 years 4 months ago [\#11781](#11781) by Gothic  Replied by *Gothic* on topic *[\[SUBMISSION\] Hexen N64 Foliage](https://www.realm667.com/forum/closed-submissions/2042-submission-hexen-n64-foliage#11781 "Name: Hexen N64 Foliage

Palette: Hexen
Connection: None
Summon: HexenN64Tree1, HexenN64Tree2, HexenN64Leaf1, HexenN64Leaf2, HexenN64LeafSpawner
Ambient Sound: No
De-/Activatable: No
Destroyable: No
Special Effects: Yes
ACS: No

Submitted: PGE
Decorate: PGE, Rage Saprk (randomization code on HexenN64LeafSpawner)
Sprites: Raven Software (Hexen)
Sprite Edit: Software Creations Ltd. (Hexen for Nintendo 64)

Description: The trees and leaves from Hexen's Nintendo 64 port, as their own
distinct actor. Leaves cannot be spawned on their own, only by HexenN64LeafSpawner
(same with regular leaves only being spawnable by LeafSpawner). The angle of
HexenN64LeafSpawner dictates the direction in which it spawns leaves.")*

 I could merge this with whirledtsar's submission if you want to.

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

- **Margaret Thatcher**
- ![Margaret Thatcher's Avatar](https://www.realm667.com/media/kunena/avatars/resized/size144/users/avatar11850.png?1667635972) Topic Author
- Cacodemon
- ![Cacodemon](https://www.realm667.com/media/kunena/ranks/rank_8_caco.png)

 Less More- Posts: 111
-
-

   2 years 4 months ago [\#11782](#11782) by Margaret Thatcher  Replied by *Margaret Thatcher* on topic *[\[SUBMISSION\] Hexen N64 Foliage](https://www.realm667.com/forum/closed-submissions/2042-submission-hexen-n64-foliage#11782 "Name: Hexen N64 Foliage

Palette: Hexen
Connection: None
Summon: HexenN64Tree1, HexenN64Tree2, HexenN64Leaf1, HexenN64Leaf2, HexenN64LeafSpawner
Ambient Sound: No
De-/Activatable: No
Destroyable: No
Special Effects: Yes
ACS: No

Submitted: PGE
Decorate: PGE, Rage Saprk (randomization code on HexenN64LeafSpawner)
Sprites: Raven Software (Hexen)
Sprite Edit: Software Creations Ltd. (Hexen for Nintendo 64)

Description: The trees and leaves from Hexen's Nintendo 64 port, as their own
distinct actor. Leaves cannot be spawned on their own, only by HexenN64LeafSpawner
(same with regular leaves only being spawnable by LeafSpawner). The angle of
HexenN64LeafSpawner dictates the direction in which it spawns leaves.")*

 That sounds like a good compromise.

Please [Log in](https://www.realm667.com/component/users/login?return=aHR0cHM6Ly93d3cucmVhbG02NjcuY29tL2ZvcnVtL2Nsb3NlZC1zdWJtaXNzaW9ucy8yMDQyLXN1Ym1pc3Npb24taGV4ZW4tbjY0LWZvbGlhZ2U=&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
-
-
-

   2 years 4 months ago [\#11786](#11786) by Gothic  Replied by *Gothic* on topic *[\[SUBMISSION\] Hexen N64 Foliage](https://www.realm667.com/forum/closed-submissions/2042-submission-hexen-n64-foliage#11786 "Name: Hexen N64 Foliage

Palette: Hexen
Connection: None
Summon: HexenN64Tree1, HexenN64Tree2, HexenN64Leaf1, HexenN64Leaf2, HexenN64LeafSpawner
Ambient Sound: No
De-/Activatable: No
Destroyable: No
Special Effects: Yes
ACS: No

Submitted: PGE
Decorate: PGE, Rage Saprk (randomization code on HexenN64LeafSpawner)
Sprites: Raven Software (Hexen)
Sprite Edit: Software Creations Ltd. (Hexen for Nintendo 64)

Description: The trees and leaves from Hexen's Nintendo 64 port, as their own
distinct actor. Leaves cannot be spawned on their own, only by HexenN64LeafSpawner
(same with regular leaves only being spawnable by LeafSpawner). The angle of
HexenN64LeafSpawner dictates the direction in which it spawns leaves.")*

 [ Updated](https://www.realm667.com/en/repository-18489/prop-stop-mainmenu-163-64831/vegetation-mainmenu-165-65318/2118-hexen-tree-variants)

Please [Log in](https://www.realm667.com/component/users/login?return=aHR0cHM6Ly93d3cucmVhbG02NjcuY29tL2ZvcnVtL2Nsb3NlZC1zdWJtaXNzaW9ucy8yMDQyLXN1Ym1pc3Npb24taGV4ZW4tbjY0LWZvbGlhZ2U=&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)
