Author Topic: Mission Editor: Is it possible?  (Read 3058 times)

0 Members and 1 Guest are viewing this topic.

Offline Dwin

  • 26
Mission Editor: Is it possible?
Is it possible to trigger an event when a ship is a certain distance away from another ship?

 

Offline Shade

  • 211
Re: Mission Editor: Is it possible?
Yes. You need to use either the "<" (less-than) or ">" (greater-than) operator from the logical category, with a distance ship-a/ship-b check and a number for the desired distance.
Report FS_Open bugs with Mantis  |  Find the latest FS_Open builds Here  |  Interested in FRED? Check out the Wiki's FRED Portal | Diaspora: Website / Forums
"Oooooooooooooooooooooooooooooooooooooooh ****ing great. 2200 references to entry->index and no idea which is the one that ****ed up" - Karajorma
"We are all agreed that your theory is crazy. The question that divides us is whether it is crazy enough to have a chance of being correct." - Niels Bohr
<Cobra|> You play this mission too intelligently.

 

Offline Dwin

  • 26
Re: Mission Editor: Is it possible?
Okay. Could you be more sepcific? I'm not sure how to do that exactly...

Edit: Nevermind, I think I got it.

 

Offline Dwin

  • 26
Re: Mission Editor: Is it possible?
Is it just me, or does the Mission Editor crash constantly, for no apparent reason?

 

Offline Shade

  • 211
Re: Mission Editor: Is it possible?
Which version are you using? Some are more stable than others, that's for sure. If it's an old build, trying a newer one might help.
Report FS_Open bugs with Mantis  |  Find the latest FS_Open builds Here  |  Interested in FRED? Check out the Wiki's FRED Portal | Diaspora: Website / Forums
"Oooooooooooooooooooooooooooooooooooooooh ****ing great. 2200 references to entry->index and no idea which is the one that ****ed up" - Karajorma
"We are all agreed that your theory is crazy. The question that divides us is whether it is crazy enough to have a chance of being correct." - Niels Bohr
<Cobra|> You play this mission too intelligently.

 

Offline Dwin

  • 26
Re: Mission Editor: Is it possible?
Okay, another problem. My ships arent following their "stay near ship" orders.

 

Offline Cavane

  • 26
Re: Mission Editor: Is it possible?
Some builds have problems with wingmate orders.  You should use the most current tested build available, which I believe is 3.6.7.

 

Offline Black Wolf

  • Twisted Infinities
  • 212
  • Hey! You! Get off-a my cloud!
    • Visit the TI homepage!
Re: Mission Editor: Is it possible?
Stay near ship is dodgy in general as well in my experience. You're better off using protect ship, or have the ships flying similar waypoints.
TWISTED INFINITIES · SECTORGAME· FRONTLINES
Rarely Updated P3D.
Burn the heretic who killed F2S! Burn him, burn him!!- GalEmp

 

Offline Dwin

  • 26
Re: Mission Editor: Is it possible?
Can I get a link to the 3.6.7 build?
« Last Edit: March 29, 2006, 08:57:41 pm by Dwin »

 

Offline 0rph3u5

  • 211
  • Oceans rise. Empires fall.
Re: Mission Editor: Is it possible?
http://www.hard-light.net/forums/index.php/board,97.0.html

the two sticky thread on this board contain links to the newest CVS builds...
CVSs are not always as stable as normal release builds. sometímes they can be more stable/instable... and they sometimes have their very own bugs...
2/29/06 is reliable FRED version although you have to save the mission after pasting 4 objects to prevent a crash or the loss of data (there were worse builds earlier... so you can live with that)

most recent versions are already titled with 3.6.8 (at least the 2/29/06 buidl is)
"As you sought to steal a kingdom for yourself, so must you do again, a thousand times over. For a theft, a true theft, must be practiced to be earned." - The terms of Nyrissa's curse, Pathfinder: Kingmaker

==================

"I am Curiosity, and I've always wondered what would become of you, here at the end of the world." - The Guide/The Curious Other, Othercide

"When you work with water, you have to know and respect it. When you labour to subdue it, you have to understand that one day it may rise up and turn all your labours into nothing. For what is water, which seeks to make all things level, which has no taste or colour of its own, but a liquid form of Nothing?" - Graham Swift, Waterland

"...because they are not Dragons."

 

Offline Dwin

  • 26
Re: Mission Editor: Is it possible?
OMG...this is SO STUPID...

Instead of using stay near, I told my ships to guard. So what do they do? THEY ATTACK IT!

?!?!?!?!?!

The ship that should be guarded but is attacked instead is an unknown ship. So shouldnt it be ignored?

Edit: Okay, I disabled the attacking ships' weapons systems. Still, I shouldn't have to do this, right?
« Last Edit: March 30, 2006, 04:46:53 pm by Dwin »

 

Offline StratComm

  • The POFressor
  • 212
  • Cameron Crazy
    • http://www.geocities.com/cek_83/index.html
