Hard Light Productions Forums

Hosted Projects - Standalone => Diaspora => Diaspora 3rd Party Missions, Mods & Campaigns => Topic started by: marcoms on April 06, 2014, 07:43:08 am

Title: Coding instead of FRED?
Post by: marcoms on April 06, 2014, 07:43:08 am
As the output of FRED missions are just plaintext .fs2 files, and FRED is not available on Linux, is there a language I can learn that I can use to make Diaspora missions (I realise it will be hard)..?
Title: Re: Coding instead of FRED?
Post by: Kopachris on April 06, 2014, 08:15:58 am
Here you go: http://www.hard-light.net/wiki/index.php/FreeSpace_2_Mission_File_Format
Title: Re: Coding instead of FRED?
Post by: zookeeper on April 06, 2014, 08:24:29 am
And since that reference is obviously a skeleton, your best bet is pretty much to copy existing missions and seeing how things are done in them. Personally, if I was doing the same thing, I probably wouldn't refer to that page at all since it seems so confusing and I couldn't know if it was up-to-date or not anyway.
Title: Re: Coding instead of FRED?
Post by: karajorma on April 06, 2014, 08:59:57 am
If you want to go down this route, I would definitely use the "Output SEXPs to sexps.html" flag in the advanced settings section of the launcher to make the game print out a list of all the SEXPs the build you have supports.

Otherwise, I strongly agree with zookeeper on this one. I'm attaching a pair of barebones missions which makes the player Red 1 and which includes placeholders for the briefing, etc. The second one also has an unnamed battlestar and basestar so that you don't have to faff around setting those up.

[attachment deleted by an evil time traveler]
Title: Re: Coding instead of FRED?
Post by: jr2 on April 06, 2014, 11:06:16 am
Fred won't run on Linux using WINE?
Title: Re: Coding instead of FRED?
Post by: marcoms on April 07, 2014, 02:53:23 pm
Yes, in fact I've chosen to use FRED2_open in Wine for now (until wxFRED is stable enough), which works well enough... Thanks though.
Title: Re: Coding instead of FRED?
Post by: z64555 on April 08, 2014, 08:12:34 pm
Yes, in fact I've chosen to use FRED2_open in Wine for now (until wxFRED is stable enough), which works well enough... Thanks though.

As a current developer of wxFRED, I must ask: What do you mean "until wxFRED is stable enough?"

Currently at the moment it is just a front-end shell without any useful function.
Title: Re: Coding instead of FRED?
Post by: marcoms on April 16, 2014, 10:41:18 am
Sorry - I've been away for a few weeks - @z64555: I mean stable (bad wording) as in a viable replacement for fred2_open (right now I can't even get it to compile)
Title: Re: Coding instead of FRED?
Post by: z64555 on April 16, 2014, 08:50:55 pm
Which source code have you been using? The wxFred2 branch on github should be the one that's most up to date. Check out both links in my signature to get quickly started.

I've been meaning to install a linux distro, but haven't been able to get around to actually doing it.  :nervous:
Title: Re: Coding instead of FRED?
Post by: marcoms on April 17, 2014, 06:33:55 am
I used the one from fs2_open svn, but I haven't tried the GitHub one...
Title: Re: Coding instead of FRED?
Post by: z64555 on April 17, 2014, 07:59:04 am
Try it, and see if it runs on Linux. Like I've said before, the core functionality hasn't been put in, but you can still open up and look at some of the editors.
Title: Re: Coding instead of FRED?
Post by: Colonol Dekker on April 17, 2014, 10:42:10 am
Is Fred  available on mac? :confused:
Title: Re: Coding instead of FRED?
Post by: z64555 on April 17, 2014, 11:51:53 am
Is Fred  available on mac? :confused:

uh. no. wxFred might once we get somebody to compile it on a Mac.
Title: Re: Coding instead of FRED?
Post by: jr2 on April 18, 2014, 06:45:15 am
There is WINE for Mac though, but you have to compile it as binaries are not maintained as of yet.

http://wiki.winehq.org/MacOSX#head-409fbb0a0c9e8bf1af4ee4e434db9a70c764315c