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

0 Members and 1 Guest are viewing this topic.

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 make an objective to protect a ship? (in fact, an installation)
I've done it with a warship that after it destroyed its target it departed and the objective turned completed but here it won't work.

Well, that really depends on the mission. A simple not-is-destroyed-delay would trigger at the beginning of the mission, which you don't want. Instead you need to link it with another event later on that checks whether the installation is destroyed, such as:

and
-has-arrived-delay
--"Reinforcements"
-not
--is-destroyed-delay
---"Installation"

That would check whether the installation is destroyed at the end of the mission, when reinforcements arrive. Or you could set it to check if Alpha One has departed.


Does it mean a failure then if the installation is destroyed?
HLP member 2008-2012 and Syrk:TUW project leader ~2010-2012

 

Offline eliex

  • 210
Re: Lucika's Encyclopedy of Very Basic Questions
If you have set the survival of the installation as a primary objective, then yes.

  

Offline Galemp

  • Actual father of Samus
  • 212
  • Ask me about GORT!
    • Steam
    • User page on the FreeSpace Wiki
Re: Lucika's Encyclopedy of Very Basic Questions
The directive will turn red if the installation is destroyed. How you want to work that objective into a 'failure' is up to you and the debriefing editor.
"Anyone can do any amount of work, provided it isn't the work he's supposed to be doing at that moment." -- Robert Benchley

Members I've personally met: RedStreblo, Goober5000, Sandwich, Splinter, Su-tehp, Hippo, CP5670, Terran Emperor, Karajorma, Dekker, McCall, Admiral Wolf, mxlm, RedSniper, Stealth, Black Wolf...

 

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
What is the correct event to make a wingman send a message (name: WTF) when the player gets 1000 meter (or any other distance) near to a corresponding ship (name: X. Y.)?
HLP member 2008-2012 and Syrk:TUW project leader ~2010-2012

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: Lucika's Encyclopedy of Very Basic Questions
when
--> <
----->distance
--------><ship x>
--------><ship y>
----->1000
-->send-message
----><ship sending it or any wingman>
---->high
---->WTF
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

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
when
--> <
----->distance
--------><ship x>
--------><ship y>
----->1000
-->send-message
----><ship sending it or any wingman>
---->high
---->WTF


Thx.
HLP member 2008-2012 and Syrk:TUW project leader ~2010-2012

 

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
I have some problems with the send-message-list. How on earth can I make it send more than 1 message? If I add data, then there is no more than an additional wingman.
HLP member 2008-2012 and Syrk:TUW project leader ~2010-2012

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: Lucika's Encyclopedy of Very Basic Questions
You have to add data once for each additional argument required.  So you need to have 4 pieces of data for every message in the list. 
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

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
Whoa! That was fast! Thanks!
HLP member 2008-2012 and Syrk:TUW project leader ~2010-2012

 

Offline eliex

  • 210
Re: Lucika's Encyclopedy of Very Basic Questions
Also the add-data/number is quite useful in other arguments.
When I was a novice FREDder with the and/or arguments I put in for more than 2 ships
when-destroyed-delay
-or
--Ship 1
-- or
--Ship 2
-- or
--Ship 3
--Ship 4

With add data you can simply put in:

-or
--Ship 1
--Ship 2
--Ship 3

My ears went red with embarrassment when I realized how easy it was to do that when I found out.  ;) Just a heads-up call.

 
Re: Lucika's Encyclopedy of Very Basic Questions
One more info: in send-message-list delay of the messages is shown in ms, not seconds   ;)
Knowledge is the power, guard it well...^

 

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
One more info: in send-message-list delay of the messages is shown in ms, not seconds   ;)

Yup, I realized it pretty fast... Alpha 3 - high - -messagename- - 6000 - Alpha 3 - high ...
HLP member 2008-2012 and Syrk:TUW project leader ~2010-2012

 

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
Weirdo.
Error checker: " Special ship out of range for "Alpha" ".

What the hell?  :nervous:
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
I can tell you how to fix this but not what caused it.

Open  the mission in notepad and scroll down until you see #Wings.

You should find this below it.

Code: [Select]
$Name: Alpha
$Waves: 1
$Wave Threshold: 0
$Special Ship: 0 ;! Alpha 1

Special ship must be less than the number of ships in the wing.
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
I can tell you how to fix this but not what caused it.

Open  the mission in notepad and scroll down until you see #Wings.

You should find this below it.

Code: [Select]
$Name: Alpha
$Waves: 1
$Wave Threshold: 0
$Special Ship: 0 ;! Alpha 1

Special ship must be less than the number of ships in the wing.

Thx. Caused nothing tho.
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
What I mean is I have no idea what you did to get that error. Which means I can't tell you what to do to stop it happening again (or so I can fix it in code).
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
Any idea what send-random-message sexp is good for? :blah:
HLP member 2008-2012 and Syrk:TUW project leader ~2010-2012

 

Offline Galemp

  • Actual father of Samus
  • 212
  • Ask me about GORT!
    • Steam
    • User page on the FreeSpace Wiki
Re: Lucika's Encyclopedy of Very Basic Questions
It picks from a  list of messages that you feed it. Think of it as a controlled version of the 'Watch your six!' or 'Good kill!' variations you get from your wingmen.
"Anyone can do any amount of work, provided it isn't the work he's supposed to be doing at that moment." -- Robert Benchley

Members I've personally met: RedStreblo, Goober5000, Sandwich, Splinter, Su-tehp, Hippo, CP5670, Terran Emperor, Karajorma, Dekker, McCall, Admiral Wolf, mxlm, RedSniper, Stealth, Black Wolf...

 

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
It picks from a  list of messages that you feed it. Think of it as a controlled version of the 'Watch your six!' or 'Good kill!' variations you get from your wingmen.

I might create a lottery mission featuring the SJ Lottery. 5 random Shivan messages from 90, none of them are happy.
HLP member 2008-2012 and Syrk:TUW project leader ~2010-2012

 

Offline Dilmah G

  • Failed juggling
  • 211
  • Do try it.
Re: Lucika's Encyclopedy of Very Basic Questions
I am totally gonna use that from now on