[WIP] Gravity Gun

Projects that alter game functions but do not include new maps belong here.
Forum rules
The Projects forums are only for projects. If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.

Got a cool project idea but nothing else? Put it in the project ideas thread instead!

Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.

Please read the full rules for more details.
User avatar
The Zombie Killer
Posts: 1528
Joined: Thu Jul 14, 2011 12:06 am
Location: Gold Coast, Queensland, Australia

[WIP] Gravity Gun

Post by The Zombie Killer »

Image

Download

This is a (work-in-progress) gravity gun for ZDoom. It is both a resource and a project.

CVars:
  • sv_ggun_damage: the amount of damage punting will do (default 10)
  • sv_ggun_force: the amount of force that a punt will exert (default 25)
  • sv_ggun_range: how far the gravity gun can reach (default 1024 units)
  • sv_ggun_harmheld: controls whether punting an object that is currently being held will damage it (default true)
  • sv_ggun_allactors: allows other actors such as corpses and items to be picked up (default false)
The gravity gun's actor name is GravityGun, it is in weapon slot 8. It currently does not replace any weapons or spawn anywhere on its own.
Kagur
Posts: 165
Joined: Fri Mar 14, 2014 12:40 am

Re: [WIP] Gravity Gun

Post by Kagur »

This is really good, but will there ever come a stage in which it can take hold of other players and allow you to move them around or throw them in multiplayer? :)
User avatar
HannesH
Posts: 64
Joined: Thu Sep 03, 2015 10:05 am
Location: Germany(aka:Deutschland)

Re: [WIP] Gravity Gun

Post by HannesH »

mmmh interesting.much coding i guess :D
Kagur
Posts: 165
Joined: Fri Mar 14, 2014 12:40 am

Re: [WIP] Gravity Gun

Post by Kagur »

Uhmmm... I notice that the source acs file isn't there. :roll:
User avatar
phantombeta
Posts: 2123
Joined: Thu May 02, 2013 1:27 am
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: Brazil

Re: [WIP] Gravity Gun

Post by phantombeta »

Kagur wrote:Uhmmm... I notice that the source acs file isn't there. :roll:
Yes it is. Did you think of looking at the src folder inside the rar file?
(Well, it's C code, but it's still compiled into ACS bytecode)
Kagur
Posts: 165
Joined: Fri Mar 14, 2014 12:40 am

Re: [WIP] Gravity Gun

Post by Kagur »

Yes it is. Did you think of looking at the src folder inside the rar file?
(Well, it's C code, but it's still compiled into ACS bytecode)
No need to be condescending. I didn't notice the second file for download when I clicked the link. Usually, the source file is provided with the main mod.
User avatar
phantombeta
Posts: 2123
Joined: Thu May 02, 2013 1:27 am
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: Brazil

Re: [WIP] Gravity Gun

Post by phantombeta »

Considering it's a resource, you should have checked the thread again at least three times. Yeah, sure, it's usually provided with the main mod, but we've been getting mods that can't just do that because they need a specific compiler that isn't the standard ACC, so you should expect it to be somewhere else. (For example, a few things by TZK that require GDCC, DoomRPG (requires DH-ACC. (or whatever the name is) Might be converted to C code for GDCC-CC in the future IIRC))
[edit]Also, it wasn't meant to be condescending. English is not my native language, so sometimes what I say might sound rude or something. If I'm being rude, it's usually not on purpose.[/edit]
Kagur
Posts: 165
Joined: Fri Mar 14, 2014 12:40 am

Re: [WIP] Gravity Gun

Post by Kagur »

Considering it's a resource, you should have checked the thread again at least three times. Yeah, sure, it's usually provided with the main mod, but we've been getting mods that can't just do that because they need a specific compiler that isn't the standard ACC, so you should expect it to be somewhere else. (For example, a few things by TZK that require GDCC, DoomRPG (requires DH-ACC. (or whatever the name is) Might be converted to C code for GDCC-CC in the future IIRC))
I have yet to see a mod that uses a different compiler than ACC, so not being aware of it doesn't warrant that kind of justification. :roll:
Last edited by Kagur on Fri Sep 04, 2015 4:28 pm, edited 1 time in total.
User avatar
HannesH
Posts: 64
Joined: Thu Sep 03, 2015 10:05 am
Location: Germany(aka:Deutschland)

Re: [WIP] Gravity Gun

Post by HannesH »

isnt it much work to configure to the thing in the game like enemys and other stuff
Kagur
Posts: 165
Joined: Fri Mar 14, 2014 12:40 am

Re: [WIP] Gravity Gun

Post by Kagur »

isnt it much work to configure to the thing in the game like enemys and other stuff
In Gzdoom, it does push things, but doesn't pull. In Zandronum, it doesn't do either of them.
User avatar
HannesH
Posts: 64
Joined: Thu Sep 03, 2015 10:05 am
Location: Germany(aka:Deutschland)

Re: [WIP] Gravity Gun

Post by HannesH »

how i sayed : much work
User avatar
phantombeta
Posts: 2123
Joined: Thu May 02, 2013 1:27 am
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: Brazil

Re: [WIP] Gravity Gun

Post by phantombeta »

Eh... I'd say TZK just started making this and pulling will be in soon... I remember another Gravity Gun existing. (One that could pull) I think that one was made by TZK too...
User avatar
HannesH
Posts: 64
Joined: Thu Sep 03, 2015 10:05 am
Location: Germany(aka:Deutschland)

Re: [WIP] Gravity Gun

Post by HannesH »

ok i think when its out i want to try it
User avatar
Hornetzero
Posts: 312
Joined: Wed Dec 05, 2012 12:42 am
Location: Twighlight zone

Re: [WIP] Gravity Gun

Post by Hornetzero »

I would be very happy if it could do even half of the tricks shown from on wards 0:36 on this video:

User avatar
The Zombie Killer
Posts: 1528
Joined: Thu Jul 14, 2011 12:06 am
Location: Gold Coast, Queensland, Australia

Re: [WIP] Gravity Gun

Post by The Zombie Killer »

phantombeta wrote:Eh... I'd say TZK just started making this and pulling will be in soon... I remember another Gravity Gun existing. (One that could pull) I think that one was made by TZK too...
The first ZDoom gravity gun was made by Linguica, the second one (that I know of) was by me and is part of my old mod "Zombie's Mod".
Pulling will be in soon, I just wanted to get this out there quicker.

Return to “Gameplay Mods”