generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Removing an object from local render EFFICIENTLY?

Previous Thread :: Next Thread 
jewelycat is not online. jewelycat
Joined: 10 Sep 2008
Total Posts: 17345
13 Jan 2014 09:44 PM
So the only way I've figured out to remove from local render (assuming first person is locked,) is to parent the object to the player's character. The problem is, there's a pretty bad delay between the object being reparented and the objected being de-rendered, and it only gets worse as more players join the game. So how do I de-render an object locally, yet keep it for everyone else to see in an efficient way?
Report Abuse
jewelycat is not online. jewelycat
Joined: 10 Sep 2008
Total Posts: 17345
13 Jan 2014 09:47 PM
cnt pls
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
13 Jan 2014 09:48 PM
I'm not going to answer you until you tell me the reason why you are not using streaming?
Report Abuse
jewelycat is not online. jewelycat
Joined: 10 Sep 2008
Total Posts: 17345
13 Jan 2014 09:49 PM
Streaming?
Report Abuse
IlIll is not online. IlIll
Joined: 28 Aug 2011
Total Posts: 896
13 Jan 2014 09:50 PM
transparency = 1
Report Abuse
shonclub is not online. shonclub
Joined: 05 Sep 2009
Total Posts: 1331
13 Jan 2014 09:54 PM
This should help

http://blog.roblox.com/2013/10/lighting-fast-loads-streaming-is-enabled/
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
13 Jan 2014 09:54 PM
Oh never mind, I misinterpreted your thread.
What do you mean, "remove from local render"? Like, the client doesn't render the part?
Report Abuse
shonclub is not online. shonclub
Joined: 05 Sep 2009
Total Posts: 1331
13 Jan 2014 09:55 PM
He's talking about how the rendering is delayed.
Report Abuse
jewelycat is not online. jewelycat
Joined: 10 Sep 2008
Total Posts: 17345
13 Jan 2014 09:57 PM
Ye, client doesn't render it, but everyone else does.

Like your hats when you zoom in are not rendered. Neither are any descendants of your character while zoomed in. (Even though you can drop your hats while zoomed in, and then they're invisible to your client even if you zoom out. Not sure why roblox hasn't fixed that, but it's irrelevant)
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
13 Jan 2014 09:59 PM
Yes I know what you mean, well you _could_ create a part in everyone else's camera but that wouldn't be a very good way.
But every part in the character is actually rendered, otherwise you wouldn't be able to see a sword when you equip it FP.
Report Abuse
IlIll is not online. IlIll
Joined: 28 Aug 2011
Total Posts: 896
13 Jan 2014 09:59 PM
OHH THAT! All I can think of... is clone the character to the camera and weld it to the character
Report Abuse
Pherociously is not online. Pherociously
Joined: 14 Apr 2013
Total Posts: 34222
13 Jan 2014 10:00 PM
odr sightd at 4 o clok!1111
Report Abuse
jewelycat is not online. jewelycat
Joined: 10 Sep 2008
Total Posts: 17345
13 Jan 2014 10:03 PM
im almost certain they're only rendered if their parent is a tool

and cloning to all client's is not an option in this case because.. too many reasons to explain :u

@phero, odr fite me you noob
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
13 Jan 2014 10:07 PM
Oh, that would make sense.
Well that's pretty much the only way I could think of without local parts without using some sort of haxy method like 'quick re-parenting', which is less efficient to say the least.
Report Abuse
jewelycat is not online. jewelycat
Joined: 10 Sep 2008
Total Posts: 17345
13 Jan 2014 10:07 PM
the delay is insane tho qq
Report Abuse
Pherociously is not online. Pherociously
Joined: 14 Apr 2013
Total Posts: 34222
13 Jan 2014 10:08 PM
one word

gpr3
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
13 Jan 2014 10:08 PM
Why do you need this, maybe there is a better way to do what you want
Report Abuse
jewelycat is not online. jewelycat
Joined: 10 Sep 2008
Total Posts: 17345
13 Jan 2014 10:10 PM
FPS, sniper aiming. During full aim the sniper parented to character and a scope image is placed on screen.

The only other way I can think of would be to lock camera like 5 studs in front of the character's face, but then I'd have to raycast to make sure it doesn't go through walls/blocks... it wouldn't really be efficient
Report Abuse
IlIll is not online. IlIll
Joined: 28 Aug 2011
Total Posts: 896
13 Jan 2014 10:11 PM
make a custom camera BAM! problem solved!
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
13 Jan 2014 10:11 PM
Here's one stupid method, you could make all the parts in your sniper collidable so they can't really go through a wall to aim, so you wouldn't have to use raycasting, though if they take their tool out when they're directly behind a wall, they might go flying
Report Abuse
jewelycat is not online. jewelycat
Joined: 10 Sep 2008
Total Posts: 17345
13 Jan 2014 10:14 PM
nonono
this isn't some kinda scrubby 'how do i scropt i am noob' fps

this is like 'the coolest fps on rerblex'

there are no tools / cancollide parts

y can't roblox just let us control render? we could do blur, camera effects, front-rendering, everything
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
13 Jan 2014 10:16 PM
Is the delay that bad?
Report Abuse
jewelycat is not online. jewelycat
Joined: 10 Sep 2008
Total Posts: 17345
13 Jan 2014 10:18 PM
Bad enough that I get PMs all the time saying "fix the sniper i cant aim because the scope is in the way"

I made the game a ton more efficient, but with 12 players im pretty sure the delay would be ~1-3 seconds :L

if ya wanna see why cancollide/that stuff won't work im in da server right now
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
13 Jan 2014 10:19 PM
Which game (your follow is off)
Report Abuse
jewelycat is not online. jewelycat
Joined: 10 Sep 2008
Total Posts: 17345
13 Jan 2014 10:20 PM
forgot about that, it was off cus people were stalking in an sb :p

try now
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image