Handheld Shield? (Solved)

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: Handheld Shield? (Solved)

Re: Handheld Shield? (Solved)

by Jarewill » Fri Aug 21, 2020 12:52 am

DerTimmy wrote:what does the code look like? i have a gun with movable shield but cant figure out how to acticate/deactivate it with altfire :/ i need to hold altfire for it to appear. cant find it in RO
I don't think it's a good idea to bump a 3 year old thread. It might have been better to post a new thread in the scripting forum. But what do I know.

As for your question: have the shield spawning as an overlay that you can activate and deactivate with A_Overlay:
Spoiler:

Re: Handheld Shield? (Solved)

by DerTimmy » Thu Aug 20, 2020 2:01 pm

what does the code look like? i have a gun with movable shield but cant figure out how to acticate/deactivate it with altfire :/ i need to hold altfire for it to appear. cant find it in RO

Re: Handheld Shield? (Solved)

by ramon.dexter » Fri Dec 08, 2017 5:04 am

Yes, the gun I'm reffering to is EXACTLY what you want. It spawns a shield wall in front of you that moves with you.

The stationary one is the item from realm667.

Re: Handheld Shield? (Solved)

by MrToots » Fri Dec 08, 2017 4:36 am

ramon.dexter wrote:So you should head for the russian overkill. One of the guns spawns shield in from of you.
I believe I know what you are referring to and it's not quite what I was looking for, if I'm right that places a stationary shield, what I require is something you have in your hands, something that will move with you as if it's an actual shield in your hand, and while it took some fidgeting i got the results i was looking for
Thanks though :)

Re: Handheld Shield? (Solved)

by ramon.dexter » Fri Dec 08, 2017 3:07 am

So you should head for the russian overkill. One of the guns spawns shield in from of you.

Re: Handheld Shield?

by MrToots » Thu Dec 07, 2017 11:21 am

I actually noticed realm667 has 2 things that I'm gonna look through
The shield gun which I'm hoping is exactly how it sounds and the shield sphere which reflects projectiles both of which are interesting
I'll do some tests and see

Re: Handheld Shield?

by ramon.dexter » Thu Dec 07, 2017 7:28 am

One of the weapons in russian overkill has this mechanic. Also. realm667 has a kind of deployable shield (here with beacon actor that spawns the shield).

Re: Handheld Shield?

by Cherno » Thu Dec 07, 2017 7:23 am

MrToots wrote:I know i say this alot but sorry if this is the wrong place, the topic I was gonna post this in was closed apparently(the How do I.. Thread)

I was wondering does anyone know how to make a shield that activates at the press of a button
i've seen it before but i can't remember what mod had it
the mod had a gun which if you held right click it put up an energy shield that negated damage coming from infront of you
i would like to do basically that but i am still new at decorate and and i can't find anything that points me in any logical direction
I think BulletEye had this mechanic, where you could create a temporary energy shield. However, it was just a projectile-blocking actor that would exist in front of the player's position for a few seconds.

Re: Handheld Shield?

by Blue Shadow » Thu Dec 07, 2017 12:49 am

MrToots wrote:I know i say this alot but sorry if this is the wrong place, the topic I was gonna post this in was closed apparently(the How do I.. Thread)
I moved it to the right place. You can find out here why that thread was closed.

Handheld Shield? (Solved)

by MrToots » Wed Dec 06, 2017 8:01 pm

I know i say this alot but sorry if this is the wrong place, the topic I was gonna post this in was closed apparently(the How do I.. Thread)

I was wondering does anyone know how to make a shield that activates at the press of a button
i've seen it before but i can't remember what mod had it
the mod had a gun which if you held right click it put up an energy shield that negated damage coming from infront of you
i would like to do basically that but i am still new at decorate and and i can't find anything that points me in any logical direction

Edit: Solved - I used the Realm667 Shieldgun and just used the used one of the small actors, learned a good amount about positioning from it

Top