The WIP Thread

If it's not ZDoom, it goes here.
User avatar
StroggVorbis
Posts: 866
Joined: Wed Nov 08, 2017 4:23 pm
Graphics Processor: nVidia with Vulkan support
Location: Germany

Re: The WIP Thread

Post by StroggVorbis »

@Lex Safonov
After having played Powerslave EX I understand what you mean, however I would describe it as similar to the energy tanks in the Metroid series :D
User avatar
Dr_Cosmobyte
Posts: 2759
Joined: Thu Jun 04, 2015 9:07 pm
Location: Killing spiders.

Re: The WIP Thread

Post by Dr_Cosmobyte »

I think the PSX levels architecture would be harder to emulate too. There are many passages which the player must blow up using barrels.
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed
Contact:

Re: The WIP Thread

Post by wildweasel »

GAA1992 wrote:I think the PSX levels architecture would be harder to emulate too. There are many passages which the player must blow up using barrels.
That happens in the PC version, too, though.
User avatar
MaxRideWizardLord
Posts: 345
Joined: Tue Jan 26, 2016 8:05 pm

Re: The WIP Thread

Post by MaxRideWizardLord »

Lex Safonov wrote:
MaxRideWizardLord wrote:I wonder if it will feature goodies both from PC and PS1 version? There is a bit different weapons and their behavior.
On the PS1 version is a completely different system of ammo and lives. There are used "spheres" that replenish the ammunition for the weapon that is in the hands at the moment. Lives use "levels" - the ability to dial hp up to 200-300 units (depending on the level).
In the PC version, everything is absolutely the opposite, each weapon has its own ammunition. And instead of "life levels" - the ability to die in the game.
All this is basically irrelevant. What I was wondering if it will have both weapons of PC and PS1 version. Like, can I have both Ring of RA weapon from PS1 and that one magical staff from PC version at the same time, and have the bracelet hand weapon being able to shoot both lightning and summon the thunderstorm wrath? While still being able to collect the PS1 upgradeble items like high jump, flying, etc?
User avatar
Nash
 
 
Posts: 17439
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: The WIP Thread

Post by Nash »



equippable bags. increases max encumbrance, in-world sprite will update to reflect it too
User avatar
Lex Safonov
Posts: 147
Joined: Mon Apr 28, 2014 10:50 pm
Location: Russian Federation

Re: The WIP Thread

Post by Lex Safonov »

MaxRideWizardLord wrote:
Lex Safonov wrote:
MaxRideWizardLord wrote:I wonder if it will feature goodies both from PC and PS1 version? There is a bit different weapons and their behavior.
On the PS1 version is a completely different system of ammo and lives. There are used "spheres" that replenish the ammunition for the weapon that is in the hands at the moment. Lives use "levels" - the ability to dial hp up to 200-300 units (depending on the level).
In the PC version, everything is absolutely the opposite, each weapon has its own ammunition. And instead of "life levels" - the ability to die in the game.
All this is basically irrelevant. What I was wondering if it will have both weapons of PC and PS1 version. Like, can I have both Ring of RA weapon from PS1 and that one magical staff from PC version at the same time, and have the bracelet hand weapon being able to shoot both lightning and summon the thunderstorm wrath? While still being able to collect the PS1 upgradeble items like high jump, flying, etc?
I still think about it. The specifics of my work is a complete copy of the original game. So far at this stage it is difficult to say something. At the moment, weapons are just a test version. I focused entirely on the program, which can edit the animation data in the original game.
User avatar
TDRR
Posts: 815
Joined: Sun Mar 11, 2018 4:15 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Debian 12/ Manjaro
Graphics Processor: nVidia with Vulkan support
Location: Venezuela

Re: The WIP Thread

Post by TDRR »

Nash wrote:Ported a C++ random dungeon algorithm to ZScript (the version 3 one), and cranked it to 11. :D



pls releas this
Seidolon
Posts: 463
Joined: Wed Oct 09, 2013 11:11 pm

Re: The WIP Thread

Post by Seidolon »

Made an ACS function to draw a line of actors between two things:

Code: Select all

function void DrawLineBetweenThings(str lineactor, int thing1, int thing2, int sparsity, int height)
{
	int x, y, z, loop1;
	
	int dist = distancez(thing1, thing2);
	int particlenum = (dist >> 16)/sparsity;
	
	int xdiff = getactorx(thing1) - getactorx(thing2);
	int ydiff = getactory(thing1) - getactory(thing2);
	int zdiff = getactorz(thing1) - getactorz(thing2);	
	
	until (loop1 >= particlenum)
	{
		x = ((xdiff/particlenum)*loop1)+getactorx(thing2);
		y = ((ydiff/particlenum)*loop1)+getactory(thing2);
		z = ((zdiff/particlenum)*loop1)+getactorz(thing2);
		
		SpawnForced(lineactor,x, y, z+height,0,0);
		
		loop1++;
	}
	
	x = getactorx(thing1);
	y = getactory(thing1);
	z = getactorz(thing1);
	
	SpawnForced(lineactor,x, y, z+height,0,0);	
}
Using this for a mod I'm working on but someone else might find it useful. It also uses the distancez function I found on the ZDoom wiki, so be sure to include that.