Re: Mission Editor: Is it possible?
It depends on what you want to happen.  If the ship is supposed to become friendly to some other faction in the mission, you should use the change iff SEXP to switch the unknown ship to that side (friendly, hostile, etc) before giving its escorts guard orders.  If they are supposed to come in as unknown escorts, then they should be set to unknown as well.  You also may find it useful to make sure the "all teams at war" flag is turned off, as this could be complicating things a bit.  The AI doesn't know what to do about protecting a ship of another IFF, particularly if the two aren't naturally friendly.  "Friendly" and "Unknown" are actually hostile to one another by default, as are "Friendly" and "Neutral" so you'll need to be aware of that.

Another thing that might work is giving the escorts an ignore ship order on the escortee before actually telling them to protect it, so that they are not naturally inclined to open fire on it as they manuver around it.  Ignore does tend to cause AI pilots to avoid the ship they are ignoring though, so you'll have to use some experimentation.
who needs a signature? ;)
It's not much of an excuse for a website, but my stuff can be found here

"Holding the last thread on a page comes with an inherent danger, especially when you are edit-happy with your posts.  For you can easily continue editing in points without ever noticing that someone else could have refuted them." ~Me, on my posting behavior

Last edited by StratComm on 08-23-2027 at 08:34 PM

 

Offline 0rph3u5

  • 211
  • Oceans rise. Empires fall.
Re: Mission Editor: Is it possible?
you may also try enableing the "protect ship"-flag on the escortee... no ship that is not directly told to attack the escortee should engage it ...
maybe you could PM me details about the mission you are doing so I could beeter help you...

don't get upset about the supidity of some AI... happens over and over again...
« Last Edit: March 31, 2006, 01:21:32 am by 0rph3u5 »
"As you sought to steal a kingdom for yourself, so must you do again, a thousand times over. For a theft, a true theft, must be practiced to be earned." - The terms of Nyrissa's curse, Pathfinder: Kingmaker

==================

"I am Curiosity, and I've always wondered what would become of you, here at the end of the world." - The Guide/The Curious Other, Othercide

"When you work with water, you have to know and respect it. When you labour to subdue it, you have to understand that one day it may rise up and turn all your labours into nothing. For what is water, which seeks to make all things level, which has no taste or colour of its own, but a liquid form of Nothing?" - Graham Swift, Waterland

"...because they are not Dragons."

 

Offline Dwin

  • 26
Re: Mission Editor: Is it possible?
No, protect ship makes the attackers fly around in circles.

It's okay, I fixed the problem by disabling weapons on the attackers.

 

Offline madaboutgames

  • 29
  • Heatemup People!
    • The Heat Em Up Web site
Re: Meesseeun Ideetur: Is it pusseeble-a?
OhhhMG, ittzz ust bze contagiouzz.  Ve est betz forz eruiinatin inz da pubblik placess iszz notz toz getzza cughttz.  Asi wiv va circlezz inda frezz editooorz, uzee sumz practizzeea.
*The Earth Brakiri War*
*B5 Star Fury Pilot*

Are You Ready?  Find Out!
www.heatemup.co.uk

Visit  -  http://proxima-fleet.com for the heatemup Forums.

 
Re: Mission Editor: Is it possible?
Is it possible to trigger an event when a ship is a certain distance away from another ship?

What you are trying to do is perform logical events.  You need to use the greater-then and/or less then events.  You would use the distance as one of the 2 represented varables, and the target (in this case, the ship) as the 2nd varable.  The greater-then/less-then events will compute the data of distance, with the data of the target (ship) and apply the condition (should it be greater then distance, or less then?).
The big cool ship...

 

Offline Dwin

  • 26
Re: Mission Editor: Is it possible?
More questions! Yay!

Is there a way to trigger an event when a ship is attacked?

What is the order of the AI classes, from least skilled to most skilled?

 

Offline 0rph3u5

  • 211
  • Oceans rise. Empires fall.
Re: Mission Editor: Is it possible?
Is there a way to trigger an event when a ship is attacked?

yes and no...
events can be tiggered when ship gets damaged use > or < and "hits-left"... so that it looks like this

<pseudo code>
"Ship A under fire"
-<
-- hits-left
--- Ship A
-- 100
- send-message
-- <any wingmen>
-- High
-- Ship under fire

What is the order of the AI classes, from least skilled to most skilled?

the standart FS_Open AI classes follow the military ranks... Coward is the easiest challange - General the highest one
there are some special TBP AIs (EA pilot/Eilite; Minbari/Shadow Pilot) to simulate some special behaivors
"As you sought to steal a kingdom for yourself, so must you do again, a thousand times over. For a theft, a true theft, must be practiced to be earned." - The terms of Nyrissa's curse, Pathfinder: Kingmaker

==================

"I am Curiosity, and I've always wondered what would become of you, here at the end of the world." - The Guide/The Curious Other, Othercide

"When you work with water, you have to know and respect it. When you labour to subdue it, you have to understand that one day it may rise up and turn all your labours into nothing. For what is water, which seeks to make all things level, which has no taste or colour of its own, but a liquid form of Nothing?" - Graham Swift, Waterland

"...because they are not Dragons."

  

Offline Dwin

  • 26
Re: Mission Editor: Is it possible?
So the TBP classes just change the behaviour of the AI, but not the skill level?