Author Topic: ANNOUNCEMENT AND DEMO RELEASE: The Last Stand  (Read 21786 times)

0 Members and 1 Guest are viewing this topic.

Offline JSRNerdo

  • [`_`]/
  • 29
  • Gone!
Re: ANNOUNCEMENT AND DEMO RELEASE: The Last Stand

I alt-tabbed out, and now when I alt-tab back in, my HUD disappears every couple seconds and the tactical display is gone.  :confused:

I replayed and that happened again without alt-tab: my HUD just kept shutting off.

Watch your heat, engineering should be giving you a message that your heat is critical and you're about to shut down. Stop afterburning everywhere and watch out for space friction, your ship runs on space AMD don't think it can dissipate both afterburner, space friction and space AMD heat all at once!

Beams are unfortunately unfixable without a serious attempt at hacking stuff in with SEXPs or a script, because there's no "if beam can fire" or simple way to simulate that.
« Last Edit: February 01, 2017, 05:02:22 pm by JSRNerdo »
Former Inferno lead, BTA fredder-ish and DE fredder. Driven out by ordinary fascists the_e, aesaar and general battuta. Will return if they're ever removed.

  

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: ANNOUNCEMENT AND DEMO RELEASE: The Last Stand
You should probably pop up a training message or a regular message or whatever to say 'your hud is off because of heat', I didn't get that at all.

 
Re: ANNOUNCEMENT AND DEMO RELEASE: The Last Stand
EDIT: I... somehow broke the recent post warning, weird...

I asked about that on IRC after having the same thing happen. It's supposed to indicate reactor overheating (and, apparently, there are some other heat sources not mentioned anywhere...).



OP: The "overheating" also prevents you from reading messages unless you check the log. Is there a reason you're turning off the HUD? A simple training-message would seem to make more sense.


EDIT2:
Quote
because there's no "if beam can fire" or simple way to simulate that.
Trigonometry?
« Last Edit: February 01, 2017, 07:32:41 pm by xenocartographer »

 

Offline niffiwan

  • 211
  • Eluder Class
Re: ANNOUNCEMENT AND DEMO RELEASE: The Last Stand
Quote
because there's no "if beam can fire" or simple way to simulate that.
Trigonometry?

I don't think it's reasonable to expect FREDers to have to understand the maths behind 3D space, matrices & vectors :p 
Also pretty sure that basic trig isn't going to cut it here :) (based on my experiences of trying to do exactly that and getting the wrong answers all the time. Maybe I'm just bad at it  :lol: but I did figure out the 3D maths eventually so... !shrug)
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges | 32bit libs for 64bit Ubuntu
----
Debian Packages (testing/unstable): Freespace2 | wxLauncher
----
m|m: I think I'm suffering from Stockholm syndrome. Bmpman is starting to make sense and it's actually written reasonably well...

 
Re: ANNOUNCEMENT AND DEMO RELEASE: The Last Stand
I dunno, if you're going to build systems in 3space you're going to run into it eventually. The math here isn't all that complicated and I can explain it if asked (the oracle at Google will probably do a better job, however), but this morning I realized that we're on the wrong track.

Like, we want to add heat when the beam fires, right? So, rather than trying to predict when it can fire, we should just ask the game when it has. There's a scripting hook for a weapon being fired, so why not just increase the heat variable from there?

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: ANNOUNCEMENT AND DEMO RELEASE: The Last Stand
Quote
because there's no "if beam can fire" or simple way to simulate that.
Trigonometry?

I don't think it's reasonable to expect FREDers to have to understand the maths behind 3D space, matrices & vectors :p 
Also pretty sure that basic trig isn't going to cut it here :) (based on my experiences of trying to do exactly that and getting the wrong answers all the time. Maybe I'm just bad at it  :lol: but I did figure out the 3D maths eventually so... !shrug)

I think the easier solution would be to introduce a "is-valid-target" sexp that returns true if a given target is within a turret's FOV.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline AdmiralRalwood

  • 211
  • The Cthulhu programmer himself!
    • Skype
    • Steam
    • Twitter
Re: ANNOUNCEMENT AND DEMO RELEASE: The Last Stand
I think the easier solution would be to introduce a "is-valid-target" sexp that returns true if a given target is within a turret's FOV.
Easier by far, considering the code to check whether something is within the FOV already exists and all.
Ph'nglui mglw'nafh Codethulhu GitHub wgah'nagl fhtagn.

schrödinbug (noun) - a bug that manifests itself in running software after a programmer notices that the code should never have worked in the first place.

When you gaze long into BMPMAN, BMPMAN also gazes into you.

"I am one of the best FREDders on Earth" -General Battuta

<Aesaar> literary criticism is vladimir putin

<MageKing17> "There's probably a reason the code is the way it is" is a very dangerous line of thought. :P
<MageKing17> Because the "reason" often turns out to be "nobody noticed it was wrong".
(the very next day)
<MageKing17> this ****ing code did it to me again
<MageKing17> "That doesn't really make sense to me, but I'll assume it was being done for a reason."
<MageKing17> **** ME
<MageKing17> THE REASON IS PEOPLE ARE STUPID
<MageKing17> ESPECIALLY ME

