Is there a plugin that lets you see the zones like in this video?? If there is I can't seem to find it anywhere can someone point me in the right direction.
Solved Visible zones
Discussion in 'Plugin Requests' started by A Sober Schism, May 7, 2016.
-
that appears to be intoxicated sandbox server, and they do a lot of custom coding only for there servers.
I don't think there is a downloadable plugin that shows the zones like that yet. -
Wulf Community Admin
You mean the dome around the building? No plugin for that yet, but possible for anyone willing and able.
-
Oh yes please! This sphere thing again, I would so damn love it to have visible zones ^^
-
I think its just the ddraw method. I'll see if I can fix something.
-
Anyone worked on this idea? I think it would be cool
-
Anyone interested.. I did find a prefab that i could spawn, appears to be smaller version of that bubble zone..maybe.
"assets/prefabs/visualization/sphere.prefab"
might have to see about adjusting scale and such. but its a start -
Lol.. I just felt like running around playing Frosty the Snowman thru my mic...ha ha. See, the little bubbles are useful.
Attached Files:
-
-
so you were able to move them?
-
Wulf Community Admin
-
But I thought the size was the problem ?
-
Still working on the sizing /scaling part. But nothing works yet for me
But i'll have to do a little more research this weekend and see what else I can find. -
Anyone else have idea? I know you cannot spawn them directly as a entity with modified scale attribute.
I tried a few quick things, but attempting to spawn a gameobject directly didn't work. only spawning as entity.
I image we would need to create a prefab / gameobject with desired attributes, then clone/instantiate that object?
I'm off today.. so maybe I can work on this after some BBQ -
But there must be a way, Battle Royal servers are using this.
Good luck and thank you for trying -
i'm sure it will work. I just need to "get my code on" ...lol I am still pretty new at coding, but learning everyday.
And according to the devblog release back in January (Devblog 94) when the sphere was added, gary said it was for modders -
Also waiting to see your work
Thumbs up
-
sweet, I got it working. actually easier than I thought. duh. lol
I'll be able to get something to you guys later on to use.
Captain Morgan makes my brain work better sometimes
edit. added some rough coding for everyone to play with. back to BBQ for now. this will spawn a sphere that grows to the specified 15f size on spawn.
you can change the currentRadius, lerpRadius, and lerpSpeedto get a bigger sphere.
Code:[ChatCommand("sphere")] void cmdChatsphere(BasePlayer player, string command, string[] args) { Vector3 pos = player.transform.position; Quaternion rot = new Quaternion(); string strPrefab = "assets/prefabs/visualization/sphere.prefab"; BaseEntity sphere = GameManager.server.CreateEntity(strPrefab, pos, rot, true); SphereEntity ball = sphere.GetComponent<SphereEntity>(); ball.currentRadius = 5f; ball.lerpRadius = 15f; ball.lerpSpeed = 1f; sphere?.Spawn(true); }
Last edited by a moderator: May 30, 2016 -
Grab one BBQ for me brah, also going to test it now
-
Thank you -
If you guys are playing with it and zone manager zones.. it appears there visible spheres are approx. twice the size.
My zone was set for 150. and I had to set my sphere to 300 to match pretty close.
[DOUBLEPOST=1464659450][/DOUBLEPOST]and if you need you can use this in server console to remove all your spheres. lol
del assets/prefabs/visualization/sphere.prefab