Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.95a is out! (03/26/21); Blog post: A Tale of Two Tech Levels (05/28/21)

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Avan

Pages: 1 ... 92 93 [94]
1396
Modding / Re: Tips for creating missions
« on: May 04, 2011, 02:54:42 PM »
Cool! That would make things quite a bit more convenient.

1397
I noticed that since the HSS Bis'mar in the missiondefinition.java file does not have the extra argument detailing its name, it will simply be assigned a random name instead.

1398
Modding / Tips for creating missions
« on: May 04, 2011, 02:34:14 PM »
So I've already made a couple missions so far (they still need some fluff-text polish before I will release them), but just in general, from my experience:

- you can ignore the missiondefinition.class file; you only need to change the missiondefinition.java, mission_text.txt, and descriptor.json for the mission itself, and the directory name
- don't forget to add your mission to the missionlist.json file in the ../missions/.. directory, or it won't be loaded
- if you get a crash on load, you probably have an error in your missiondefinition.java; if you go to the ../starfarer-all/.. directory, you will find a file starfarer.log, which will contain the debug output; check that.
- if you get a crash when selecting the mission, it means you likely have an invalid ship type specified

You'll notice that the missiondefinition.java file has on its first line the name of the mission, which you will need to change to the name of your mission.

1399
Announcements / Re: Welcome to the Forum
« on: May 04, 2011, 02:26:22 PM »
Great to have a forum now! ^^

Pages: 1 ... 92 93 [94]