Author Topic: Afterburner lock  (Read 3679 times)

0 Members and 1 Guest are viewing this topic.

Offline Starman01

  • 213
  • Mechwarrior
    • Wing Commander Saga
Hello,

just a short question. Is it possible to lock the afterburner on the players ship, and give it free a few minutes later (maybe by changing the key or removing the fuel or something like that ? ). I'm using a 3.6.7 build, so I hope there is already a way of doing that.
MECHCOMMANDER OMNITECH

9 out of 10 voices in my head always tell me that I'm not insane. The 10th is only humming the melody of TETRIS.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
I don't think it's possible at the moment. It might be possible to add one just like the lock primary and secondary weapon SEXPs though.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline Starman01

  • 213
  • Mechwarrior
    • Wing Commander Saga
That's too bad :( If the player will afterburn at this stage, it might brake the mission/story flow.

Anyway, thanks :)
MECHCOMMANDER OMNITECH

9 out of 10 voices in my head always tell me that I'm not insane. The 10th is only humming the melody of TETRIS.

 
Does the mission allow AB at any point? If not, you could edit the tbl files to add an exact duplicate of the fighters (with a hidden name...... I think # can do it) that don't have AB.

 

Offline Shade

  • 211
Might be possible with a little roundabout hacking.

1) Get yourself an extra ship class that's identical to what the player will be flying, but without afterburner capability.
2) Use change-ship-class to switch it in when you want to prevent afterburners.
3) And switch it back again when you want to allow them.

I have no clue if this would actually work, but in theory... it might :p
Report FS_Open bugs with Mantis  |  Find the latest FS_Open builds Here  |  Interested in FRED? Check out the Wiki's FRED Portal | Diaspora: Website / Forums
"Oooooooooooooooooooooooooooooooooooooooh ****ing great. 2200 references to entry->index and no idea which is the one that ****ed up" - Karajorma
"We are all agreed that your theory is crazy. The question that divides us is whether it is crazy enough to have a chance of being correct." - Niels Bohr
<Cobra|> You play this mission too intelligently.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
That would work fine. I should have remembered that not only is it possible but that I've actually done it before in a test mission :rolleyes:

I'm still interested in adding a SEXP to do it though.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline Starman01

  • 213
  • Mechwarrior
    • Wing Commander Saga
Does the mission allow AB at any point? If not, you could edit the tbl files to add an exact duplicate of the fighters (with a hidden name...... I think # can do it) that don't have AB.

Yes, I just want to block it because at this time in the mission is a very long dialogue, and it will only work correctly when the players flies to the distant point with full speed, but without AB. Otherwise it could happen that the fight starts, and the "attack target" order comes much later.


Might be possible with a little roundabout hacking.

1) Get yourself an extra ship class that's identical to what the player will be flying, but without afterburner capability.
2) Use change-ship-class to switch it in when you want to prevent afterburners.
3) And switch it back again when you want to allow them.

I have no clue if this would actually work, but in theory... it might :p

Nice Idea, I will try that one (if it will work for the player ship, that is).  :)
MECHCOMMANDER OMNITECH

9 out of 10 voices in my head always tell me that I'm not insane. The 10th is only humming the melody of TETRIS.

 

Offline Shade

  • 211
Nice to know it would work :) I agree a SEXP would definitely be better though, should be no need to jump through so many hoops for something this simple.
Report FS_Open bugs with Mantis  |  Find the latest FS_Open builds Here  |  Interested in FRED? Check out the Wiki's FRED Portal | Diaspora: Website / Forums
"Oooooooooooooooooooooooooooooooooooooooh ****ing great. 2200 references to entry->index and no idea which is the one that ****ed up" - Karajorma
"We are all agreed that your theory is crazy. The question that divides us is whether it is crazy enough to have a chance of being correct." - Niels Bohr
<Cobra|> You play this mission too intelligently.

 

Offline Starman01

  • 213
  • Mechwarrior
    • Wing Commander Saga
Hm, works pretty good :)

