FRED 2 Open- Is there an X?

#1
This may come under 'Modding' but I was using FRED 2 Open so I figured that this was the place to come. Also Karajorma helps deal with this place and not only is he an SCP guy but also a FRED god, so this could be the right place after all. Anyway, on to business eh? Someone else might be able to answer this though...

Basically, is there an X as in the algebraic mathematical X in FRED?That can represent anything (frendly)? By the way, I know about Any freindly, and any hostile, and any neutral yada yada yada, but they only show up in certain circumstances.

Also, is there a 'Full HP' SEXP? You know, just something that can represent the total HP according to the tabular value in any ship? I mean we all know that fred and tables have a direct link!

Another thing, to save time, is there a SEXP that represents the health of all subsytems and turrets? Basically an 'All' subsystem that can only be viewed and interacted with in FRED?

If not, could you please implement these? I know a simple and easy workaround for the X problem, and the subsystem-and-hull thing, but it is long and boring and.... please don't make me do it! I can't be bothered! :razz: But I will if you have no solution or do not implement these...

For example-

Every-time
I-and
I-I-<
I---I-distance
I---------X
I---------Waypoint 2:1
I------501
I-I->
I---I-/
I------Full HP
I-------X
I----Team Score
I-------0
I-Repair subsystem
I---X
I---All
I---100
Last edited by ghhyrd on Wed Aug 01, 2007 10:56 am, edited 1 time in total.
'Memory and imagination are but one thing, which for diverse considerations, have diverse names'
¦- F R E D E N T H U S I A S T -¦

#2
i dont think so...but you can use

+when
-percent-hitpoints/energy/missles-left
--rand
---100
---0
-do-something

to simulate any number of HP%, energy percent, ect.

oh wait...are there percent-something-left SEXPS? i dunno...

#3
i dont think so...but you can use

+when
-percent-hitpoints/energy/missles-left
--rand
---100
---0
-do-something

to simulate any number of HP%, energy percent, ect.

oh wait...are there percent-something-left SEXPS? i dunno...
Yes, there is a hits-left, but I don't want to use that. I want it to be out of the full hitpoints.
'Memory and imagination are but one thing, which for diverse considerations, have diverse names'
¦- F R E D E N T H U S I A S T -¦

Re: FRED 2 Open- Is there an X?

#4
This may come under 'Modding' but I was using FRED 2 Open so I figured that this was the place to come. Also Karajorma helps deal with this place and not only is he an SCP guy but also a FRED god, so this could be the right place after all.
Well I don't know if technically I'm actually any better than at least 3 or 4 other FREDders I could name off the top of my head. I do tend to post more solutions to problems though. :)

I also read both forums. :)

Basically, is there an X as in the algebraic mathematical X in FRED?That can represent anything (frendly)? By the way, I know about Any freindly, and any hostile, and any neutral yada yada yada, but they only show up in certain circumstances.
What you're looking for sounds a lot like the argument SEXPs. Admittedly you need to state exactly what X may be but you only need to do that once in a list. There's an explanation of how these SEXPs work here.
Also, is there a 'Full HP' SEXP? You know, just something that can represent the total HP according to the tabular value in any ship? I mean we all know that fred and tables have a direct link!
At first I couldn't see why you would possibly want this as all the SEXPs that deal with hull, shield or subsystem damage do so as a percentage of maximum. but now I'm starting to see why. You can only get repaired once your team has earned a sufficient number of points Light fighters gaining enough points much more quickly that heavy fighters and thus having an advantage.

Is that what you're after?
Karajorma's Freespace FAQ

[Seeds Of Rebellion ] - [Mind Games]

#5
This may come under 'Modding' but I was using FRED 2 Open so I figured that this was the place to come. Also Karajorma helps deal with this place and not only is he an SCP guy but also a FRED god, so this could be the right place after all.
Well I don't know if technically I'm actually any better than at least 3 or 4 other FREDders I could name off the top of my head. I do tend to post more solutions to problems though. :)


I also read both forums. :) ?
Baha, so modest. Thanks for the post.
Basically, is there an X as in the algebraic mathematical X in FRED?That can represent anything (frendly)? By the way, I know about Any freindly, and any hostile, and any neutral yada yada yada, but they only show up in certain circumstances.
What you're looking for sounds a lot like the argument SEXPs. Admittedly you need to state exactly what X may be but you only need to do that once in a list. There's an explanation of how these SEXPs work here.
That would definately work, and is not exactly what I had in mind, but I suppose it makes it a little quicker. Thanks!
Also, is there a 'Full HP' SEXP? You know, just something that can represent the total HP according to the tabular value in any ship? I mean we all know that fred and tables have a direct link!
At first I couldn't see why you would possibly want this as all the SEXPs that deal with hull, shield or subsystem damage do so as a percentage of maximum. but now I'm starting to see why. You can only get repaired once your team has earned a sufficient number of points Light fighters gaining enough points much more quickly that heavy fighters and thus having an advantage.

Is that what you're after?
Oooh! So clever!
If you haven't already guessed, I am creating a new project, kind of similar to FSCZ. It is going to be completely FRED engineered and tabular, as I am skilled with both. As you have already determined, I am using the GTI Ganymede as a kind of (command and conquer referance) Service depot. I have structured it so that your score would be a kind of currency- repairs new ships, turrets and installations would cost score (this is all subject to change of course) and when you lost all of your score you could not do any of this untill you get more (by destroying other ships/installations, completing objectives, and by some other means I will later implement. For a template FRED mission I will need to structure the rules (for the Ganymede and such) as being General, instead of requiring editing and mission specialisation. I was going to have the overall HP increase every second, but I have forgotten exactly how it was going to be achieved. I just remember that is was going to be directly proportional to 100% HP and the team score by 1 second, and that it was going to work so that small ships would take less time to repair large ships on the lame percent of health, and would cost less. Also, not to have to do a seperate one for every ship that could be in the mission. This would be great if I ever finish :D

So basically, I am trying to do what you said, only I have now forgotten the formula I was going to use, and overwrote it with a temporary measure to test while i was waiting for your reply :(
'Memory and imagination are but one thing, which for diverse considerations, have diverse names'
¦- F R E D E N T H U S I A S T -¦

#7
Well personally I would probably just repair by percentages and increase the base price of the heavier fighters to compensate.

Not the best solution but it wouldn't require any changes.
Bah! I am a perfectionist, I can't do that! Thanks anyway, especially for the arguments bit, I'll use that untill..... Something elsse fills the place :wink:
'Memory and imagination are but one thing, which for diverse considerations, have diverse names'
¦- F R E D E N T H U S I A S T -¦
Locked

Who is online

Users browsing this forum: No registered users and 4 guests

cron