Thread: Making an area like FightCaves where you cant see players?

Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1 Making an area like FightCaves where you cant see players? 
    Registered Member Throat's Avatar
    Join Date
    Aug 2009
    Posts
    486
    Thanks given
    7
    Thanks received
    1
    Rep Power
    1
    How am i able to do this?
    Reply With Quote  
     

  2. #2  
    Donator


    Join Date
    Nov 2008
    Posts
    1,017
    Thanks given
    21
    Thanks received
    32
    Rep Power
    161
    you make it so when u enter the area every player go to diffrent height
    Reply With Quote  
     

  3. #3  
    Registered Member

    Join Date
    Feb 2010
    Posts
    3,187
    Thanks given
    1,124
    Thanks received
    834
    Discord
    View profile
    Rep Power
    1514
    If im correct.
    Using the secondary map region packet, or using height levels.
    Or maybe messing around with the player updateing.
    Reply With Quote  
     

  4. #4  
    Registered Member Throat's Avatar
    Join Date
    Aug 2009
    Posts
    486
    Thanks given
    7
    Thanks received
    1
    Rep Power
    1
    But wouldn't increasing height levels make you above fightcaves? or do others see that if so how would i? like is it client sided or server sided?
    Reply With Quote  
     

  5. #5  
    Banned

    Join Date
    Sep 2009
    Posts
    3,247
    Thanks given
    195
    Thanks received
    255
    Rep Power
    0
    I've always wounderd that never really understood regions.
    Reply With Quote  
     

  6. #6  
    Endeavor

    Mikey`'s Avatar
    Join Date
    Dec 2007
    Posts
    4,421
    Thanks given
    693
    Thanks received
    1,425
    Rep Power
    1202
    There's a packet for that. I'm not good with packets at all. But I know there's one for it.
    Reply With Quote  
     

  7. #7  
    Banned

    Join Date
    Sep 2009
    Posts
    3,247
    Thanks given
    195
    Thanks received
    255
    Rep Power
    0
    as do I but dunno how to use them
    Reply With Quote  
     

  8. #8  
    Banned
    Join Date
    Feb 2008
    Posts
    384
    Thanks given
    30
    Thanks received
    26
    Rep Power
    0
    It is called instancing... figure it out alot of games use it. If a player enters another area dont call the update block which loads up all the players on the screen for that plalyer. (block the player from the update block).

    BTW Graham released a winterlove server with instancing which was incredibly useful for certain things go take a look at that. I never actually really tested it to see if that worked though.
    Reply With Quote  
     

  9. #9  
    Registered Member
    Join Date
    Aug 2009
    Posts
    608
    Thanks given
    1
    Thanks received
    17
    Rep Power
    6
    You could also make a declaration. There's an emote that makes you invisible, just make it so that the player is set to that emote after entering the area. Or change the height levels.
    Reply With Quote  
     

  10. #10  
    Member

    Join Date
    May 2008
    Posts
    1,288
    Thanks given
    50
    Thanks received
    92
    Rep Power
    0
    The only reason height levels don't show players is because of the SERVER.
    The way player updating is set up, it doesn't show players at different heights.
    The client only has height levels 0-3.
    If the server has the height set to 4, the client's height will be 0. (5-1, 6-2, 7-3, 8-0 etc)
    - Although the server wouldn't update other players in there because they are different height levels.

    There is no difference between setting the height level to a multiple of 4 and having some variable to make it not update players in fight caves.

    The easiest thing is to just do (upon entrance of fight caves)
    heightLevel = (4 * numPlayersInFightCaves++);

    And when exiting -
    heightLevel = 0;
    numPlayersInFightCaves--;
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •