active shield

General discussion about anything related to Transcendence.
Post Reply
User avatar
Betelgeuse
Fleet Officer
Fleet Officer
Posts: 1920
Joined: Sun Mar 05, 2006 6:31 am

I love my new shield. Whenever it gets hit it explodes. :lol:
Image
Crying is not a proper retort!
schilcote
Militia Captain
Militia Captain
Posts: 726
Joined: Sat Feb 02, 2008 7:22 pm

Neat. Code please?
[schilcote] It doesn't have to be good, it just has to not be "wow is that the only thing you could think of" bad
Yugi
Fleet Officer
Fleet Officer
Posts: 1027
Joined: Sun Mar 05, 2006 8:21 am

ZOMG! O_O
Does the explosion damage you?
User avatar
Betelgeuse
Fleet Officer
Fleet Officer
Posts: 1920
Joined: Sun Mar 05, 2006 6:31 am

Yugi wrote:ZOMG! O_O
Does the explosion damage you?
Not in that version but I do plan on making a version where when hit it does damage you (the interesting part there is any hit would bring down the shield but I plan on making the shield come back up extremely fast.)

As for the code it is part of the onAttacked mod me and DigDug are working on. We have the core done and now we are making tons of weapons shields and armor that do stuff when hit or when hitting. Do you have any suggestions on something you would like to see? (only stuff that you can do in code please)
Crying is not a proper retort!
schilcote
Militia Captain
Militia Captain
Posts: 726
Joined: Sat Feb 02, 2008 7:22 pm

How about a OnDamaged routine that checks what kind of bullet triggered it, and then hits the bullet's source with the same kind of damage. Can you do that? I don't really know.
[schilcote] It doesn't have to be good, it just has to not be "wow is that the only thing you could think of" bad
User avatar
Betelgeuse
Fleet Officer
Fleet Officer
Posts: 1920
Joined: Sun Mar 05, 2006 6:31 am

we are not using onDamage due to the fact that it is not activated when a shield is hit. We can not do damage to shields in code.
Crying is not a proper retort!
User avatar
Atarlost
Fleet Admiral
Fleet Admiral
Posts: 2391
Joined: Tue Aug 26, 2008 12:02 am

I'd be interested to see a seriese of meteorsteel missiles (and a MAG) that would drop shields on contact, but also drop your own shield on launch.
User avatar
Betelgeuse
Fleet Officer
Fleet Officer
Posts: 1920
Joined: Sun Mar 05, 2006 6:31 am

hmm I can't do anything about when it is fired (this is a onAttacked mod)
but I could make some weapons that take down shields when they hit but the AI doesn't know how to bring them back up. The player does so they would be a bit uneven.

how does this sound a weapon that when it hits a shield damages it?
Crying is not a proper retort!
F50
Fleet Officer
Fleet Officer
Posts: 1004
Joined: Sat Mar 11, 2006 5:25 pm

I too would like the meteorsteel weapon. It wouldn't be that much of a player advantage because the AI using it would have meteorsteel armor anyways.

That said, a weapon that damages the shield would also be very nice (and would be something that I could use, too).
User avatar
Atarlost
Fleet Admiral
Fleet Admiral
Posts: 2391
Joined: Tue Aug 26, 2008 12:02 am

I meant drop as the effect a shield suffers when reduced to zero HP, not disable. The AI doesn't have to do anything to recover from that except wait.

As you said, though, it does use more than just onAttacked and if it only affected the target's shields it would be way too powerful.
User avatar
Fatboy
Militia Lieutenant
Militia Lieutenant
Posts: 247
Joined: Fri Feb 22, 2008 1:52 am
Location: California

Wow! looks cool.
User avatar
Ttech
Fleet Admiral
Fleet Admiral
Posts: 2767
Joined: Tue Nov 06, 2007 12:03 am
Location: Traveling in the TARDIS
Contact:

Its like my head... when I try to use it.


Anyway neat! can I see the code?
Image
Image
schilcote
Militia Captain
Militia Captain
Posts: 726
Joined: Sat Feb 02, 2008 7:22 pm

[schilcote] It doesn't have to be good, it just has to not be "wow is that the only thing you could think of" bad
Post Reply