Profile image

NEED HELP with new mod !

92.7k MisterT  4.8 years ago

Hi all, I'm working on a new mod with volumetric clouds and I think it looks good! But now, I need to make it work with "ModSettings" or add some kind of UI to adjust clouds settings in game and I don't know how to do it, I just suck at coding, please help ! (Here are a few screenshots).

  • Log in to leave a comment
  • Profile image
    884 DCLDCL

    @MisterT Can you make it available for steam? Thanks!!!

    2.7 years ago
  • Profile image

    @Starbound pls make this on android, amd if you do, pls tag me

    4.5 years ago
  • Profile image

    Can you make this on Android?

    4.6 years ago
  • Profile image
    12.0k Starbound

    @MisterT I think I may be able to tackle those issues. Just hmu with the unity project if you need help with anything code related and I'll try my best!

    4.8 years ago
  • Profile image
    92.7k MisterT

    @Jerba This one yes !

    4.8 years ago
  • Profile image
    665 Jerba

    Do you make your planes?

    4.8 years ago
  • Profile image

    👌 @MisterT

    4.8 years ago
  • Profile image
    92.7k MisterT

    @Starbound Cool, @Gestour is already giving me a hand on it, but sure if you know how to link wind settings to values or even make this stupid noise generator to work in particle system...

    4.8 years ago
  • Profile image
    12.0k Starbound

    Can I contribute to this project in any way? This looks stunning. Rather coincidentally, I've been working on a procedural clouds mod myself for a couple of weeks now and I may be able to share some knowledge.

    4.8 years ago
  • Profile image

    Looks more like some sort of flight sim than simpleplanes.

    4.8 years ago
  • Profile image

    I can see this mod being very popular! The fact it's additive (so works in all maps) is just the icing on the cake

    4.8 years ago
  • Profile image
    92.7k MisterT

    @MOPCKOEDNISHE Thanks for your answer, I'm not sure I want to add switches, because I don't want to have icons on screen, and I don't want to add assets to prevent lag. By the way, I'll think about it if if don't find any other solutions.

    4.8 years ago
  • Profile image
    92.7k MisterT

    @jamesPLANESii I don't think I can connect it to in-game options, but I can probably add adjustable settings with ModSettings. @Gestour is giving me a hand on it.

    4.8 years ago
  • Profile image

    It would actually be really cool if you make it so that the clouds change when you adjust the default weather settings and overwrite the default clouds too if that’s possible

    4.8 years ago
  • Profile image

    Make us happy and become a dev

    +1 4.8 years ago
  • Profile image
    7,256 Roswell

    Looks pretty nice.
    I hope you figure out the problem.

    4.8 years ago
  • Profile image
    92.7k MisterT

    @MOPCKOEDNISHE It's not a map, it's a map plugin.

    4.8 years ago
  • Profile image

    Wow this is amazing

    4.8 years ago
  • Profile image
    24.4k NoGoCars

    That isn't a map, it's real life!

    4.8 years ago
  • Profile image

    You can create some…control terminals with switches in some place of map. Switches must have a colliders. These switches will change parameters of your clouds. This switches look like switches in Gestour instrumentation mod. Maybe @Gestour can give to you more information about work mouse cursor and screen rays.
    I don't now is this code are work. I only show to you direction of work:
    name Switch1 and Switch2 must be in quotes
    using System.Collections;
    using System.Collections.Generic;
    using UnityEngine;

    public class Terminal : MonoBehaviour
    {

    Camera Active_camera;
    bool current_state_of_switch1 = false;
    bool current_state_of_switch2 = false;
    
    
    void Update()
    {
        //Active camera;
        Camera Active_camera = Camera.current;
    
        //if user press left mouse button
        if(Input.GetMouseButtonDown(0))
        {
            RaycastHit hit;
            //Ray go from camera
            Ray ray = Active_camera.ScreenPointToRay(Input.mousePosition);
    
            if(Physics.Raycast(ray,out hit))
            {
                //Ray have detected something object with collider
                Transform some_object = hit.transform;
    
                if(some_object.gameObject.name == Switch1)
                {
                    //Change the state of switch1;
                    current_state_of_switch1 = !current_state_of_switch1;
                }
    
                if (some_object.gameObject.name ==  Switch2 )
                {
                    //Change the state of switch2;
                    current_state_of_switch2 = !current_state_of_switch2;
                }
    
            }
        }
    
    
        if(current_state_of_switch1==true)
        {
            //The clouds are big, for example
        }
        else
        {
            //The clouds are small
        }
    
        if (current_state_of_switch2 == true)
        {
            //Clouds are high
        }
        else
        {
            //clouds are low
        }
    
    
    
    }
    

    }

    +3 4.8 years ago
  • Profile image
    27.9k Armyguy1534

    I cant help because I can't make mods (I've never even made one). But nice map though.
    Also is this the map that the ww2 video was made on?

    4.8 years ago
  • Profile image
    92.7k MisterT

    @ProcessedPlAnEs Not at all, surprisingly !

    4.8 years ago
  • Profile image

    I'm not sure how I could help. Only mode I've ever made was a mediocre map.
    Those clouds looks amazing. I'd have never guessed that's SP.

    4.8 years ago
  • Profile image
    10.9k Rub3n213

    That’s boss

    4.8 years ago
  • Profile image
    19.9k Renameduser4

    Finally, i can see the pic. otherwise fantastic screenshot.

    4.8 years ago
  • Log in to see more comments