Skip to content

Commit

Permalink
Added new EVA models
Browse files Browse the repository at this point in the history
  maleEVA
  femaleEVA
  kerbalEVA_RD_Exp
  kerbalEVA_female_Exp
  kerbalEVA_RD_Future
  kerbalEVA_female_Future
  • Loading branch information
linuxgurugamer committed Jun 26, 2020
1 parent 09f7e20 commit 1e6cdcd
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 26 deletions.
9 changes: 9 additions & 0 deletions Changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
Changelog

1.1.1.6
Added new EVA models
maleEVA
femaleEVA
kerbalEVA_RD_Exp
kerbalEVA_female_Exp
kerbalEVA_RD_Future
kerbalEVA_female_Future

1.1.1.5
Fixed shaders for KSP 1.8
Added additional check for EvaFuel
Expand Down
2 changes: 1 addition & 1 deletion EvaFollower.version
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"MAJOR": 1,
"MINOR": 1,
"PATCH": 1,
"BUILD": 5
"BUILD": 6
},
"KSP_VERSION_MIN": {
"MAJOR": 1,
Expand Down
25 changes: 0 additions & 25 deletions EvaFollower.version.orig

This file was deleted.

43 changes: 43 additions & 0 deletions Source/EvaAddonAddModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,49 @@ public void Awake()
}
catch { }

EVA = new ConfigNode("MODULE");
EVA.AddValue("name", "EvaModule");
try
{
PartLoader.getPartInfoByName("kerbalEVA_RD_Exp").partPrefab.AddModule(EVA);
}
catch { }
EVA = new ConfigNode("MODULE");
EVA.AddValue("name", "EvaModule");
try
{
PartLoader.getPartInfoByName("kerbalEVA_female_Exp").partPrefab.AddModule(EVA);
}
catch { }
EVA = new ConfigNode("MODULE");
EVA.AddValue("name", "EvaModule");
try
{
PartLoader.getPartInfoByName("kerbalEVA_RD_Future").partPrefab.AddModule(EVA);
}
catch { }
EVA = new ConfigNode("MODULE");
EVA.AddValue("name", "EvaModule");
try
{
PartLoader.getPartInfoByName("kerbalEVA_female_Future").partPrefab.AddModule(EVA);
}
catch { }
EVA = new ConfigNode("MODULE");
EVA.AddValue("name", "EvaModule");
try
{
PartLoader.getPartInfoByName("maleEVA").partPrefab.AddModule(EVA);
}
catch { }
EVA = new ConfigNode("MODULE");
EVA.AddValue("name", "EvaModule");
try
{
PartLoader.getPartInfoByName("femaleEVA").partPrefab.AddModule(EVA);
}
catch { }

}

}
Expand Down

0 comments on commit 1e6cdcd

Please sign in to comment.