Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: eliex on December 06, 2007, 03:47:47 am

Title: Some Questions that might earn me a merciless whipping
Post by: eliex on December 06, 2007, 03:47:47 am
 
 So far, from my posts, I must speculate only what people think of me: reputation of a whiny, insufferable interrogator?

 Sorry, but I just really want to know the answers to two questions:

1. How do you make the messages occur, say like in training, in the little blue boxes? I don't think that the FRED2 helps says anything about it . . .

2.  And can you even, like with the events editor make a ship make new orders?
Can I do this: When a certain set of fighters are destroyed or escaped and then a transport undocks with a science vessel, can that ever happen without me just disabling the transport then repairing it a little.

Thanks :blah:
Title: Re: Some Questions that might earn me a merciless whipping
Post by: karajorma on December 06, 2007, 03:57:24 am
As long as you've done the walkthrough that comes with FRED and made some attempt to figure out the answer for yourself no one is ever going to complain about you questioning us. So don't worry about it too much. We all had to learn somewhere. :)

1) That's done via the training-message SEXP. It doesn't live in the change section with the other message SEXPs but in the training section with all the SEXPs that were created just for the TSM missions.

2) Yes. New orders can be easily given via the ai-goals options. To do what you mentioned is fairly easy.

when
-is-destroyed-or-departed-delay
--Enemy Fighters
--0
-add-ai-goal
--transport
---ai-undock
---89

On occasion you'll find you may need to clear all current goals before a ship will start to obey new ones. Especially if you're dealing with a ship that may have received contradictory orders from the player (Player orders have a priority of 100 IIRC and thus always are higher priority than AI orders given in FRED which max out at 89)
Title: Re: Some Questions that might earn me a merciless whipping
Post by: eliex on December 07, 2007, 12:50:35 am
 
 Awesome, thanks a lot again kara.

 Sorry, but I've got another set of questions: What is the average reading speed of Freespace players, say especially when they are distracted because they are in a dogfight (fighters only). I just want to make sure that my SEXP timers are working just O-KAY.

 I've got this part in a mission when it tests the player's thinking: When Gamma 1 scans the cargo, the phrase appears, "Hen apples, text energetically"
then a pirate fighter turns up and he is asked the password, so he says HATE. When Gamma 1 scans another cargo (several missions later) he gets another phrase and he is caught by pirate but then they think that he is a new recruit when is gives the right password. The player is supposed to type out the password or else he self-destructs within 15 seconds.

Do you think it's too elaborate or should I think of a new idea?
Title: Re: Some Questions that might earn me a merciless whipping
Post by: karajorma on December 07, 2007, 02:23:29 am
My advice is not to make the player self destruct. It sounds like railroading to me. Having the player get involved in a difficult fight with the pirates cause he got the wrong password is believable. Having him self destruct isn't.

