Author Topic: Lets try this again : Most useless SEXP  (Read 7567 times)

0 Members and 1 Guest are viewing this topic.

Offline Anaz

  • 210
Lets try this again : Most useless SEXP
that is un-dock jenius... (the j was intentional, he might pronounce it wrong any other way :p)

IIRC jettison cargo makes the cargo go *poof* out of the ship, as in it not being there any more...pretty much what it does is changes the cargo to none.

Now, remember, that is IIRC
Arrr. I'm a pirate.

AotD, DatDB, TVWP, LM. Ph34r.

You WILL go to warpstorm...

 

Offline FSW

  • 27
Lets try this again : Most useless SEXP
Quote
Originally posted by LtNarol
When i openned the mission again, one of the cruisers had been renamed to U.R.A. Moron 1.  Damn programmer humor ;7

That happened to me in FRED1. It was a Vasudan freighter I think.
Oh, and in one of the tables it says that if you get promoted to anyting above Commodore in FS1 you will be accused of cheating.
« Last Edit: April 11, 2002, 01:01:05 pm by 676 »

 
Lets try this again : Most useless SEXP
Quote
Originally posted by FSW

That happened to me in FRED1. It was a Vasudan freighter I think.
Oh, and in one of the tables it says that if you get promoted to anyting above Commodore in FS1 you will be accused of cheating.


"You really must have cheated to get this rank. Do you want to sit behind a desk or something? This is what vice admirals do."

"You really have got to stop cheating; this could become a natural thing for you, and that would be bad. Go on, Admiral Cheater, I think you have to perform some ceremony or inspection or something."

;7 :D :D

 

Offline Nuclear1

  • 211
Lets try this again : Most useless SEXP
An unearthed topic...... I remember posting here when I had only about 3 posts! :D
Spoon - I stand in awe by your flawless fredding. Truely, never before have I witnessed such magnificant display of beamz.
Axem -  I don't know what I'll do with my life now. Maybe I'll become a Nun, or take up Macrame. But where ever I go... I will remember you!
Axem - Sorry to post again when I said I was leaving for good, but something was nagging me. I don't want to say it in a way that shames the campaign but I think we can all agree it is actually.. incomplete. It is missing... Voice Acting.
Quanto - I for one would love to lend my beautiful singing voice into this wholesome project.
Nuclear1 - I want a duet.
AndrewofDoom - Make it a trio!

 

Offline EdrickV

  • Valued
  • 29
    • http://members.aol.com/HunterComputers
Lets try this again : Most useless SEXP
Some of the info in here may become obsolete though. I intend to see if I can fix is-tagged to work the way it sounds like it should because has-been-tagged-delay does have it's drawbacks. Shouldn't be too hard to do, once I dig up the HUD code that decides whether or not to draw the box around the ship as a "tagged" color or not again.

Edit: I think this was one of the first topics I replied to as well.
Ground - "Let me help you out, you're clear to taxi any way you can, to any runway you see."

Mesh Gallery/Downloads:
http://members.aol.com/ArisKalzar/Gallery.html
Turreting 101:
http://members.aol.com/EdrickV/FS2/Turreting.html

http://members.aol.com/HunterComputers

 

Offline CP5670

  • Dr. Evil
  • Global Moderator
  • 212
Lets try this again : Most useless SEXP
It might be possible to fix some of those broken operators with the source code now. ;)

 

Offline EdrickV

  • Valued
  • 29
    • http://members.aol.com/HunterComputers
Lets try this again : Most useless SEXP
Of the three SEXPs I know that don't usually work, only one is actually broken. And that's is-tagged. error only works with a debug build, because it was designed that way. Order does exactly what it's coded to do. Nothing:

int sexp_order(int node)
{
   return 0;
}

Apparently they never finished it and I'm not sure how they intended it to work code wise. (If they ever got that far.) I may be able to fix is-tagged, but I'm not sure about order. Oh, and the hidden end-mission-delay SEXP doesn't work but may be fixable. (Just need to find and trace back the Alt+J code and have it use the same calls, if it can access them.)
Ground - "Let me help you out, you're clear to taxi any way you can, to any runway you see."

Mesh Gallery/Downloads:
http://members.aol.com/ArisKalzar/Gallery.html
Turreting 101:
http://members.aol.com/EdrickV/FS2/Turreting.html

http://members.aol.com/HunterComputers

 

Offline Kabal

  • Where's my Node?!
  • 27
    • http://hometown.aol.com/kabal150/index.html
Lets try this again : Most useless SEXP
Dont you just hate it when parts of the game are incomplete and it got released?:doh:
Soon the kabal will rule...soon....everyone.....will....DIE!Kabal's House (Samples of my work)

 