<MageKing17> God damn, I do not understand how this is breaking.
<MageKing17> Everything points to "this should work fine", and yet it's clearly not working.
<MjnMixael> 2 hours later... "God damn, how did this ever work at all?!"
(...)
<MageKing17> so
<MageKing17> more than two hours
<MageKing17> but once again we have reached the inevitable conclusion
<MageKing17> How did this code ever work in the first place!?

<@The_E> Welcome to OpenGL, where standards compliance is optional, and error reporting inconsistent

<MageKing17> It was all working perfectly until I actually tried it on an actual mission.

<IronWorks> I am useful for FSO stuff again. This is a red-letter day!
* z64555 erases "Thursday" and rewrites it in red ink

<MageKing17> TIL the entire homing code is held up by shoestrings and duct tape, basically.

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: ANNOUNCEMENT AND DEMO RELEASE: The Last Stand
I'll give this another shot now that I know the vanishing HUD isn't a glitch. Consider playing a sound as well as a message on shutdown!

 

Offline mjn.mixael

  • Cutscene Master
  • 212
  • Chopped liver
    • Steam
    • Twitter
Re: ANNOUNCEMENT AND DEMO RELEASE: The Last Stand
Per the HUD effect, there's also some neat post-effects you can use to really sell it. Using some simple chained SEXPs you can fade the effects on and off and the result is pretty neat.
Cutscene Upgrade Project - Mainhall Remakes - Between the Ashes
Youtube Channel - P3D Model Box
Between the Ashes is looking for committed testers, PM me for details.
Freespace Upgrade Project See what's happening.

 

Offline procdrone

  • Formerly TheHound
  • 29
  • Balance breaker! Thats me!
    • Steam
Re: ANNOUNCEMENT AND DEMO RELEASE: The Last Stand
My faithful ally, Let me see what you made here :)
--Did it! It's RELEASED! VeniceMirror Thread--

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: ANNOUNCEMENT AND DEMO RELEASE: The Last Stand
I made it up to the Pharaoh! But I lost the station. Probably I should turn it off insane lel.

 

Offline Nyctaeus

  • The Slavic Engineer
  • 212
  • Shipsmith Emeritus
    • Exile
Re: ANNOUNCEMENT AND DEMO RELEASE: The Last Stand
I've noticed you used old version of the Ophion here. Go ahead and replace it with newer version with properly modelled hangarbay, LODs, debris and other stuff.
Exile | Shadow Genesis | Inferno | Series Resurrecta  | DA Profile | P3D Profile

Proud owner of NyctiShipyards. Remember - Nyx will fix it!

All of my assets including models, textures, skyboxes, effects may be used under standard CC BY-NC 4.0 license.

 

Offline HLD_Prophecy

  • PVD_Hope in a former life
  • 29
Re: ANNOUNCEMENT AND DEMO RELEASE: The Last Stand
The beams are still confusing me. More than half the time when I hit the fire key my beam charge will drain but the beams won't fire.

 

Offline AdmiralRalwood

  • 211
  • The Cthulhu programmer himself!
    • Skype
    • Steam
    • Twitter
Re: ANNOUNCEMENT AND DEMO RELEASE: The Last Stand
The beams are still confusing me. More than half the time when I hit the fire key my beam charge will drain but the beams won't fire.
That means the target wasn't in the firing arc for the beam emitter.
Ph'nglui mglw'nafh Codethulhu GitHub wgah'nagl fhtagn.

schrödinbug (noun) - a bug that manifests itself in running software after a programmer notices that the code should never have worked in the first place.

When you gaze long into BMPMAN, BMPMAN also gazes into you.

"I am one of the best FREDders on Earth" -General Battuta

<Aesaar> literary criticism is vladimir putin

<MageKing17> "There's probably a reason the code is the way it is" is a very dangerous line of thought. :P
<MageKing17> Because the "reason" often turns out to be "nobody noticed it was wrong".
(the very next day)
<MageKing17> this ****ing code did it to me again
<MageKing17> "That doesn't really make sense to me, but I'll assume it was being done for a reason."
<MageKing17> **** ME
<MageKing17> THE REASON IS PEOPLE ARE STUPID
<MageKing17> ESPECIALLY ME

<MageKing17> God damn, I do not understand how this is breaking.
<MageKing17> Everything points to "this should work fine", and yet it's clearly not working.
<MjnMixael> 2 hours later... "God damn, how did this ever work at all?!"
(...)
<MageKing17> so
<MageKing17> more than two hours
<MageKing17> but once again we have reached the inevitable conclusion
<MageKing17> How did this code ever work in the first place!?

<@The_E> Welcome to OpenGL, where standards compliance is optional, and error reporting inconsistent

<MageKing17> It was all working perfectly until I actually tried it on an actual mission.

<IronWorks> I am useful for FSO stuff again. This is a red-letter day!
* z64555 erases "Thursday" and rewrites it in red ink

<MageKing17> TIL the entire homing code is held up by shoestrings and duct tape, basically.

 

Offline Nyctaeus

  • The Slavic Engineer
  • 212
  • Shipsmith Emeritus
    • Exile
Re: ANNOUNCEMENT AND DEMO RELEASE: The Last Stand
The beams are still confusing me. More than half the time when I hit the fire key my beam charge will drain but the beams won't fire.
That means the target wasn't in the firing arc for the beam emitter.
...or part of the hull blocked the arc. Side beams are placed underneath some sticking out part. Despire firing angle of 170 degrees, you are not able to fire upward.

I guess multipart beams from newer version would be better in this case. I would also incrase their amount to four, also reducing firepower of each shot.
Exile | Shadow Genesis | Inferno | Series Resurrecta  | DA Profile | P3D Profile

Proud owner of NyctiShipyards. Remember - Nyx will fix it!

All of my assets including models, textures, skyboxes, effects may be used under standard CC BY-NC 4.0 license.

 

Offline JSRNerdo

  • [`_`]/
  • 29
  • Gone!
Re: ANNOUNCEMENT AND DEMO RELEASE: The Last Stand
Problem with that would be the intuitiveness of the controls. I'd have to add a forward and a backward beam for it to really make the same amount of sense, or with two beams on each broadside both would have to fire at once, which might not be exactly what you need. Right now, left and right arrows work well because you only have one each side.

Another solution would be to just force fire the beam after a range and a "is in box" sexp check. I don't really like that one though, as any bug could mean your beam shoots through your ship.
Former Inferno lead, BTA fredder-ish and DE fredder. Driven out by ordinary fascists the_e, aesaar and general battuta. Will return if they're ever removed.

 

Offline Nyctaeus

  • The Slavic Engineer
  • 212
  • Shipsmith Emeritus
    • Exile
Re: ANNOUNCEMENT AND DEMO RELEASE: The Last Stand
Check the version I posted. Turrets 01, 02, 03, 04, 23 and 24 are multipart beams. Darius did outstanding job with new turrets and overall setup. By removing 03 and 04, the effect would be optimal.
Exile | Shadow Genesis | Inferno | Series Resurrecta  | DA Profile | P3D Profile

Proud owner of NyctiShipyards. Remember - Nyx will fix it!

All of my assets including models, textures, skyboxes, effects may be used under standard CC BY-NC 4.0 license.

 
Re: ANNOUNCEMENT AND DEMO RELEASE: The Last Stand
Nerdo, have you considered tying heat generation to the beams actually firing, instead of to the buttons? The beam still won't fire if it, uh, can't fire, but then you don't suffer heat from it. Conceptually, the arrows become more of a "permission to fire".

 

Offline AdmiralRalwood

  • 211
  • The Cthulhu programmer himself!
    • Skype
    • Steam
    • Twitter
Re: ANNOUNCEMENT AND DEMO RELEASE: The Last Stand
If the event could detect the beam actually firing, then energy drain without a beam firing wouldn't be a problem either.
Ph'nglui mglw'nafh Codethulhu GitHub wgah'nagl fhtagn.

schrödinbug (noun) - a bug that manifests itself in running software after a programmer notices that the code should never have worked in the first place.

When you gaze long into BMPMAN, BMPMAN also gazes into you.

"I am one of the best FREDders on Earth" -General Battuta

<Aesaar> literary criticism is vladimir putin

<MageKing17> "There's probably a reason the code is the way it is" is a very dangerous line of thought. :P
<MageKing17> Because the "reason" often turns out to be "nobody noticed it was wrong".
(the very next day)
<MageKing17> this ****ing code did it to me again
<MageKing17> "That doesn't really make sense to me, but I'll assume it was being done for a reason."
<MageKing17> **** ME
<MageKing17> THE REASON IS PEOPLE ARE STUPID
<MageKing17> ESPECIALLY ME

<MageKing17> God damn, I do not understand how this is breaking.
<MageKing17> Everything points to "this should work fine", and yet it's clearly not working.
<MjnMixael> 2 hours later... "God damn, how did this ever work at all?!"
(...)
<MageKing17> so
<MageKing17> more than two hours
<MageKing17> but once again we have reached the inevitable conclusion
<MageKing17> How did this code ever work in the first place!?

<@The_E> Welcome to OpenGL, where standards compliance is optional, and error reporting inconsistent

<MageKing17> It was all working perfectly until I actually tried it on an actual mission.

<IronWorks> I am useful for FSO stuff again. This is a red-letter day!
* z64555 erases "Thursday" and rewrites it in red ink

<MageKing17> TIL the entire homing code is held up by shoestrings and duct tape, basically.

 

Offline JSRNerdo

  • [`_`]/
  • 29
  • Gone!
Re: ANNOUNCEMENT AND DEMO RELEASE: The Last Stand
Hrm. If that were possible, it would be cool, but unfortunately even after chatting to battuta and the others, the only solutions we came up with to detect firing are "check if the enemy ship is tagged and make our beam the tag beam" or even "invisible ship in front of the beam emitters and subtract when destroyed."

Code freeze :mad:

I suppose I'll go test the is-in-box solution for now, maybe.
Former Inferno lead, BTA fredder-ish and DE fredder. Driven out by ordinary fascists the_e, aesaar and general battuta. Will return if they're ever removed.