Posts by james1bow

A small new update is available now!

    the PlayerUITextFieldChangeEvent event is never triggered.


    Java
    @EventMethod
    public void textChange(PlayerUITextFieldChangeEvent event){
    println(event.getNewText(), 10);
    if(event.getPlayer().equals(playerController.getPlayer()) && event.getUITextField().equals(messageTextField)){
    String text = event.getNewText();
    this.message = text;
    playerController.getPlayer().sendTextMessage(String.valueOf(text.length()));
    }
    }

    it looks like the methods to update the area3d position do not work. not sure of the impact on performance but removing them is the only way i could get it to work.


    What exactly are you trying to do? if i understand you want to show the selected area after the tool is disabled? if so use Area3D.


    Java
    //assuming you already the the Area data(start/end positions)
    Area3D area3d = new Area3D(area);
    area3d.setAlwaysVisible(true);
    player.addGameObject(area3d);

    bring medpacks and start in summer and you can ride a horse swimming to the arctic.

    Thats how we got snowflake there, as soon as you're about to die fromt he cold, hop off the horse, take a medpack, back on the horse and keep going.

    Took us about 3 medpacks.

    Bring a campfire for when you arrive, you'll want to warm up.

    before the update i was messing with some bridge type stuff. would be more of a dock structure but when you got to the end it would tp you to its adjoined bridge. prefabs are "kind of" broken since the update. you now have to manually assign the textures, this adds alot of unneeded file handling and code that would just need removed later.

    and to set the weather (untested since a few updates ago).


    Java
    public void setWeather(String newWeather){
    WeatherDefs.Weather newWeatherDef = Definitions.getWeather(newWeather);
    Server.setWeather(newWeatherDef, false);
    }

    you passing your output the instance of the weather def and not the weather name.


    Java
    public void weatherTest(){
    WeatherDefs.Weather def = Server.getCurrentWeather();
    String weatherName = def.name;
    println(weatherName, 14);
    }