[WIP] GZDoom - Tower of Babel
- Ryan Cordell
- Posts: 4349
- Joined: Sun Feb 06, 2005 6:39 am
- Preferred Pronouns: No Preference
- Operating System Version (Optional): Windows 10
- Graphics Processor: nVidia (Modern GZDoom)
- Location: Capital of Explodistan
Re: [WIP] GZDoom - Tower of Babel
Tower is up and running, now running with an AMD Phenom II x4 and 8 GB of DDR3 ram. No files lost from what I can tell, so when I feel like it I'll get around to updating and possibly working on what Nash suggested.
EDIT:
Weapon bobbing extension
I'm handing this out for people to test and compile with, before I put it up as a feature submission. I know quite a few modders have awaited this for ages. So here you go. Should be flexible enough.
EDIT 2: *Whistles and repairs patch*
EDIT:
Weapon bobbing extension
I'm handing this out for people to test and compile with, before I put it up as a feature submission. I know quite a few modders have awaited this for ages. So here you go. Should be flexible enough.
EDIT 2: *Whistles and repairs patch*
Last edited by Ryan Cordell on Fri Jul 29, 2011 11:02 pm, edited 1 time in total.
Re: [WIP] GZDoom - Tower of Babel
ToB builds on a version of gzdoom that does not provide the A_Warp function, doesn't it? I'd want A_Warp in this engine. And if Ryan Cordell comes up with something brilliant and unobtrusive for ToB, it might be relevant for zdoom and gzdoom, even though dynamic height change is not. I think having all common/duplicate files as similar as possible might be a good idea; at best it will be possible to copy features with minimal editing of the patch file.Nash wrote:I think the reason why ToB even exists in the first place is because Graf does NOT want any of this stuff in the official versions...
- Ryan Cordell
- Posts: 4349
- Joined: Sun Feb 06, 2005 6:39 am
- Preferred Pronouns: No Preference
- Operating System Version (Optional): Windows 10
- Graphics Processor: nVidia (Modern GZDoom)
- Location: Capital of Explodistan
Re: [WIP] GZDoom - Tower of Babel
ToB is built on the latest source of GZDoom. A_Warp is in.
- TheMistress
- Posts: 304
- Joined: Mon Jan 04, 2010 12:18 pm
Re: [WIP] GZDoom - Tower of Babel
Does the weapon bobbing extension make it so, that you can have the weapon go down and up when you jump? like in the BUILD engine? Aka make it easier to also recreate that part IF ZBLood was ever continued?Ryan Cordell wrote:Tower is up and running, now running with an AMD Phenom II x4 and 8 GB of DDR3 ram. No files lost from what I can tell, so when I feel like it I'll get around to updating and possibly working on what Nash suggested.
EDIT:
Weapon bobbing extension
I'm handing this out for people to test and compile with, before I put it up as a feature submission. I know quite a few modders have awaited this for ages. So here you go. Should be flexible enough.
- Hellser
- Global Moderator
- Posts: 2705
- Joined: Sun Jun 25, 2006 4:43 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 11
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
- Location: Citadel Station
Re: [WIP] GZDoom - Tower of Babel
Ryan did this through ACS butchery. I'm not sure if he'll share the secrets just yet.TheMistress wrote: Does the weapon bobbing extension make it so, that you can have the weapon go down and up when you jump? like in the BUILD engine? Aka make it easier to also recreate that part IF ZBLood was ever continued?
- Ryan Cordell
- Posts: 4349
- Joined: Sun Feb 06, 2005 6:39 am
- Preferred Pronouns: No Preference
- Operating System Version (Optional): Windows 10
- Graphics Processor: nVidia (Modern GZDoom)
- Location: Capital of Explodistan
Re: [WIP] GZDoom - Tower of Babel
Code: Select all
//=================
// Jumping script
// Created by Ryan
//=================
#define max_height 36.0
#define GunPhysics 253
SCRIPT GunPhysics ENTER
{
SetPlayerProperty(0,1,2);
SetFont("SMALLFONT");
SetHudSize(640,480,0);
int heightoffset;
int prev_value;
int prev_z_value;
int z_velocity;
int zdistance;
int falling = 0;
int i = 0;
while(GetActorProperty(0,APROP_HEALTH) > 0)
{
prev_value = zdistance;
prev_z_value = z_velocity;
zdistance = GetActorZ(0) - GetActorFloorZ(0);
z_velocity = GetActorVelZ(0);
if (zdistance == 0)
{
heightoffset = 32.4;
}
if (prev_value < zdistance) //I've stopped tracking just which state is jumping and falling at this point. :|
{
heightoffset += 0.75;
}
if (prev_value > zdistance)
{
if (heightoffset < 20.0) heightoffset = 20.0;
if (heightoffset > 56.0) heightoffset = 56.0;
else heightoffset -= 1.25;
falling = 1;
}
SetActorProperty(0, APROP_GunOffsetY, heightoffset);
delay(1);
}
}
The issue with Blood vertical weapon sway is that I don't know the physicsbehind it, so I can't precisely replicate it. The weapons also have to be offset downwards slightly to avoid any cutoff when it moves up and down.
- TheMistress
- Posts: 304
- Joined: Mon Jan 04, 2010 12:18 pm
Re: [WIP] GZDoom - Tower of Babel
About that issue, wasn't there someone who once made extended Doom2 weapons? I mean, the Shotgun that had a wooden stock on the HUD and was a bit longer?Ryan Cordell wrote:The weapons also have to be offset downwards slightly to avoid any cutoff when it moves up and down.
Re: [WIP] GZDoom - Tower of Babel
i found a few extended weapons in this thread, minus the shotgun.TheMistress wrote:About that issue, wasn't there someone who once made extended Doom2 weapons? I mean, the Shotgun that had a wooden stock on the HUD and was a bit longer?Ryan Cordell wrote:The weapons also have to be offset downwards slightly to avoid any cutoff when it moves up and down.
http://forum.zdoom.org/viewtopic.php?f= ... ed+weapons
- TheMistress
- Posts: 304
- Joined: Mon Jan 04, 2010 12:18 pm
Re: [WIP] GZDoom - Tower of Babel
Yep that's what i was talking about , how did you find it? When i used search i didn't find the topic.Duducrazy wrote:i found a few extended weapons in this thread, minus the shotgun.TheMistress wrote:About that issue, wasn't there someone who once made extended Doom2 weapons? I mean, the Shotgun that had a wooden stock on the HUD and was a bit longer?Ryan Cordell wrote:The weapons also have to be offset downwards slightly to avoid any cutoff when it moves up and down.
http://forum.zdoom.org/viewtopic.php?f= ... ed+weapons
Re: [WIP] GZDoom - Tower of Babel
i just typed "extended weapons" and browsed a few pages until i managed to find it. now i'll see if i can find an extended shotgun sprite which i also recall seeing in the forums somewhere.
- Ryan Cordell
- Posts: 4349
- Joined: Sun Feb 06, 2005 6:39 am
- Preferred Pronouns: No Preference
- Operating System Version (Optional): Windows 10
- Graphics Processor: nVidia (Modern GZDoom)
- Location: Capital of Explodistan
Re: [WIP] GZDoom - Tower of Babel
Updated first post on this page with a better patch for bob extension. Missed out a file and patched it differently so you don't have to bother searching for folders and files.
- DOOMERO-21
- Posts: 1423
- Joined: Wed Jan 02, 2008 10:02 pm
- Location: Chile
Re: [WIP] GZDoom - Tower of Babel
add nothrustvertical please but only for a_explode case...
- Ryan Cordell
- Posts: 4349
- Joined: Sun Feb 06, 2005 6:39 am
- Preferred Pronouns: No Preference
- Operating System Version (Optional): Windows 10
- Graphics Processor: nVidia (Modern GZDoom)
- Location: Capital of Explodistan
Re: [WIP] GZDoom - Tower of Babel
.. When actually looking at the P_RadiusThrust code though, it's.. more complex than I thought. Oh dear.
Re: [WIP] GZDoom - Tower of Babel
All physics-related code in Doom tend to provoke this kind of reaction.
- NeuralStunner
-
- Posts: 12325
- Joined: Tue Jul 21, 2009 12:04 pm
- Preferred Pronouns: He/Him
- Graphics Processor: nVidia with Vulkan support
- Location: capital N, capital S, no space
- Contact:
Re: [WIP] GZDoom - Tower of Babel
Having spent quite some time on a steep roof, ZDoom's slope physics actually look a little less unrealistic.Gez wrote:All physics-related code in Doom tend to provoke this kind of reaction.