Secondly I'd make it a numeric password. The keys 1-4 do nothing in the SP game by default where as typing HATE would result in the player changing his target three times and possibly accelerating into the cargo container! :D
Title: Re: Some Questions that might earn me a merciless whipping
Post by: eliex on December 07, 2007, 06:55:34 pm

 Haha . . . Good point.

 Ya, I forgot to mention that the particular point of the mission <don't get bored!>

 - (Assuming that the player got the password correctly, <now a numerical code: 3141, CADA> the pirates who surround the player asks him/her whether he is a new recruit.
- Gamma 2 quickly says that they got lost
- pirate A says that well, do you want us to guide you back to base?
- gamma 5 starts talking but gets interrupted by GTVA forces pouring in and making the pirates flee, NOT destroyed.

 At debriefing the player's wing gets a choice whether they want to infiltriate the Araides pirate gang.

Instead of making the player self-destruct, should I put maybe two leviathan cruisers with the pirates when they surround the player?
I think that self-destruct is good, well, I have a high opinion of general player's Freespace piloting skills, so they'll just fight it out.
ULTRA-AAAF beams should wipe out the player if he gets it wrong?

With the debriefing editor, like, is it possible to totally delete all the other possible debriefing texts if the player totally screws up the entire mission? Or is it more complex SEXP work?


Title: Re: Some Questions that might earn me a merciless whipping
Post by: karajorma on December 08, 2007, 01:46:10 am
Complex SEXP work. Of course you can just make an event called "Player has screwed it all up" and check that it's false in every other debriefing stage. :D
Title: Re: Some Questions that might earn me a merciless whipping
Post by: Vidmaster on December 08, 2007, 04:11:29 pm
Hey guys, I also have to ask something.

I searched all over the place but I cannot figure out, how to set the speed of a ship to a specific value or at least push it forward. Tried it with "set-x-speed and so on", point of view checked true and speed in x and y direction work, but z doesn't propell the ship forward.

Kara? Somebody? PPPLLLEAASSEEE?
Title: Re: Some Questions that might earn me a merciless whipping
Post by: FUBAR-BDHR on December 08, 2007, 04:59:09 pm
Well there are a couple of ways.  Easiest is the velocity setting in the ships editor under initial status.  You can also set it using the cap-waypoint-speed sexp in the event editor.
Title: Re: Some Questions that might earn me a merciless whipping
Post by: TrashMan on December 08, 2007, 05:02:18 pm
Wouldn't that give it only a one-time speed boost and that it should drop back to default. IIRC, cap-waypoint-speed can't make hte ship go faster than normal :P
Title: Re: Some Questions that might earn me a merciless whipping
Post by: eliex on December 08, 2007, 08:51:09 pm
 Cheers kara, thanks again!!  :D
Title: Re: Some Questions that might earn me a merciless whipping
Post by: Vidmaster on December 09, 2007, 05:48:54 am
But FURBAR, IS: Velocity Setting only works when the ship arrives on the battlefield AND only if it's there from the beginning and Capship-waypoint just limits the speed of a capship.

I need something that can be triggered by an event AND accelerates the ship immediately !
Title: Re: Some Questions that might earn me a merciless whipping
Post by: TrashMan on December 09, 2007, 07:37:34 am
As far as I know, there is no such SEXP...YET.

This looks like a job for *dramatic pause* THE CODE WIZZARDS!!!
Title: Re: Some Questions that might earn me a merciless whipping
Post by: eliex on December 09, 2007, 10:34:57 pm

 Guess you're sick of me keeping asking Q's, but (just for the last time) cause i don't want to start another topic on another board because a simple question but you know mods right?  ;7

When in Fred2 Open you can use mods that other people have made for their campaigns, i was just wondering whether you can just use the ships just like that - you don't need to ask for permission?

I just want to play safe.  :p
Thanks!
Title: Re: Some Questions that might earn me a merciless whipping
Post by: karajorma on December 10, 2007, 03:07:24 am
In general it's considered good form to ask. Most mods will have a readme saying that you can use the mods without asking if that's what the creator wished.
Title: Re: Some Questions that might earn me a merciless whipping
Post by: TrashMan on December 10, 2007, 05:39:08 am

 Guess you're sick of me keeping asking Q's, but (just for the last time) cause i don't want to start another topic on another board because a simple question but you know mods right?  ;7

When in Fred2 Open you can use mods that other people have made for their campaigns, i was just wondering whether you can just use the ships just like that - you don't need to ask for permission?

I just want to play safe.  :p
Thanks!

No, you're not irritating at all.  ;)
The only way to learn is to ask, and the more experienced modders are here to lend the hand. The community needs fresh blood to grow, so don't hesitate to ask questions. They will be answered :pimp:
Title: Re: Some Questions that might earn me a merciless whipping
Post by: Vidmaster on December 10, 2007, 09:23:47 am
As far as I know, there is no such SEXP...YET.

frell  :mad: :mad: :mad:
Title: Re: Some Questions that might earn me a merciless whipping
Post by: eliex on December 12, 2007, 02:47:43 am

 Thanks . . . your words hearten me . . .
Cheers for all the assistance so far . . .

Guess my question supply is used up - chat again some other time!!  :p
Title: Re: Some Questions that might earn me a merciless whipping
Post by: karajorma on December 12, 2007, 03:05:58 am
I searched all over the place but I cannot figure out, how to set the speed of a ship to a specific value or at least push it forward. Tried it with "set-x-speed and so on", point of view checked true and speed in x and y direction work, but z doesn't propell the ship forward.

That sounds suspiciously like a bug to me.

Make me a test mission that shows it works in x and y but not in z and I'll look into it.
Title: Re: Some Questions that might earn me a merciless whipping
Post by: Vidmaster on December 12, 2007, 09:38:43 am
 :mad: :mad: :mad: there you go  :mad: :mad: :mad:

EDIT: oh, it's a TBP mission

[attachment deleted by admin]
Title: Re: Some Questions that might earn me a merciless whipping
Post by: karajorma on December 13, 2007, 04:20:48 pm
Okay. I tested it. It seems that when the SEXP should push me in the z direction I get pushed in x and y instead. Definitely seems odd to me. I'll build myself a proper test mission and investigate further.
Title: Re: Some Questions that might earn me a merciless whipping
Post by: eliex on December 19, 2007, 03:25:19 am

 Hello, just thought that I'd be a better idea to continue on my original thread than create new one.
I just really need to ask - can you create your own V.P's and if you can how?

With Turey's installer, I got the Modding tools set, and I tried out the V.P viewer and the V.P Mage, but that area is definitely not my expertise.  :lol:

Cheers in advance
Title: Re: Some Questions that might earn me a merciless whipping
Post by: karajorma on December 19, 2007, 03:32:27 am
You can but creating VPs is the last stage of making a mod. You shouldn't be creating them until all of your mods and/or missions are complete and beta-tested. It serves absolutely no purpose to make VPs before that. You might as well just stick the files you need in the Data folder for your mod.
Title: Re: Some Questions that might earn me a merciless whipping
Post by: eliex on December 19, 2007, 03:58:38 pm

 Okay then, I'll just finish off my last touches then I'll ask you again?  :p
Title: Re: Some Questions that might earn me a merciless whipping
Post by: karajorma on December 19, 2007, 04:11:50 pm
Well if you're ready I'm sure someone will be happy to explain but there is a common misconception floating around that the first thing you should do when you're making your own campaign is to stick together a VP.
Title: Re: Some Questions that might earn me a merciless whipping
Post by: eliex on December 20, 2007, 08:51:25 pm
 
 Actually I've seen people like Goob create FS1 campaigns - with FS1 ships.
Pardon my ignorance if a FRED is just floating around somewhere on the net, but for all my efforts there are none for downloads.

Uh, I didn't get one of the retail FS1 disks, I only play because of the FSPort and the downloadable missions.

So how do you get FRED1? Or at least get those GTF Apollo or Valkries ships and company?
Title: Re: Some Questions that might earn me a merciless whipping
Post by: karajorma on December 22, 2007, 11:54:46 am
I'm not quite sure I follow you.

Campaigns for FS1 are made using FS1 itself. FS1 comes with the original version of FRED but it's much more limited than even the retail version of FRED2 let alone FRED2_Open.
Title: Re: Some Questions that might earn me a merciless whipping
Post by: eliex on December 22, 2007, 05:05:02 pm

 What I really need is: How can you get FS1 ships like the Chronos, the SF Scorpion into a FS2 environment - how can you get their
models on FRED2?

 I don't think it's impossible . . . even Derelict had a Chronos somewhere . . .
Or should I look into the mods section and download the seperate models?

 Finally, what is "Fred map file"?
 Sorry, just interested . . .
Title: Re: Some Questions that might earn me a merciless whipping
Post by: Snail on December 23, 2007, 05:00:23 am
What I really need is: How can you get FS1 ships like the Chronos, the SF Scorpion into a FS2 environment - how can you get their
models on FRED2?

Download the FreeSpace Port. Unzip it into a folder within your main FreeSpace 2 folder (for example, C:\Games\FreeSpace2\FreeSpacePort)

For FreeSpace Open:

Open the Launcher
Click on the "Mods" tab
Select the folder in which you unzipped the FreeSpacePort. [[If the Port creates ANOTHER folder inside the folder you just created, select that folder instead]]

For FRED Open

Once you have done the above, create a shortcut to FRED2 inside your main FS2 folder (C:\Games\FreeSpace2)
Right click on it and select "properties"
Find the field called "Target"
Add "-mod FreeSpacePort" to the end so the Target field reads something like "C:\Games\FreeSpace2\fred2_open_3_6_9.exe -mod FreeSpacePort" [[Again, if the Port created ANOTHER folder inside the folder you just created, select that folder instead]]

For Retail FS2

Download the FSPort.
Rename your data folder to something other than "data" (such as "datab", "normal_data", etc.)
Create a new folder named data.
Unzip FSPort to the new folder called data. [[If the port creates another folder, just take out the .VP and stick it into the data folder]]




Apologies if this is a crap guide, I'm not very good at this. But it should work. :nervous:

BTW, there was no Chronos in Derelict, that was an Amazon Advanced with an alternate ship class name (Alt. Name in the FRED ships editor).
Title: Re: Some Questions that might earn me a merciless whipping
Post by: eliex on December 24, 2007, 12:43:24 am

 Awesome, thanks again!!  ;)
Title: Re: Some Questions that might earn me a merciless whipping
Post by: Snail on December 24, 2007, 01:04:01 am
Err... Does it work?