#On mesh colission event, and loading bars

1 messages · Page 1 of 1 (latest)

spice skiff
#

is there a way to make a loading bar without needing to have 100 images?
I also want to render a 3d model inside unturned.

spice skiff
#

Damn, unturned is too limited without a module

strange kindle
#

Well you can spawn effects using plugins

spice skiff
#

Good idea

#

But it's a ui, will it automatically be destroyed?

strange kindle
#

Effects get automatically destroyed yes

spice skiff
#

If i remember unturned just hides effects

strange kindle
#

UI does not

spice skiff
#

I heard someone said "Unturned hides effects not destroy; so you need to use grenade.cs to remove the actual effect"

strange kindle
spice skiff
strange kindle
#

It uses float.TryParse()

#

Using Lifetime Infinity should be float.Infinity

spice skiff
#

Okay what about the mesh collision

strange kindle
#

As for the loading bar, you could use a text component with a bunch of ■■■■ but that doesnt really work with scaling UI

#

You could create animations for changing the scale of a single bar

#

But then you have to create a lot of animations

strange kindle
strange kindle
spice skiff
strange kindle
#

Thats just an effect

spice skiff
#

When barricade touched, send an event

strange kindle
#

Well

spice skiff
#

Not possible??

strange kindle
#

You could do that in a lot of ways

#

A lot of ways

spice skiff
#

Tell me each

strange kindle
#

Depends on what you intend to use it for

spice skiff
#

For uScript module

strange kindle
#

For what purpose

#

Explain exactly

spice skiff
#

I would create a checkpoint system like in gta 5 races

strange kindle
#

I see

spice skiff
#

The closest I would see one is from brads

#

Flight training

strange kindle
#

Ive already created something similar

spice skiff
#

Show

strange kindle
#

Rocketmod

#

I use LateUpdate() and loop through every player in the race to see if they passed their checkpoint

#

I used this

#

If you're using an area instead of passing a line you may wanna use a different approach though

#

Tbh looping through every player and then checking their distance to their checkpoint should be fine

spice skiff
#

Question, do you still restart your server each time you make a update to your server

strange kindle
#

To my plugin? Yeah

#

You have to

spice skiff
#

Damn you are patient as hell

strange kindle
#

Yessir

#

Also remove openmod if youre not developing for it, takes forever to boot up

spice skiff
#

We need a hot reloader so its the same as making one at uscript