@Gestour , This is a mostly unrelated thing, but for your GPWS mod, how did you determine the pitch and bank angle of the aircraft? I figure it was from using ...PlayerAircraft.MainCockpitRotation, but is that in local space or world?
@HellFireKoder @Gestour This is the basic summary of whats happening.
- Open Unity 5.3.6f1
- Open a project with nothing but the untouched ModTools in the Assets
- Create a new .cs script with a generic name, like AutopilotBehavior.cs
- Add it to a Game Object
- Select the G.O., then open the mod builder dialogue, and click "Save Selected Game Objects"
- Click "Save Mod - PC"
Nothing appears under the "Assemblies" dropdown menu.
@HellFireKoder I extracted the .zip using a different program, and it now produces the .unitypackage correctly. However, upon building the mod, and loading it into the game correctly, none of the scripts I've added function, or show any evidence of even existing.
@HellFireKoder I downloaded it from the Modding Wiki subreddit. I've tried extracting the .zip, but all of the assets are still encoded/not present. I did however take the ModTools from one of the example mods, and it seems to work.
However, it doesn't solve my original problem of the scripts not compiling into a .dll
@HellFireKoder Ah. I think it might be something to do with the version of ModTools I'm using, but I can't use the version from the Subreddit, because it downloads as a .zip file, and when I change the extension to import it, it says that all files are already in my project. Which they're not.
@Gestour I've never had to use the ServiceProvider class before, and as such it is very unfamiliar to me. And while I think I have a pretty good grasp now on how to use it, my main problem is the thing we're discussing on my other post, about scripts not compiling. See you there!
@Gestour I know the Unity engine pretty well, since I've been using it for standalone indy games for about three years. What I'm having trouble with is building SimplePlanes mods.
@Gestour @HellFireKoder Is this when I build the player? I didn't think I had to do that for mods. When I click "Save Mod - PC", it just says "Mod Saved etc"
@StallFlight Sorry ignore that first comment about me being angry, all I really want is a mention as the original designer of the wings at this point. I as well misinterpreted your comment, and as the AndyCar series is my precious baby I immediately went to DEFCON 1. So just say "Aye this dood Handspider made the wings, yeet" and I'll settle.
@StallFlight I would like a mention, since a the wings were originally my design, as well as the increased steering angle hinges on AG1, as well as the visible bodywork, which although you have made changes worthy of a new design, I can easily see the original nose shape in yours. Also you should add a single-shot gun so you can use the DRS actuators.
@Gestour , This is a mostly unrelated thing, but for your GPWS mod, how did you determine the pitch and bank angle of the aircraft? I figure it was from using ...PlayerAircraft.MainCockpitRotation, but is that in local space or world?
@HellFireKoder Nope. Doesn't show anything in assemblies, either.
It adds 2m/s to the airspeed when you press 9, right?
@Deadly8Nightshade "SimpleVehicles" also yassssss
@HellFireKoder Alright, I sent an email with a link to a Google Drive file, since it won't let me attach a .zip for security reasons
@HellFireKoder @Gestour This is the basic summary of whats happening.
- Open Unity 5.3.6f1
- Open a project with nothing but the untouched ModTools in the Assets
- Create a new .cs script with a generic name, like AutopilotBehavior.cs
- Add it to a Game Object
- Select the G.O., then open the mod builder dialogue, and click "Save Selected Game Objects"
- Click "Save Mod - PC"
Nothing appears under the "Assemblies" dropdown menu.
@Mostly No u
@Kerbango "SimpleAnythingButPlanes"
@SuperSix 🅱️i🅱️🅱️Ha🅱️🅱️s🅱️i🅱️🅱️r
@SuperSix more like 🅱️uper🅱️ix
@HellFireKoder And I have built the mod properly. I noticed this issue after I loaded the mod into the game.
@flyingsteve88 "NotSimpleNotPlanes"
@Minecraftpoweer BinecraftBoweer
@HellFireKoder I extracted the .zip using a different program, and it now produces the .unitypackage correctly. However, upon building the mod, and loading it into the game correctly, none of the scripts I've added function, or show any evidence of even existing.
I have examined the log, to no avail.
@BACconcordepilot I like where this is going
@Minecraftpoweer but what if yes
@HellFireKoder @Gestour Is there a certain "using" directive I should have? Maybe the GameObject needs to be given a certain tag?
@HellFireKoder Update: nothing worked
@HellFireKoder I downloaded it from the Modding Wiki subreddit. I've tried extracting the .zip, but all of the assets are still encoded/not present. I did however take the ModTools from one of the example mods, and it seems to work.
However, it doesn't solve my original problem of the scripts not compiling into a .dll
@HellFireKoder Ah. I think it might be something to do with the version of ModTools I'm using, but I can't use the version from the Subreddit, because it downloads as a .zip file, and when I change the extension to import it, it says that all files are already in my project. Which they're not.
@HellFireKoder I've been using 5.3.6, not 5.3.6f1. I will try that now and report the results
Also if this is what it was the entire time I shall be very cross
@Gestour I've never had to use the ServiceProvider class before, and as such it is very unfamiliar to me. And while I think I have a pretty good grasp now on how to use it, my main problem is the thing we're discussing on my other post, about scripts not compiling. See you there!
@Gestour I know the Unity engine pretty well, since I've been using it for standalone indy games for about three years. What I'm having trouble with is building SimplePlanes mods.
@Gestour @HellFireKoder Is this when I build the player? I didn't think I had to do that for mods. When I click "Save Mod - PC", it just says "Mod Saved etc"
@HellFireKoder Yes, multiple times.
I know its supposed to do that, but, well...
...'tisn't.
Parts get saved just fine, but nothing gets put into the Assemblies section.
@Rodrigo110 It WAS kind of a mistake on Jundroo's part, I would've liked to see this much work put into SP to add essentially the same things
@AndrewGarrison @LiterallyAnybody
@Gestour @HellFireKoder @WNP78
@Rodrigo110 Why is it nearing the end of its life? There are still many things that you can't do in SR2 that you can in SP
@laserborn88 WaterG8
@NathanMikeska
@FastDan BUT DO YOU KNOW THE ANSWER, MY MEMEOPHOBIC FRIEND
@AndrewGarrison @HellFireKoder @WNP78 ples I feel ignorant
@Gestour A N G E R Y H A N D S P I D E R
@Gestour
@CursedFlames yeet, I'm testing out a new model
@CursedFlames I know, but i've tried it pretty much every hour for 9 hrs.
@Gestour bet
you are my best friend
@Jetpackturtle :O I AM LOVED HOORAY
@Strikefighter04 YEET
@StallFlight Thx m8 K now take it down (AM KIDDIN)
@StallFlight I meant in the description you goose
@StallFlight Sorry ignore that first comment about me being angry, all I really want is a mention as the original designer of the wings at this point. I as well misinterpreted your comment, and as the AndyCar series is my precious baby I immediately went to DEFCON 1. So just say "Aye this dood Handspider made the wings, yeet" and I'll settle.
@StallFlight I would like a mention, since a the wings were originally my design, as well as the increased steering angle hinges on AG1, as well as the visible bodywork, which although you have made changes worthy of a new design, I can easily see the original nose shape in yours. Also you should add a single-shot gun so you can use the DRS actuators.
@InternationalAircraftCompany Oof yerself
Completely your own design? ;)
@Nerfenthusiast
@BaconEggs
@FastDan
@AndrewThePlane
@InternationalAircraftCompany
@BaconRoll
@Strikefighter04