HeroEngine Forums
Welcome, Guest. Please login or Register for HeroCloud Account.

Author Topic: [Resolved] default room in character selection area?  (Read 2081 times)

LuisTorralva

  • General Accounts
  • *
  • Posts: 15
    • View Profile
[Resolved] default room in character selection area?
« on: Sep 06, 11, 05:07:19 PM »

i started working on the chararacter selection holding area,
want to enable a room to create a nice 3D  background terrain landscape scene like HJ does.

altho by default when you get into the character selection or area #1 for some reason no room is showing,
so i thought to go to edit mode from that area and see by adding a room to it will enable it, or to look for a setup that will make it enable or disable but could not find any.

looked all over the client and server scripts for a clue to see if i could find where this area is handled to see if the rooms are disabled for this area from script but could not find any reference about it.

Now, in other areas there is usually a default room that shows when entering it, but that is where the character is located. so since in character selection no character is selected or active so I imagine why no room is available?

So to sum this up, I will appreciate if someone be kind and throw me a tip on how to or where to look to enable a default room in character selection area so i can add a background scene when character selecting.

thank you in advanced

 
« Last Edit: Oct 31, 12, 03:00:32 PM by HE-Cooper »
Logged

TGSRofar

  • General Accounts
  • *
  • Posts: 153
    • View Profile
Re: default room in character selection area?
« Reply #1 on: Sep 06, 11, 05:12:41 PM »

Try putting the following code in your BaseClient override..

Code: [Select]
 if areaID == 1
    // need to auto select rooms for character selection area
    AutoSelectRooms()
  .

Oops...sorry, I forget to specify the method to put this in.

This would go in the HE_Area_load override.
« Last Edit: Sep 06, 11, 05:15:44 PM by rfarrel »
Logged
Ron Farrell
Lead Programmer
Triad Game Studios

LuisTorralva

  • General Accounts
  • *
  • Posts: 15
    • View Profile
Re: default room in character selection area?
« Reply #2 on: Sep 07, 11, 01:51:09 AM »

Thank you Ron,

that did the trick.

good day.
Logged