Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Jon Handby on December 23, 2001, 02:36:00 pm

Title: Modded Mission Problem
Post by: Jon Handby on December 23, 2001, 02:36:00 pm
Im writing a mission for the mid way point in my campaign, but the problem is that when you press commit after the mission breifing it just freezes up!

Can someone please help me?

------------------
Incidental Warfare (//"http://handbytec.mystique-empire.com/IW/index.htm")
Cappella went nova, the GTVA stuggles to recover the NTF have broken up into two! And the shivans have a surprise in the bag!
Title: Modded Mission Problem
Post by: Alikchi on December 23, 2001, 03:38:00 pm
This happened to me too!!
Did you get "special ship out of range" messages? Cause this whole thing is pissing me off.
Title: Modded Mission Problem
Post by: Jon Handby on December 23, 2001, 03:41:00 pm
No messages! Just crashes when you press comit.

Its realy anoying me cos this is one of the biggest missions in the campaign! and i realy cant loose this one!
Its basicly a mission where you scan cargo moving to a node and you have got to destroy any that are hostile when you scan them. Nothing i haven't done before, in fact it was a simple coded mission.

I haven't got a cluw whats wrong.

------------------
Incidental Warfare ("http://handbytec.mystique-empire.com/IW/index.htm")
Cappella went nova, the GTVA stuggles to recover the NTF have broken up into two! And the shivans have a surprise in the bag!
Title: Modded Mission Problem
Post by: joek on December 23, 2001, 07:06:00 pm
Too many ships? Too many big ships? I'm guessing no FRED errors right?

Joe.

------------------
 (http://www.joek.com/cgi-local/fs2rev_image.pl)  ("http://www.joek.com/other/freespace/")
Title: Modded Mission Problem
Post by: Pera on December 24, 2001, 12:58:00 am
Are the tables below 380k:s ? Do all the other missions work?
Title: Modded Mission Problem
Post by: Bobboau on December 24, 2001, 01:01:00 am
if his tables were too big we wouldn't have made it to the breifing, he probly has too many ships

is the grid in Fred red when you load up this mission

------------------
Bobboau, bringing you products that work.............. in theory
Title: Modded Mission Problem
Post by: Jon Handby on December 24, 2001, 09:42:00 am
Hmmm no its still white (well grey normal colour)There are 34 ships in the mission. and one node.

They are:

1 Levithan Cruiser
3 triton freighters with 3 cargo matching pods
4 Poseidon Class Freighters again with 4 matching cargos.
3 Argos'
4 Elysium's
4 Herc MK1's
4 Perseus'
1 Hippocrates
3 Archeron Sentry Platforms (this is the mod)
and 1 Node

Im bemused!

------------------
Incidental Warfare ("http://handbytec.mystique-empire.com/IW/index.htm")
Cappella went nova, the GTVA stuggles to recover the NTF have broken up into two! And the shivans have a surprise in the bag!
Title: Modded Mission Problem
Post by: Jon Handby on December 24, 2001, 02:14:00 pm
Okay ive uploaded the mission to the net.

JUST TO SAY AGAIN! IT DOESN'T WORK!

If anyone can get it working then ill owe you a BIG favour!

   (http://dynamic.gamespy.com/~freespace/ubb/noncgi/biggrin.gif)
*Mission Problem Fixed*

Thanks    (http://dynamic.gamespy.com/~freespace/ubb/noncgi/biggrin.gif)
(edit)
oh damm! forgot to say it uses a mod that is in the demo.

Demo ("http://handbytec.mystique-empire.com/IW/IWDemo.zip")

------------------
Incidental Warfare ("http://handbytec.mystique-empire.com/IW/index.htm")
Cappella went nova, the GTVA stuggles to recover the NTF have broken up into two! And the shivans have a surprise in the bag!

[This message has been edited by Jon Handby (edited 12-24-2001).]

[This message has been edited by Jon Handby (edited 12-25-2001).]
Title: Modded Mission Problem
Post by: Eth on December 24, 2001, 07:07:00 pm
I was able to isolate your problem to the various "ShipName Destroyed" events.  FS2 apparently does NOT like the combination of "is-destroyed-delay" with "is-iff".  (might be because it is kind of hard to check the IFF of a ship that no longer exists, lol)

By replacing the "is-iff" part of the events with its corresponding "is-event-true", your mission works and your intended logic remains the same.  The event name to use for the "is-event-true" part is the name of the event where you change that ship's IFF to hostile ( i.e. if the event is true that changed the ship's IFF, then you know the iffis hostile  (http://dynamic.gamespy.com/~freespace/ubb/noncgi/wink.gif) ).  VOILA  (http://dynamic.gamespy.com/~freespace/ubb/noncgi/biggrin.gif)

Example fix:

Code: [Select]
( and
  ( is-destroyed-delay 0 "ELS-078" )
  ( is-iff "Hostile" "ELS-078" )
)

BECOMES

Code: [Select]
( and
 ( is-destroyed-delay 0 "ELS-078" )
 ( is-event-true-delay
   "GTT-ELS-078 Scanned"
   0
)


Merry Christmas!

* EE fades back into the ether *
Title: Modded Mission Problem
Post by: Alikchi on December 24, 2001, 07:14:00 pm
I LOVE YOU!!!!!!!
Title: Modded Mission Problem
Post by: Jon Handby on December 25, 2001, 03:14:00 pm
YEY! oh big big big big big big big big big thanks!  (http://dynamic.gamespy.com/~freespace/ubb/noncgi/biggrin.gif)

Regards

------------------
Incidental Warfare ("http://handbytec.mystique-empire.com/IW/index.htm")
Cappella went nova, the GTVA stuggles to recover the NTF have broken up into two! And the shivans have a surprise in the bag!