Jump to content

Carrot7

Members
  • Posts

    7
  • Joined

  • Last visited

Reputation

2 Neutral

1 Follower

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I am trying to make my own mod for first person on EVA. What am I doing incorrectly, what could I do better. I don't think I'm understanding this correctly. Thanks in advance. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using UnityEngine; namespace HelmetView { [KSPAddon(KSPAddon.Startup.Flight, false)] public class HelmetView : MonoBehaviour { private bool firstPerson = false; public void SwitchCameraEVA(bool toFirst) { if(toFirst) { print("FIRST PERSON CAMERA STUFF"); } else if(!toFirst) { print("THIRD PERSON"); // Disable FirstPerson! } } public void Update() { // If Eva is true if (FlightGlobals.ActiveVessel.isEVA) { // Camera Perspective Change Key. bool switchCameraKey = Input.GetKeyDown(KeyCode.C); if (switchCameraKey && !firstPerson) { // Change to 1rd Person SwitchCameraEVA(true); firstPerson = true; } else if(switchCameraKey && firstPerson) { // Change to 3rd Person SwitchCameraEVA(false); firstPerson = false; } } } } }
  2. Thank You. This is very useful to me.
  3. I've wanted to get into modding for a while. I'm looking to make a mods that change game play rather then something like adding new parts. For example, I would like to make a mod for 1.11.1 which add first person camera in EVA. I know a little bit of Unity, planning on learning some Blender, and I know a tiny bit of C#. My main issue is that when I follow tutorials on the topic I do not learn. They never help me code my ideas, but rather only give me a simple template that I slightly understand. I wanna know how to implement my ideas and how to do it correctly. I'd love for some great resources or advice from anyone who has experience in making mods and what you've done to learn how to make mods. Thank You :]
  4. https://mega.nz/#!3xJHBTRT!g79ZYQsZ151kfBNVprkA6e96fI9V4tj1Iu-KYdonwWY wont work this is my crash log
×
×
  • Create New...