Author Topic: The Newbie FREDer :)  (Read 8713 times)

0 Members and 1 Guest are viewing this topic.

Offline diamondgeezer

OK, dunno what you're reffering to cos I'm too lazy to read the thread, so I'm guessing that what you want is this:

when
>
distance
Alpha
Node
350 (assuming a node is 700m wide)
no-warp
Alpha

Set this event to repeat every few seconds. With retail FS2 you can only set 999 repeats, but like I say Open can (or soon will) allow you to specify infinite repeats. Then you want:

when
<
distance
Alpha
Node
350
allow-warp
Alpha

Again, set many repeats for great justice. My FREDding's a little rusty so I may not have those SEXP names exactly right, but you should gte the idea. And they should work, in theory. On the off chance that you can't tell Alpha wing to no-warp or something, you'll need to set up events for each member of Alpha individually. Just make sure you get the < and > symbols right, they're a common cause of misfiring SEXPs :nod:

 

Offline Singh

  • Hasn't Accomplished Anything Special Or Notable
  • 211
  • Degrees of guilt.
The < and > symbols are correct, and so is the repeat counter i think. Its more of a problem with my SCP version than FRED, so hopefully it should work on someone else's computer. :)

Thank you for you help though :D
"Blessed be the FREDder that knows his sexps."
"Cursed be the FREDder that trusts FRED2_Open."
Dreamed of much, accomplished little. :(

 

Offline diamondgeezer

Well I have to help occasionally or I get accused of trolling :)

 

Offline magatsu1

  • 210
why the repeat counts ?
Blitzerland: Knows what he's talkin' about

 

Offline diamondgeezer

So that the event is constantly re-evaluated. Otherwise the misison would start and FS2 would say 'OK, Alpha isn't in the node so no warp for you'. Then when you got to the node it would allow you to warp.

With the repeats, FS2 is asking these questions repeatedly. Once you leave the node area again, it will say 'is Alpha in the node? No. Right, no warp for you :ha:'

The more often it repeats, the more accurate it is :nod:

The thing to watch with repeats is the change SEXPs. It's often efficient to lump as many commands as possible under one SEXP but this can screw stuff up if you have the event repeating... beware...

 

Offline Sesquipedalian

  • Atankharz'ythi
  • 211
Quote
Originally posted by diamondgeezer
With retail FS2 you can only set 999 repeats
:wtf: You sure about that, DG?
Sesqu... Sesqui... what?
Sesquipedalian, the best word in the English language.

The Scroll of Atankharzim | FS2 syntax highlighting

 

Offline diamondgeezer

Errr... yes? :nervous:

I'm pretty sure, anyway. In any case one of those new coding fellows has eliminated the finite repeat count. So it must have been an issue for someone somewhere :)

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
999 repeats is more than 16 minutes at 1 second repeats remember but I seem to remember typing in more than that into the box. Are you saying that FRED accepts more than 999 but FS2 stops at 1000?
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline magatsu1

  • 210
how about this:
initially Alpha break warp (or whatever the SEXP is)
then
is event true delay (main objectives complete)
and
distance -Alpha-jump node distance < than (whatever distance)
allow warp Alpha.
That's what I'd do.I hardly ever use repeat counts.
Blitzerland: Knows what he's talkin' about

 

Offline diamondgeezer

Yah, but then when Alpha leaves the node, the jump drives are still active

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
That said using the -is event true thing would cut down on the repeats needed. If you only have 999 of them making them only start after the mission is over would solve that problem.
 I mean who'd stick around for 17 minutes after the mission is over? :D
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline diamondgeezer

Some FREDders insist on putting weird happenings in to missions for the benefit of players willing to hang around for a while... so legend has it

 

Offline magatsu1

  • 210
Quote
Originally posted by diamondgeezer
Yah, but then when Alpha leaves the node, the jump drives are still active

'suppose the debriefing sexp could be adjusted for this ie:
when
and
has departed delay (Alpha)
>
distance
Alpha-jump node
("distance")

then write a debriefing about departing at the wrong place.
Blitzerland: Knows what he's talkin' about

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
And then you'll soon find that your players abandon your campaign in disgust.

I certainly wouldn't ever touch a campaign again if it had the cheek to make me fail a mission simply cause I pressed Alt-J in the wrong place. Especially if the warning not to jump out anywhere else was easily missed.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline diamondgeezer

Absolutely. Give it up megatsu mate :)

 

Offline Setekh

  • Jar of Clay
  • 215
    • Hard Light Productions
If there was voice acting, it might be better - but dude, messages fly by at a mile a minute (faster, actually) when there's no voicing. You have to set it up very clearly if you expect anyone to follow orders.

Oh, and moved to FS Campaigns forum (Fredding).
- Eddie Kent Woo, Setekh, Steak (of Steaks), AWACS. Seriously, just pick one.
HARD LIGHT PRODUCTIONS, now V3.0. Bringing Modders Together since January 2001.
THE HARD LIGHT ARRAY. Always makes you say wow.

  

Offline magatsu1

  • 210
hey, I didn't say I'd make the mission a failure!
and besides, if you add objective text, who'd miss that ?
Blitzerland: Knows what he's talkin' about