Author Topic: Headcrab Zombie's Add-on Dump  (Read 8331 times)

After RTB went down, I realized "Hey, I have a few add-on threads with only RTB links, I need to update those!" but wait! They're all too old to edit! I was going to remake a thread for each, but I decided to just make a dump for all my add-ons. Some of these were made as requests. and never released outside S&R, and may have similar add-ons already made and released



Event_Tumble
First posted here, this add-on, posted about a week after the implementation of events, was the first event I made, and although making many other add-ons, the first add-on I public ally released for the retail version of Blockland.

Quote
A tumble event, requested by insane12 for Ub3r K1tten's server.
After receiving many requests to release it, I am.
It's like when you crash on the skis.



Event_SetPlayerArmor
I think this was the fist S&R request I made. I never released this outside of S&R
An output event that equips the player with varying degrees of armor: wood, bronze, iron, steel, diamond, or adamantite, giving the player a 5%, 10%, 15%, 20%, 35%, 55%, or 75% reduction in damage



Brick_ServerSpawn
Another S&R request that I never released outside that section
A serverwide spawn point brick, placeable only by admins. If you place multiple, you will spawn to a random one.
Also included an RTB pref for "overriding" player's spawn bricks. With it off, players can place their own spawn point brick, and spawn there instead of the server spawns. With it on, the server spawns will override any spawn point brick the player placed



Event_BrickText
Originally an attempted add-on by Crysist, it was taken on by me, then added to by Munk, and released on RTB by Furling
(Code viewers beware - Furling messed with the grammar and formatting of this one and I'm too lazy to fix it)
It's an output event that gives a brick a shapename (a rendered text above the object, similar to how playernames look)
The event itself has three arguments. The first is the text you want above the brick, the second is the color, and the third is the max distance the text is viewable from
Munk added a second event: BrickTextScroll, which adds another argument, scroll speed
Also adds a special VCE var, <var:brick:bricktext>



Then, the shaders update was released, and there was a lot of opportunity with the environment system



Event_WaterLevel
Quote
Seeing some possibilities for a few water-based gamemodes.
Also might make a good pair if someone makes a setWaterLevel event with Environmental Control Event's [listed below] env_waterHeight

Contains two input events, onBrickEnterWater, and onBrickExitWater, detecting when the water level rises above or below the brick you put the events on.


Event_EnvControl
Quote
Contains many output events for changing environment settings
All events require super admin to place on a brick

All events are accessed under the brick class

Contains:
env_sky - Change the skybox
env_water - Change the water texture
env_ground - Change the ground texture
env_sunational socialistmuth
env_sunElevation
env_sunDirectColor
env_sunAmbientColor
env_sunShadowColor
env_sunFlareColor
env_sunFlareSize
env_visibleDistance
env_fogDistance
env_fogColor
env_skyColor
env_waterColor
env_waterHeight [suggest pairing with previous listed add-on]
env_underWaterColor
env_waterScrollX
env_waterScrollY
env_groundColor
env_groundScrollX
env_groundScrollY
env_vignetteColor

For events that contain a drop down menu containing 'Set' and 'Increase/Decrease' :
Set, as the name implies, sets the value to what you put.
Increase/decrease increases if you put a positive number, decreases with a negative number
waterHeight also contains an option named 'AtBrick' - this causes the water to rise to directly at the brick's bottom edge. Entering a number in the box with 'AtBrick' selected will cause the water to go to that amount above or below the brick's bottom edge



Client_SaveEnvironment

Quote
As requested by Bester Bageler

This handy add-on allows you to save the environment settings along with the bricks whenever you save, and then load that environment when you load the bricks!
And it's completely client-side, so you can use it on any server you're admin on!

Screenshots:
Load menu:

Save menu:


Important Notes:
- Fixed button alignment issues with delete extension. May cause alignment issues with other add-ons that modify the save/load bricks gui, if you find any that do, please link
- Due to the admin restriction on environment settings, saving the environment does not work if you are not admin



Script_NegativeWaterHeight
As requested by Crispy_
Extends the environment water height from 0 to 100, to -100 to 100
Requires add-on on server to function
Without client mod you  could just type /envgui_setvar waterheight <height>[/tt but you might as well just download it
« Last Edit: September 18, 2014, 06:33:58 PM by Headcrab Zombie »

Event_Tumble download is gives me a corrupt file.

Oh sweet, I missed a few of these.


The integer in the tumble event is 100% useless because Badspot never really finished the tumble function. The %time variable literally isn't used(except in commented out lines).

didn't this env saver break add-ons

didn't this env saver break add-ons
It's been fixed
« Last Edit: August 27, 2014, 11:47:42 PM by Headcrab Zombie »


The integer in the tumble event is 100% useless because Badspot never really finished the tumble function. The %time variable literally isn't used(except in commented out lines).
I suggest looking at this:
http://forum.blockland.us/index.php?topic=265873.0

stuff that save environment with bricks is a good idea.
I should add the environment and what add-ons the player's using to my save files. 

I suggest looking at this:
http://forum.blockland.us/index.php?topic=265873.0
I actually saw that, then came here to see if you posted about it here.
I'm assuming you want me to put it in the tumble add-on?
I'll do so after work

was expecting this:


what happened to that anyway

Script_NegativeWaterHeight
As requested by Crispy_
Uses code from Port
Extends the environment water height from 0 to 100, to -100 to 100
Requires add-on on server to function
Without client mod you  could just type /envgui_setvar waterheight <height> but you might as well just download it
« Last Edit: September 18, 2014, 10:45:12 PM by Headcrab Zombie »