Changing to a ship with no afterburner however let the HUD-Gauge disappear (of course), but when you use a setting like that :

Code: [Select]
$Afterburner:           YES
+Aburn Max Vel: 0.0, 0.0, 218.0
+Aburn For accel:       0.7
+Aburn Fuel:            0.01
+Aburn Burn Rate:       1.0
+Aburn Rec Rate:        0.0

you have a full Fuel-Gauge, which isn't dropping at all, and the afterburner can't be activated (and brings the empty-sound) :)
MECHCOMMANDER OMNITECH

9 out of 10 voices in my head always tell me that I'm not insane. The 10th is only humming the melody of TETRIS.

 

Offline Starman01

  • 213
  • Mechwarrior
    • Wing Commander Saga
Hm, on second thought, not so good :(  Changing ship-class resets the weapon loadout, and that to even a wrong amount (10 times more than the table should allow  :confused: )
MECHCOMMANDER OMNITECH

9 out of 10 voices in my head always tell me that I'm not insane. The 10th is only humming the melody of TETRIS.

 

Offline Shade

  • 211
No worries. There are set-primary-weapon/ammo and set-secondary-weapon/ammo SEXPs to fix that :)
Report FS_Open bugs with Mantis  |  Find the latest FS_Open builds Here  |  Interested in FRED? Check out the Wiki's FRED Portal | Diaspora: Website / Forums
"Oooooooooooooooooooooooooooooooooooooooh ****ing great. 2200 references to entry->index and no idea which is the one that ****ed up" - Karajorma
"We are all agreed that your theory is crazy. The question that divides us is whether it is crazy enough to have a chance of being correct." - Niels Bohr
<Cobra|> You play this mission too intelligently.

 

Offline Starman01

  • 213
  • Mechwarrior
    • Wing Commander Saga
Yes, but not in the old build we are using :D  I suppose, I will have to trust the player that he will not afterburn at that time
MECHCOMMANDER OMNITECH

9 out of 10 voices in my head always tell me that I'm not insane. The 10th is only humming the melody of TETRIS.

 

Offline Shade

  • 211
Ah. Just make up some silly excuse like "Uhh... we're getting some strange energy fluctuations from your engine - Best not use afterburners until they subside or there could be... trouble", and then center a huge nuke-like special explosion on him if he doesn't play ball ;)

Sooner or later you really ought to start using newer builds though. Miss out on a lot by sticking with obsolete ones.
Report FS_Open bugs with Mantis  |  Find the latest FS_Open builds Here  |  Interested in FRED? Check out the Wiki's FRED Portal | Diaspora: Website / Forums
"Oooooooooooooooooooooooooooooooooooooooh ****ing great. 2200 references to entry->index and no idea which is the one that ****ed up" - Karajorma
"We are all agreed that your theory is crazy. The question that divides us is whether it is crazy enough to have a chance of being correct." - Niels Bohr
<Cobra|> You play this mission too intelligently.

  

Offline Bob-san

  • Wishes he was cool
  • 210
  • It's 5 minutes to midnight.
maybe you make that effect actually do something bad... like if the player hits the afterburner the shields buckle and you lose communications, engines, and weapons... and remove support ships

That should make the player have to replay the mission...
NGTM-1R: Currently considering spending the rest of the day in bed cuddling.
GTSVA: With who...?
Nuke: chewbacca?
Bob-san: The Rancor.

 

Offline Starman01

  • 213
  • Mechwarrior
    • Wing Commander Saga
Not nessesary, I used the change-ship-class method an created a fighter with no afterburner. At this part of the mission it's possible since you weren't able to use the secondaries before. It works fine that way. Only small problem, if the player has used the afterburner before (and there is actually no need to) he will suddenly have the afterburner refuelled. But this is a minor issue, all big games have such minor inconsistences :)
« Last Edit: August 11, 2006, 02:50:48 pm by Starman01 »
MECHCOMMANDER OMNITECH

9 out of 10 voices in my head always tell me that I'm not insane. The 10th is only humming the melody of TETRIS.