Plus Emu 2.1 Can't create my own room_models?

Results 1 to 7 of 7
  1. #1
    Elite Member GrateZ4 is offline
    Member +Rank
    Jul 2014 Join Date
    145Posts

    Plus Emu 2.1 Can't create my own room_models?

    When i'm trying to create my own room model named model_new and i set heightmap and x,y,z cordinats then save and start emu it just says this:




    Here is the room_model


  2. #2
    Elite Member GrateZ4 is offline
    Member +Rank
    Jul 2014 Join Date
    145Posts

    Re: Plus Emu 2.1 Can't create my own room_models?

    Quote Originally Posted by ProducerMark View Post
    Go to the roommodel cs file and add above the default case:
    case "modelname":
    return 22;
    http://gyazo.com/785f4604a79b1d6c7c77adf194e4ea33 like that?

  3. #3
    Elite Member ProducerMark is offline
    Member +Rank
    Jul 2010 Join Date
    Middle EarthLocation
    176Posts

    Re: Plus Emu 2.1 Can't create my own room_models?

    Ahh nevermind, got the code wrong. It can not return a value for a character which is not between 0-9 and a-k in your model. You can try to add the missing values like:
    case 'l':
    return 21;
    case 'm':
    return 22;
    till
    case 'w':
    return 32;
    Just copy and paste it and add 1 to the return value and character. Shouldn't be too hard right? ;p

  4. #4
    Elite Member GrateZ4 is offline
    Member +Rank
    Jul 2014 Join Date
    145Posts

    Re: Plus Emu 2.1 Can't create my own room_models?

    Quote Originally Posted by ProducerMark View Post
    Ahh nevermind, got the code wrong. It can not return a value for a character which is not between 0-9 and a-k in your model. You can try to add the missing values like:

    till

    Just copy and paste it and add 1 to the return value and character. Shouldn't be too hard right? ;p
    nvm worked fine, xd

  5. #5
    Elite Member ProducerMark is offline
    Member +Rank
    Jul 2010 Join Date
    Middle EarthLocation
    176Posts

    Re: Plus Emu 2.1 Can't create my own room_models?

    Ah you already did that, that is good.
    Now I see you have X in your room_model, instead of x (It will execute another codeblock for the lower x).
    Only saw it now because it wasn't too clear in the screen xD (oops).

    Replace X with x and it'll do the trick

  6. #6
    Elite Member GrateZ4 is offline
    Member +Rank
    Jul 2014 Join Date
    145Posts

    Re: Plus Emu 2.1 Can't create my own room_models?

    Quote Originally Posted by ProducerMark View Post
    Ah you already did that, that is good.
    Now I see you have X in your room_model, instead of x (It will execute another codeblock for the lower x).
    Only saw it now because it wasn't too clear in the screen xD (oops).

    Replace X with x and it'll do the trick
    Aah you mean my heightmap?

  7. #7
    Elite Member ProducerMark is offline
    Member +Rank
    Jul 2010 Join Date
    Middle EarthLocation
    176Posts

    Re: Plus Emu 2.1 Can't create my own room_models?

    Yes ;)



Advertisement