Health and Ease-of-Scripting Update - World to Build

Health and Ease-of-Scripting Update

Admin
Early Supporter
Total Posts:
217
Joined:
09-13-2018
06-11-2022 3:11 PM
whoahh it's been a month or two since a nice big update!
for starters, **THIS UPDATE IS LIVE RIGHT NOW**

let's go over all of the things included in this update:

- SCRIPTING IMPROVEMENTS
---> new `RunOnServer()` and `RunOnClient()` functions to make networking REALLY easy!!
---> new `replicated` property on objects! a non-static, non-replicated object is a new concept of "local objects" that exist only on one client and don't replicate to others. you can create one during runtime with `CreateLocalEmptyObject()`
---> colliders have a new property for `isTrigger` which makes it not collidable, but still send lua `OnTouch` events
---> fixed other clients Characters not sending `OnTouch` events to your client!
---> the script component now has a dropdown to choose your script instead of a text field
---> you can create scripts from inside the builder now
---> links to the documentation site and tutorial site are in the builder now
---> buttons to choose a custom script editor

- HEALTH FEATURE
---> all Characters now have health! this can be accessed in lua with `health` and `maxHealth`
---> all Characters also have shields! this is a second health bar that can be accessed in lua with `shields` and `maxShields`
---> new `god` property for Characters that blocks all damage
---> new `dead` property, and `alive` now works
---> new lua functions: `Kill()`, `Damage()`, `Heal()`
---> new World Settings for health regen, shields regen, and whether or not to hide the healthbar
---> new World Setting for "hide name behind walls"
---> World Settings now have a dedicated section in the documentation website!
---> your local client's nametag is no longer visible. you do have health, but it's at the top of your screen instead of in the middle of your screen and in your way
---> Characters can now "die" and fall apart into voxel pieces. the voxel pieces will slowly disappear after the Player respawns
---> hover over a Character's nametag to show their #username, and their health if it's hidden.
Total Posts:
8
Joined:
01-31-2022
06-11-2022 4:05 PM
Awesome, excited for more to come!
Admin
Early Supporter
Total Posts:
217
Joined:
09-13-2018
06-11-2022 6:21 PM
someone suggested adding force fields, so I added them along with some hotfixes for the update

FORCE FIELDS
---> new property on Character, `forceField`, turn on and off to give force field
---> new property on Character, `invulnerable`, returns true if either `god` or `forceField` are true
---> new World Setting `force_field_timer` to choose how long the force field lasts upon respawning

message me with any ideas or questions you have! :v)
Membership
Total Posts:
157
Joined:
04-11-2020
06-12-2022 11:19 PM
very nice indeed
Total Posts:
15
Joined:
04-18-2020
06-29-2022 10:17 PM
Very good update!
Loading...