[WIP] Custom player movement, realtime weather, new demo!

Projects that have specifically been abandoned or considered "dead" get moved here, so people will quit bumping them. If your project has wound up here and it should not be, contact a moderator to have it moved back to the land of the living.
User avatar
Nash
 
 
Posts: 17487
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

[WIP] Custom player movement, realtime weather, new demo!

Post by Nash »

Link removed, see page 2

This is a work-in-progress custom player movement which will be used in an RPG mod I'm working on. The name "underworld" came from the fact that this was supposed to be an Ultima Underworld-inspired project, I guess. :)

Currently you can move and look around with the mouse and keyboard, and also jump.. Swimming behaviour is also different than stock Doom, in that you can swim on the surface. To submerge, hold the "move down" key.

You can fly around by giving "PlayerFlag_Flying" in the console. To disable flying, take away that item with the ]take command.

There's plenty more to do, including...

- Keyboard look up/down for those who don't play with the mouse
- Jumping out of water is a little difficult right now because the player has no velocity if he slides along the linedef and jumps. You can successfully jump out by taking a step back from the floor before jumping.
- Keyboard run modifier support needs to be added

... and probably a bunch of other things.

Also, there is a system in place that lets you pick up items Oblivion style (hover crosshair over items, then hit +use) but due to this issue, the item targetting isn't working. If you take a peak around the sources, the code is actually already in place, and it was working a while ago before I finished coding the custom movement...
Last edited by Nash on Mon Oct 17, 2011 10:02 am, edited 5 times in total.
User avatar
ShadowTiger
Posts: 615
Joined: Sat Nov 07, 2009 7:32 pm
Location: New York

Re: [WIP] Custom player movement

Post by ShadowTiger »

Whoah. As an avid fan of the Underworld series, this is extremely exciting. I definitely wish you much luck with the project. :)
User avatar
Ral22
Posts: 531
Joined: Sun Sep 05, 2010 12:09 pm
Preferred Pronouns: He/Him
Location: The Fortress of Dr. Radiaki
Contact:

Re: [WIP] Custom player movement

Post by Ral22 »

Okay, really cool. It felt weird to not bob when you move, but I noticed something.

Being how lame I am (And too amazed by the wading/submerged effect) I drowned. But, I was still able to move using WASD and swim up and down. Not sure if you're aware, but it's a huge issue.
User avatar
Nash
 
 
Posts: 17487
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: [WIP] Custom player movement

Post by Nash »

Aware of that, I haven't added death checks yet. Also, respawning still isn't handled properly.
Drake Raider
Posts: 474
Joined: Fri Jul 18, 2008 12:27 pm

Re: [WIP] Custom player movement

Post by Drake Raider »

So the swimming is in the style of Shadowcaster or Marathon II?
User avatar
Nash
 
 
Posts: 17487
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: [WIP] Custom player movement

Post by Nash »

Well I took inspiration from game slike Ultima Underworld and Daggerfall, where you can actually wade around on the surface before deciding to dive in... well actually you can't dive underwater in those games, that's a ZDoom exclusive haha. I haven't played Shadowcaster or Marathon (shame on me I know) but I guess it's a common thing to do back in the early 90's so... yeah...
Drake Raider
Posts: 474
Joined: Fri Jul 18, 2008 12:27 pm

Re: [WIP] Custom player movement

Post by Drake Raider »

Daggerfall, I've played.
User avatar
Nash
 
 
Posts: 17487
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: [WIP] Custom player movement

Post by Nash »

Before this, the wading movement was coded such that when you hold down a movement direction, the player will thrust himself forward with a velocity equal to that of his swimming skill, then there's a small cool down, then the thrusting happens again... kinda like real-life swimming motion... it felt annoying and nauseating though. So now the swimming skill is applied as a continuous velocity...

EDIT: Fixed the item pickup issues, link in first post has the new version... basically that's the only thing that's changed, no other changes yet (so death issues are still around), I just put it up anyway if you're curious on the item pickup system, otherwise, you're not really missing out on much, no need to download. :)
User avatar
Nash
 
 
Posts: 17487
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: [WIP] Custom player movement - now with sun glare!

Post by Nash »

User avatar
ChronoSeth
Posts: 1631
Joined: Mon Jul 05, 2010 2:04 pm
Location: British Columbia

Re: [WIP] Custom player movement - now with sun glare!

Post by ChronoSeth »

:surprise:
User avatar
Z86
Posts: 101
Joined: Mon Jan 24, 2011 5:22 pm

Re: [WIP] Custom player movement - now with sun glare!

Post by Z86 »

How do you make it stay in front of everything else?
User avatar
Ethril
Posts: 2677
Joined: Sun Nov 16, 2008 2:59 am
Location: with you in the dark

Re: [WIP] Custom player movement - now with sun glare!

Post by Ethril »

Z86 wrote:How do you make it stay in front of everything else?
Fucking miracles, man.
User avatar
Caligari87
Admin
Posts: 6229
Joined: Thu Feb 26, 2004 3:02 pm
Preferred Pronouns: He/Him
Contact:

Re: [WIP] Custom player movement - now with sun glare!

Post by Caligari87 »

Magnets.

8-)
User avatar
Ethril
Posts: 2677
Joined: Sun Nov 16, 2008 2:59 am
Location: with you in the dark

Re: [WIP] Custom player movement - now with sun glare!

Post by Ethril »

Caligari_87 wrote:Magnets.

8-)
That's what I just said.
User avatar
Nash
 
 
Posts: 17487
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: [WIP] Custom player movement - now with sun glare!

Post by Nash »

The sun now actually rotates around the sky in real-time, I'd post it right now but I need to finish up the sky gradient cycler first! This is giving me a headache.

Seeing the sun move around, especially in a GZDoom mod, however... is win.
Locked

Return to “Abandoned/Dead Projects”