Code: Select all

function int distancez (int tid1, int tid2)
{
	int len;
	int y = getactory(tid1) - getactory(tid2);
	int x = getactorx(tid1) - getactorx(tid2);
	int z = getactorz(tid1) - getactorz(tid2);

	int ang = vectorangle(x,y);
	if(((ang+0.125)%0.5) > 0.25) len = fixeddiv(y, sin(ang));
	else len = fixeddiv(x, cos(ang));

	ang = vectorangle(len, z);
	if(((ang+0.125)%0.5) > 0.25) len = fixeddiv(z, sin(ang));
	else len = fixeddiv(len, cos(ang));

	return len;
}
User avatar
Nash
 
 
Posts: 17439
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: The WIP Thread

Post by Nash »



Fully working character enchantments and effects system. Enchantments are containers for "effects" and effects are what really alters the character. List of effects will grow dynamically as more effects are added to an enchantment. Enchantments can be generated during run-time so it's possible to do some kind of crafting system where you can attach your own enchantments to items you equip. All stat changes from enchantments are also reflected on the character sheet here.

Here's what the Test Enchantment looks like:

Code: Select all

class TestEnchantment : LADCharacterEnchantment
{
    Default
    {
        LADCharacterEnchantment.Name "Test Enchantment";
    }

    override void InitEffects(void)
    {
        AddEffect(TYPE_Encumbrance, 25);
        AddEffect(TYPE_Strength, 1);
        AddEffect(TYPE_Luck, -1);
    }
}
Ignore the shitty UI layout, the entire character screen is overdue for a complete rewrite using a proper UI framework like Gutawer's ZForms, instead of raw Screen.* calls like what I've been doing here (my UI code is close to unmaintainable now).
User avatar
Marisa the Magician
Posts: 3886
Joined: Fri Feb 08, 2008 9:15 am
Preferred Pronouns: She/Her
Operating System Version (Optional): (btw I use) Arch
Graphics Processor: nVidia with Vulkan support
Location: Vigo, Galicia
Contact:

Re: The WIP Thread

Post by Marisa the Magician »

I think Bethesda's games are influencing you way too much judging from all this terminology. :P
User avatar
SamVision
Posts: 2425
Joined: Tue Apr 13, 2010 4:47 pm
Location: Behind You

Re: The WIP Thread

Post by SamVision »

What you making there Nash?
User avatar
Captain J
 
 
Posts: 16890
Joined: Tue Oct 02, 2012 2:20 am
Location: An ancient Escape Shuttle(No longer active here anymore)
Contact:

Re: The WIP Thread

Post by Captain J »

So the Enchantment can be added by any kind of affection like eating and get poisoned? Looks interesting if you ask me!
User avatar
Nash
 
 
Posts: 17439
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: The WIP Thread

Post by Nash »



Pretty happy with how stable this thing runs in coop. Even with saving, loading, traveling between levels, etc.
SamVision wrote:What you making there Nash?
A poor man's Fallout New Vegas I suppose. =P
Captain J wrote:So the Enchantment can be added by any kind of affection like eating and get poisoned? Looks interesting if you ask me!
Yes. The whole point of the system was added because I thought that hard-coding "if player equips backpack, add 25 to max encumbrance", "if player equips this armor, add 3 to speed" ... is a very bad way to solve the problem, from a programming point of view. So instead I wrote a complete "enchantment" system so that I can speedily apply stat buffs and debuffs to any item.

The "Enchantment" terminology is only internal and it can be called whatever the developer wants, because the necessary strings are exposed through LANGUAGE. I just chose the word "Enchantment" because it looks better than "Buff", "StatBonus", etc... =P
User avatar
InsanityBringer
Posts: 3386
Joined: Thu Jul 05, 2007 4:53 pm
Location: opening the forbidden box

Re: The WIP Thread

Post by InsanityBringer »

Image
a bunch of descent explodey boys, using the original textures. Figured I'd give it a try while playing with "upgraded" models. I had originally wanted to keep these within a sane 90's polygon budget, but I kinda failed hard on that tbh. All of them are below 100 faces, but the original models only ever cap out at 37 faces... and that's with faces sliced up by BSP, I don't want to think of what a BSP builder would do to the polycount on my models...

I need to pull out Descent 3's assets and examine them closer, I'm wondering if this fits within a late 90s polygon budget where z-buffering was starting to be normal so the models don't even need to be sliced up anymore.
Gez
 
 
Posts: 17835
Joined: Fri Jul 06, 2007 3:22 pm

Re: The WIP Thread

Post by Gez »

Nash wrote:A poor man's Fallout New Vegas I suppose. =P
Daggerfall with guns!
Post Reply

Return to “Off-Topic”