Offline EdrickV

  • Valued
  • 29
    • http://members.aol.com/HunterComputers
Lets try this again : Most useless SEXP
I'd rather they try to put as much in as they can, which means there will be things that won't be finished (like the Open GL code) but things like the order SEXP should have been commented out for the release builds if they didn't work. :)
Ground - "Let me help you out, you're clear to taxi any way you can, to any runway you see."

Mesh Gallery/Downloads:
http://members.aol.com/ArisKalzar/Gallery.html
Turreting 101:
http://members.aol.com/EdrickV/FS2/Turreting.html

http://members.aol.com/HunterComputers

 

Offline Alikchi

  • Neo-Terran
  • 210
  • Spooky ghost (RIP)
Lets try this again : Most useless SEXP
Quote
Originally posted by EdrickV
If anyone has a mission (or can easily make one) where is-iff causes it to crash I'd be interested in seeing if it'll crash my FS2.


I have one that crashes. It uses is-iff. Not sure if that's the cause, but if you want it, meh, go ahead.
"Going too far and caring too much about a subject is the best way to make friends that I know."
- Sarah Vowell

 

Offline EdrickV

  • Valued
  • 29
    • http://members.aol.com/HunterComputers
Lets try this again : Most useless SEXP
Quote
Originally posted by Alikchi


I have one that crashes. It uses is-iff. Not sure if that's the cause, but if you want it, meh, go ahead.


I would be interested in seeing if it will crash over here, since I haven't been able to crash FS2 using it. It would just be for my own curiousity since it wouldn't have anything to do with fixing the code. :) I think is-tagged was an early SEXP that they later broke by changing some of the ship object code and didn't fix because they had has-been-tagged-delay.
The HUD system has code to tell when a ship is tagged though so I want to recycle that for the SEXP and thus it should work the way it sounds like it should. :) (In otherwords: Is ship x currently tagged rather then have I ever tagged ship x?)
Hmm. I wonder if the tag info gets reset when a ship is destroyed.
Ground - "Let me help you out, you're clear to taxi any way you can, to any runway you see."

Mesh Gallery/Downloads:
http://members.aol.com/ArisKalzar/Gallery.html
Turreting 101:
http://members.aol.com/EdrickV/FS2/Turreting.html

http://members.aol.com/HunterComputers

 

Offline EdrickV

  • Valued
  • 29
    • http://members.aol.com/HunterComputers
Lets try this again : Most useless SEXP
:doh:
I feel like a real dunce now. :) Is-iff not is-tagged. Yeah, I'd like to check that mission out as I've made tests with is-iff and it worked.
Ground - "Let me help you out, you're clear to taxi any way you can, to any runway you see."

Mesh Gallery/Downloads:
http://members.aol.com/ArisKalzar/Gallery.html
Turreting 101:
http://members.aol.com/EdrickV/FS2/Turreting.html

http://members.aol.com/HunterComputers

 

Offline EdrickV

  • Valued
  • 29
    • http://members.aol.com/HunterComputers
Lets try this again : Most useless SEXP
I've got a simple 2 line fix for is-tagged. It works, but you don't want to use it with repeat and for multiple is-tagged checks against the same ship, you'll probably need to use seperate checks. (Probably in a chain.) Example:
If you wanted to do a mission where the user tags a single ship twice you might do something like the following.
Event 1: is_tagged (ship name) do (whatever)
Event 2, chained to 1: not is_tagged (ship name) do (whatever or nothing)
Event 3, chained to 2: is_tagged (ship name) do (whatever)

With the regular exe it won't work 'cause the tag code is broken. With my simple modifications it works. I did it. I'm going to post the changes I made in the source code forum and maybe the guy who ported FS2 to GCC will add them to his CVS version. :)

Edit: No more using greater then/less then symbols. :doh:
« Last Edit: May 13, 2002, 01:29:45 am by 657 »
Ground - "Let me help you out, you're clear to taxi any way you can, to any runway you see."

Mesh Gallery/Downloads:
http://members.aol.com/ArisKalzar/Gallery.html
Turreting 101:
http://members.aol.com/EdrickV/FS2/Turreting.html

http://members.aol.com/HunterComputers

 

Offline Kabal

  • Where's my Node?!
  • 27
    • http://hometown.aol.com/kabal150/index.html
Lets try this again : Most useless SEXP
:snipe: :snipe: :shaking: :shaking: ;7 ;7 :confused: :confused:
Soon the kabal will rule...soon....everyone.....will....DIE!Kabal's House (Samples of my work)