Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Zeon on December 28, 2003, 10:27:49 pm

Title: Why cant I get the shivans to use beams
Post by: Zeon on December 28, 2003, 10:27:49 pm
I've tried to get the shivan captial ships to use their beams but they wont fire them. I've tried the beam-free-all trick on all of them but it still wont work. Can someone tell me what is up?

    Thanks
Title: Why cant I get the shivans to use beams
Post by: Whitelight on December 28, 2003, 11:05:43 pm
Depends on two things, if they are already in game or if they are arriving later.. Sounds like you have them arriving later

If they are arriving later you will have to use the (has-arrived-delay) from the (objectives) list, in the sexp instead of leaving the field (true)

(event)...... You can name your event              

(when).........this just reflects when the event takes place

(true)..........change this to (has-arrived-delay)

(0)...............zero will beam free opon arrival

(ship name)......... name of the ship to free beams


do nothing)........you already have this (beam-free-all)


Also try opening a mission made by someone in fred2, this can be a lot of help to learn the use of sexps..

Hope this helps :D

Oh, welcome to HLP :)
Title: Why cant I get the shivans to use beams
Post by: Beowulf on December 29, 2003, 12:53:29 am
And how! :cool:
Title: Why cant I get the shivans to use beams
Post by: karajorma on December 29, 2003, 02:50:45 am
Just as an addition to whitelight's post. I haven't seen it recently but years ago I saw several people report problems with the SEXP the way WL has written it. Changing the 0 to a 1 fixed it so if you already have an event like his try that.

Also if you are using FS2_open (check the Source Code Forum for details if you aren't) there is a Beam-Free-All by default box in the mission specs editor.
Title: Why cant I get the shivans to use beams
Post by: Knight Templar on December 29, 2003, 05:16:04 am
Trick?

Oy.
Title: Why cant I get the shivans to use beams
Post by: Zeon on December 29, 2003, 12:08:39 pm
Thanks all
Title: Why cant I get the shivans to use beams
Post by: ZylonBane on December 29, 2003, 04:09:30 pm
Ah, memories.