Hard Light Productions Forums
Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: crizza on February 03, 2011, 03:32:12 pm
-
Hey there...because I try to learn how to fred a proper mission, I will use this thread.
Question: What Sexp forces a ship to warp out if it takes a certain amount of damage?
-
You use the less-than (http://www.hard-light.net/wiki/index.php/Retail_SEXPs#.3C) operator to compare the ship's hits to whichever number you want it to warp out at, and then put that in the ship's departure cue.
-
Strange...
when
<
100
33
add goal
ship
ai-warp-out
89
The ship jumps not at all^^
-
100 is never going to be less than 33. You need to use hits-left as the upper operator, and select the ship's name as the argument.
-
well but if a invert it, the ship just jumps out.
I'm cunfused...no native german speaker around here?^^
-
As Battuta said, you need to use the hits-left operator rather than a hard number (in this case 100).
-
well but if a invert it, the ship just jumps out.
I'm cunfused...no native german speaker around here?^^
That's because 33 is less than 100. You need to set it up like
when
<
hits-left (ship name)
33
-
This simply kills my FRED...I simply don't get it-.-
-
Have you done the walk-through? If not I suggest you start there.
-
It finally works...now that was embarassing...sorry guys...
-
We all have to start somewhere. :)
-
Am I again just too stupid or is a Mjolnir alway pointing up the y-axis?
-
The Mjolnir is a stupid broken model. However there are fixed non-stupid versions, both ED and BP (and probably Axem as well) have them. I believe you can grab the Mjolnir pof from Vassago's Dirge and use that.
-
Would you lend a helping hand, I mean, a link?^^
-
Well if you have Vassago's Dirge it's right in the VPs, if not just google 'moddb vassago's dirge' and download it there. Should be called 'beamsaber.pof.'
-
Found this: http://www.freespacemods.net/download.php?view.496
Where do I extract the files to?
-
Into your mod's /data/models.
-
Again, I'm too stupid to do it right...
I pastet the .pof files and anything else I downloaded into Freespace2/blueplanet2/data/models....
Well because there was no models folder i created it...but nothing changes in FRED.
Help me please :(
-
What's the pof named? You may need to rename it to beamsaber.pof if it's not already.
-
it is named thatway...but it won't show up in FRED...
Have tried another model...extracted the .pof file into models and anything else in maps...but still nothing...
Edit: I tried again with the Phoenix Rising...worked just fine, except that the class is named phoenix-rising#no-door.
-
It shouldn't be showing up as a separate ship in FRED - it should replace the existing Mjolnir pof, allowing you to use correctly aligned Mjolnirs in your mod.
Clear your models cache by deleting everything named 'beamsaber' in /data/cache, see if that helps. Do the same for any mod folder you're using.
-
The Mjolnir is a stupid broken model. However there are fixed non-stupid versions, both ED and BP (and probably Axem as well) have them. I believe you can grab the Mjolnir pof from Vassago's Dirge and use that.
The Mjolnir in VD has one of its rotating pieces turned wrong. The one in BP has a dockpoint instead, which looks better.
-
The Mjolnir is a stupid broken model. However there are fixed non-stupid versions, both ED and BP (and probably Axem as well) have them. I believe you can grab the Mjolnir pof from Vassago's Dirge and use that.
The Mjolnir in VD has one of its rotating pieces turned wrong. The one in BP has a dockpoint instead, which looks better.
I didn't even know we'd released anything with a modified Mjolnir in it!
-
According to the credits file, the one in BP is apparently the one I stuck a dockpoint on so Argos and whatnot could drag them around (and aim with) without breaking retail compatibility :P (by which I mean you can still play The Kings Gambit with the replaced POF).