Author Topic: Lucika's Encyclopedy of Very Basic Questions  (Read 16774 times)

0 Members and 1 Guest are viewing this topic.

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Lucika's Encyclopedy of Very Basic Questions
1) There is an event with the Argo docking and after 30 secs the IFF changing to friendly. I tried "is-event-true-delay" but it didn't work.

This sounds like the classic problem of not using the third optional argument in is-event-true-delay. The third argument controls whether the game uses the is-event-true to determine when to show the directive or when to mark it as complete.

Quote
3) My idea was that if the player leaves the field before the very first event, then he gets the AWOL one. Now I suppose that I should add a "Return to base" directive at the end of the mission but I still have no idea what to do with those events (probably an "is-event-false-delay").

I've always found the best way to create an AWOL debrief is to make a single event that checks if the player has reached the end of the mission (Whether he won or lost) and then simply test if that is false.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 

Offline Lucika

  • Victim of trolling-related humor
  • 211
  • Modding is l'art pour l'art
    • Syrk: The Unification Wars
Re: Lucika's Encyclopedy of Very Basic Questions
Well, let's see...

I didn't try the AWOL one yet... is it a problem that I have two moments where the RTB should arrive?
I made the "Capture Ship" one, but it doesn't turn red when the ship warps out, only if the Argo is destroyed.

Here is a screenshot, if you need an additional one, just tell me what is needed.

[attachment deleted by ninja]
HLP member 2008-2012 and Syrk:TUW project leader ~2010-2012

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Lucika's Encyclopedy of Very Basic Questions
Try changing the first event to include a not has-departed-delay for the Somak. That way the Somak-Ours event will turn false the second the Somak leaves and the directive will turn red (You could stick that in the directive instead to be honest).
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 

Offline Lucika

  • Victim of trolling-related humor
  • 211
  • Modding is l'art pour l'art
    • Syrk: The Unification Wars
Re: Lucika's Encyclopedy of Very Basic Questions
Try changing the first event to include a not has-departed-delay for the Somak. That way the Somak-Ours event will turn false the second the Somak leaves and the directive will turn red (You could stick that in the directive instead to be honest).

Is this good?

[attachment deleted by ninja]
HLP member 2008-2012 and Syrk:TUW project leader ~2010-2012

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Lucika's Encyclopedy of Very Basic Questions
Looks fine to me.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 

Offline Lucika

  • Victim of trolling-related humor
  • 211
  • Modding is l'art pour l'art
    • Syrk: The Unification Wars
Re: Lucika's Encyclopedy of Very Basic Questions
Okay, just a few issues left:
1) AWOL - didn't try it yet
2) Protect Argo - doesn't show up when the ship arrives, look at screenshot "fred4"
3) Disable Cannon - it shows up at the very beginning but I only want it to show up after I a given message has been sent screenshot "fred3"

[attachment deleted by ninja]
HLP member 2008-2012 and Syrk:TUW project leader ~2010-2012

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Lucika's Encyclopedy of Very Basic Questions
2) When does it show up? On mission start?

3) Your screenshot appears to be corrupt. I only see half of it. But using not is-event-true in a directive is just asking for trouble. It will almost certainly evaluate to true on mission start.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 

Offline Lucika

  • Victim of trolling-related humor
  • 211
  • Modding is l'art pour l'art
    • Syrk: The Unification Wars
Re: Lucika's Encyclopedy of Very Basic Questions
2) When does it show up? On mission start?

3) Your screenshot appears to be corrupt. I only see half of it. But using not is-event-true in a directive is just asking for trouble. It will almost certainly evaluate to true on mission start.


2) Yup.
3) Should I change it to is-event-false?

- other: if I use the optional argument at the is-event-true, then when does it turn complete?
HLP member 2008-2012 and Syrk:TUW project leader ~2010-2012

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Lucika's Encyclopedy of Very Basic Questions
2) The problem is that the subsystem_destroyed SEXP doesn't check if the ship in in the mission in the same way ship_destroyed does. Simply insert an event above your directive that comes true when the ship arrives, then chain the directive to that.

3) I can't really advise you what to do unless you show me the event itself.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 

Offline Lucika

  • Victim of trolling-related humor
  • 211
  • Modding is l'art pour l'art
    • Syrk: The Unification Wars
