Handheld Shield? (Solved)

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

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.

Handheld Shield? (Solved)

Postby MrToots » Wed Dec 06, 2017 9: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
Last edited by MrToots on Thu Dec 07, 2017 7:23 pm, edited 1 time in total.
User avatar
MrToots
 
Joined: 22 Sep 2017

Re: Handheld Shield?

Postby Blue Shadow » Thu Dec 07, 2017 1: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.
User avatar
Blue Shadow
 
 
 
Joined: 14 Nov 2010
Operating System: Windows 10/8.1/8 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: ATI/AMD (Modern GZDoom)

Re: Handheld Shield?

Postby Cherno » Thu Dec 07, 2017 8: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.
User avatar
Cherno
 
Joined: 06 Dec 2016

Re: Handheld Shield?

Postby ramon.dexter » Thu Dec 07, 2017 8: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).
User avatar
ramon.dexter
rudebwoy
 
Joined: 20 Oct 2015
Location: Kozolupy, Bohemia

Re: Handheld Shield?

Postby MrToots » Thu Dec 07, 2017 12:21 pm

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
User avatar
MrToots
 
Joined: 22 Sep 2017

Re: Handheld Shield? (Solved)

Postby ramon.dexter » Fri Dec 08, 2017 4:07 am

So you should head for the russian overkill. One of the guns spawns shield in from of you.
User avatar
ramon.dexter
rudebwoy
 
Joined: 20 Oct 2015
Location: Kozolupy, Bohemia

Re: Handheld Shield? (Solved)

Postby MrToots » Fri Dec 08, 2017 5: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 :)
User avatar
MrToots
 
Joined: 22 Sep 2017

Re: Handheld Shield? (Solved)

Postby ramon.dexter » Fri Dec 08, 2017 6: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.
User avatar
ramon.dexter
rudebwoy
 
Joined: 20 Oct 2015
Location: Kozolupy, Bohemia


Return to Scripting

Who is online

Users browsing this forum: Awario [RSS] and 0 guests