Author Topic: Auto protect shields sexp?  (Read 4086 times)

0 Members and 1 Guest are viewing this topic.

Offline aldo_14

  • Gunnery Control
  • 213
Auto protect shields sexp?
Just an idea for an SEXP (or flagged in ships.tbl, but I figure SEXP-ing could be more flexible)

Basically, the game reacts to the lowest shield quadrant and directs all energy to that until it's full or (to prevent a sort of logic error where 1 quad is full and the others are down, and thus all 3 are attempted to be raised) another (any) quadrant is under a certain value.

i.e. it autoequalizes the shields to buffer up the lowest one, presuming it is the area under direct threat (I figure that checking for incoming fire could be a bit too slow...obviously not sure, I'm not proficient enough with C++ / C to actually do this, even if me compiler worked :( ).

Um...like

while(lowestQuad)<10% and (allotherQuads)>10%
 {
 direct all power to (lowestPowerQuad)
//or, equalize shield?
 }

(I'm not sure all the possible scenarios, but I'd assume the function to get the lowest quadrant could check how long that quadrant had been at that level (i.e. how recently it had been knocked down), or double check in a short space to check if it dropped (was under fire), or simply prioritize back/front/left/right when multiple quads are at the same level)

I'm assuming that the game regards the shield as in quadrants based on the special sexps and the HUD ani.  

Just an idea.... it might be useful for stuff, like a lower-difficulty aid, or simulating new technology... or maybe not.


Another idea (which i think has been suggested) would be render the shieldhit ani when 2 shields intersect, i.e. in a collision.  regardless of whether it prevent sthe iompact, it could look cool.  Especially with large shielded craft colliding.

 

Offline DTP

  • ImPortant Coder
  • 28
    • http://www.c4-group.dk
I think that should be an AI thing and not an actual SEXP.

since, it is a "auto feature".
VBB member; reg aug 1999; total posts 600.
War is a lion, on whos back you fall, never to get up.
Think big. Invade Space.

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
would be a good option type thing like auto target and speed matching, usefull to novice pilots or in those tight scrapes, but a skilled pilot would benefit to manualy controleing it
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Solatar

  • 211
Yes, right under Auto Target, and Auto Macth speed on you HUD, add Auto Equal or something.

 

Offline aldo_14

  • Gunnery Control
  • 213
Quote
Originally posted by DTP
I think that should be an AI thing and not an actual SEXP.

since, it is a "auto feature".


Wouldn;t that be a bit more difficult to impelement, though?  Especially to have it only apply in certain cases...I was thinking that the SEXP code already can affect the shields, and that you could make the whole operation ship-type independent, or triggered only under set conditions, with SEXPs.

 

Offline DTP

  • ImPortant Coder
  • 28
    • http://www.c4-group.dk
Quote
Originally posted by Bobboau
would be a good option type thing like auto target and speed matching, usefull to novice pilots or in those tight scrapes, but a skilled pilot would benefit to manualy controleing it


it would centainly lighten the pressure on my Q button.
:D
VBB member; reg aug 1999; total posts 600.
War is a lion, on whos back you fall, never to get up.
Think big. Invade Space.

 

Offline DTP

  • ImPortant Coder
  • 28
    • http://www.c4-group.dk
Quote
Originally posted by aldo_14


Wouldn;t that be a bit more difficult to impelement, though?  Especially to have it only apply in certain cases...I was thinking that the SEXP code already can affect the shields, and that you could make the whole operation ship-type independent, or triggered only under set conditions, with SEXPs.


I think it would be equilly difficult/easy to implement either cases. but since you already have a max amount of SEXPS i think it is bad to do it as a SEXP.

cant remember the max events right now. but will return on that
VBB member; reg aug 1999; total posts 600.
War is a lion, on whos back you fall, never to get up.
Think big. Invade Space.

 

Offline IceFire

  • GTVI Section 3
  • 212
    • http://www.3dap.com/hlp/hosted/ce
So I'm not the only one who hits "Q" constantly during a firefight :)

Keep those shields equalized!!  Although in recent months I've been directing shield energy to different quadrants...especially on attack runs against the more deadly capital ships showing up in MOD's.
- IceFire
BlackWater Ops, Cold Element
"Burn the land, boil the sea, you can't take the sky from me..."

 

Offline Fury

  • The Curmudgeon
  • 213
Quote
Originally posted by IceFire
So I'm not the only one who hits "Q" constantly during a firefight :)


No, you are not. :)

 

Offline Nico

  • Venom
    Parlez-vous Model Magician?
  • 212
nah, not automatic, when I go frontal against a cap, for exemple, I put all the shields in the front of my ship, and when I badly want to kill the ^ù$ù*ù$ that keeps evading me, I put all the shields on the back coz there's that damn dragon that won't leave me alone.
get my point? :)
SCREW CANON!

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
what about an auto feature that replays you're last sheild instruction (equalise, front quadrant, side quardrants, rear quadrant) every, 1/4th of a second
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline aldo_14

  • Gunnery Control
  • 213
Quote
Originally posted by venom2506
nah, not automatic, when I go frontal against a cap, for exemple, I put all the shields in the front of my ship, and when I badly want to kill the ^ù$ù*ù$ that keeps evading me, I put all the shields on the back coz there's that damn dragon that won't leave me alone.
get my point? :)


Actually...that's what I meant.  the idea being that the game detects the weakest shield and boosts it the most, until the other quadrants drop below a certain level....

actually, being able to 'set' all power to the left / right / front / back shields with a hotkey (using q to re-equalise) could be neat....... (I'm assuming it's no possible at the mo).

The thing about the SEXP limit is a good point....I forgot about that.  Isn;t there a limit on the defined SEXPs, too?

 

Offline DTP

  • ImPortant Coder
  • 28
    • http://www.c4-group.dk
Quote
Originally posted by Bobboau
what about an auto feature that replays you're last sheild instruction (equalise, front quadrant, side quardrants, rear quadrant) every, 1/4th of a second


yeah, would have to be designed carefully though.

i can foresee situations, where you are about to stabelize your front shield section when that auto feature zaps all power to the rear section, meaning you would have to press more times, and in some cases that lost time would get you killed.
VBB member; reg aug 1999; total posts 600.
War is a lion, on whos back you fall, never to get up.
Think big. Invade Space.

 

Offline LtNarol

  • Biased Banshee
  • 211
    • http://www.3dap.com/hlp/hosted/the158th
preset automatic stuff = bad
sexps to enabe/disable such features = good

they created the Q button so you can equalize, and arrow keys so you can do other stuff, dont get rid of that with auto-features.  Sexps on the other hand that do the same thing can be helpful to ai ships or novice players without being an impediment to more experienced players.

 

Offline DTP

  • ImPortant Coder
  • 28
    • http://www.c4-group.dk
it was a toggle on/off thing, all the normal shield management functions would still be there.
VBB member; reg aug 1999; total posts 600.
War is a lion, on whos back you fall, never to get up.
Think big. Invade Space.

 

Offline IceFire

  • GTVI Section 3
  • 212
    • http://www.3dap.com/hlp/hosted/ce
I think we should give this to AI ships....wingmen and enemies are aweful at shield management.
- IceFire
BlackWater Ops, Cold Element
"Burn the land, boil the sea, you can't take the sky from me..."

 

Offline Fury

  • The Curmudgeon
  • 213
Quote
Originally posted by IceFire
I think we should give this to AI ships....wingmen and enemies are aweful at shield management.


Agreed. AI should constantly equalise shields.
Even better if you can give it few basic routines to check if it should strenghten one of the shield faces.