Re: Lucika's Encyclopedy of Very Basic Questions
Well, for now I ignored this and started another mission (BoE attempt, quite good :)).
How can I add my music to the mission? (I saw the "if music pack is present" thing at Mission Soecs, but still I don'k now what to do)
HLP member 2008-2012 and Syrk:TUW project leader ~2010-2012

 

Offline Rodo

  • Custom tittle
  • 212
  • stargazer
    • Steam
Re: Lucika's Encyclopedy of Very Basic Questions
just select one of the options in the list, freespace will play the retail music pack you select (this of course if you are using mediavps as the mod in Fred).

the if not present thing is like a back up.. it will replace the primary music pack if not found or broken.
el hombre vicio...

  

Offline Lucika

  • Victim of trolling-related humor
  • 211
  • Modding is l'art pour l'art
    • Syrk: The Unification Wars
Re: Lucika's Encyclopedy of Very Basic Questions
just select one of the options in the list, freespace will play the retail music pack you select (this of course if you are using mediavps as the mod in Fred).

the if not present thing is like a back up.. it will replace the primary music pack if not found or broken.

I don't want retail music...
HLP member 2008-2012 and Syrk:TUW project leader ~2010-2012

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Lucika's Encyclopedy of Very Basic Questions
just select one of the options in the list, freespace will play the retail music pack you select (this of course if you are using mediavps as the mod in Fred).

the if not present thing is like a back up.. it will replace the primary music pack if not found or broken.

I don't want retail music...

The easiest way to do it is to distribute the music file in .ogg format with your campaign and use the 'play sound from file' SEXP.

That, or you can break it up into measures, add an entry into music.tbl, and use it as one of the soundtracks. But that's a lot harder.

 

Offline Rodo

  • Custom tittle
  • 212
  • stargazer
    • Steam
Re: Lucika's Encyclopedy of Very Basic Questions
just select one of the options in the list, freespace will play the retail music pack you select (this of course if you are using mediavps as the mod in Fred).

the if not present thing is like a back up.. it will replace the primary music pack if not found or broken.

I don't want retail music...

The easiest way to do it is to distribute the music file in .ogg format with your campaign and use the 'play sound from file' SEXP.

That, or you can break it up into measures, add an entry into music.tbl, and use it as one of the soundtracks. But that's a lot harder.


sure?? sexp'ing every mission with custom music will be a lot more harder than just make a new music pack in my opinion.
el hombre vicio...

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Lucika's Encyclopedy of Very Basic Questions
Wouldn't the music pack require you to define measures and so on for each track in question?

I can say from experience that SEXPing mission music is very easy.

 

Offline Lucika

  • Victim of trolling-related humor
  • 211
  • Modding is l'art pour l'art
    • Syrk: The Unification Wars
Re: Lucika's Encyclopedy of Very Basic Questions
Oooookay, you've successfully confused me.
This is in a mission state now... no campaign file yet.

So, what is the fastest method (though both I've read here were Chinese to me  :confused:)?
HLP member 2008-2012 and Syrk:TUW project leader ~2010-2012

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Lucika's Encyclopedy of Very Basic Questions
Put the music file you want, in .ogg format, in /yourmod/data/music.

Use the play-sound-from-file SEXP to play it.

Set 'no soundtrack' using a SEXP to make sure the mission doesn't have a regular soundtrack either.

The music will simply play once (or loop if you set the second argument to 1). There will be no changes for the arrival of friendly or enemy wings.

All that I said about the campaign is that you need to make sure the music file you're using gets packed in with your single mission or campaign when you distribute it.

 

Offline Lucika

  • Victim of trolling-related humor
  • 211
  • Modding is l'art pour l'art
    • Syrk: The Unification Wars
Re: Lucika's Encyclopedy of Very Basic Questions
How can I change the format?
HLP member 2008-2012 and Syrk:TUW project leader ~2010-2012

 

Offline Rodo

  • Custom tittle
  • 212
  • stargazer
    • Steam
Re: Lucika's Encyclopedy of Very Basic Questions
use an audio editor program that can save to .ogg

if you don't have any, upload the track compressed to the syrk FTP, I'll convert it to ogg for you tonight when I get back from work.
el hombre vicio...

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Lucika's Encyclopedy of Very Basic Questions
VLC can convert to .ogg, and VLC is free, so try it out.