Handheld Shield? (Solved)
Moderator: GZDoom Developers
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!)
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!)
Handheld Shield? (Solved)
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
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
Last edited by MrToots on Thu Dec 07, 2017 6:23 pm, edited 1 time in total.
-
- Posts: 4949
- Joined: Sun Nov 14, 2010 12:59 am
Re: Handheld Shield?
I moved it to the right place. You can find out here why that thread was closed.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)
Re: Handheld Shield?
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.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
- ramon.dexter
- Posts: 1529
- Joined: Tue Oct 20, 2015 12:50 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Kozolupy, Bohemia
Re: Handheld Shield?
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?
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
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
- ramon.dexter
- Posts: 1529
- Joined: Tue Oct 20, 2015 12:50 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Kozolupy, Bohemia
Re: Handheld Shield? (Solved)
So you should head for the russian overkill. One of the guns spawns shield in from of you.
Re: Handheld Shield? (Solved)
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 forramon.dexter wrote:So you should head for the russian overkill. One of the guns spawns shield in from of you.
Thanks though
- ramon.dexter
- Posts: 1529
- Joined: Tue Oct 20, 2015 12:50 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Kozolupy, Bohemia
Re: Handheld Shield? (Solved)
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.
The stationary one is the item from realm667.
Re: Handheld Shield? (Solved)
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)
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.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
As for your question: have the shield spawning as an overlay that you can activate and deactivate with A_Overlay:
Spoiler: