The WIP Thread

If it's not ZDoom, it goes here.

Re: The WIP Thread

Postby StroggVorbis » Wed Feb 27, 2019 7:34 am

@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
StroggVorbis
Donut eat me pls!
 
Joined: 08 Nov 2017
Location: Germany
Discord: StroggVorbis#2466
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: The WIP Thread

Postby Dr_Cosmobyte » Wed Feb 27, 2019 9:46 am

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
Dr_Cosmobyte
Also known as: GAA1992
 
Joined: 05 Jun 2015
Location: Killing spiders.

Re: The WIP Thread

Postby wildweasel » Wed Feb 27, 2019 10:24 am

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
wildweasel
change o' pace.
Moderator Team Lead
 
Joined: 16 Jul 2003

Re: The WIP Thread

Postby MaxRideWizardLord » Wed Feb 27, 2019 3:57 pm

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
MaxRideWizardLord
 
Joined: 27 Jan 2016

Re: The WIP Thread

Postby Nash » Thu Feb 28, 2019 7:26 am



equippable bags. increases max encumbrance, in-world sprite will update to reflect it too
User avatar
Nash
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Github ID: nashmuhandes

Re: The WIP Thread

Postby Lex Safonov » Thu Feb 28, 2019 8:53 am

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
Lex Safonov
 
Joined: 29 Apr 2014
Location: Russian Federation

Re: The WIP Thread

Postby TDRR » Thu Feb 28, 2019 1:22 pm

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





pls releas this
User avatar
TDRR
A living work in progress
 
Joined: 11 Mar 2018
Location: Venezuela
Discord: TDRR#5820
Operating System: Windows Vista/7/2008 64-bit
Graphics Processor: Intel (Modern GZDoom)

Re: The WIP Thread

Postby Seidolon » Thu Feb 28, 2019 7:43 pm

Made an ACS function to draw a line of actors between two things:
Code: Select allExpand view
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 allExpand view
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;
}
Seidolon
 
Joined: 10 Oct 2013

Re: The WIP Thread

Postby Nash » Fri Mar 01, 2019 10:29 am



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 allExpand view

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
Nash
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Github ID: nashmuhandes

Re: The WIP Thread

Postby Marisa Kirisame » Sun Mar 03, 2019 5:25 am

I think Bethesda's games are influencing you way too much judging from all this terminology. :P
User avatar
Marisa Kirisame
ZScript Crimester
 
 
 
Joined: 08 Feb 2008
Location: Vigo, Galicia
Discord: 霧雨魔理沙#1666
Twitch ID: magusmarisa
Github ID: OrdinaryMagician
Operating System: Other Linux 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: The WIP Thread

Postby SamVision » Mon Mar 04, 2019 12:37 am

What you making there Nash?
User avatar
SamVision
 
Joined: 13 Apr 2010
Location: Behind You

Re: The WIP Thread

Postby Captain J » Mon Mar 04, 2019 3:19 am

So the Enchantment can be added by any kind of affection like eating and get poisoned? Looks interesting if you ask me!
User avatar
Captain J
That's Amoreee
 
 
 
Joined: 02 Oct 2012
Location: A Year old Pizza Box
Discord: DiscussJ#3128

Re: The WIP Thread

Postby Nash » Sat Mar 09, 2019 8:09 am



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
Nash
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Github ID: nashmuhandes

Re: The WIP Thread

Postby InsanityBringer » Sat Mar 09, 2019 12:50 pm

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.
User avatar
InsanityBringer
 
Joined: 05 Jul 2007
Location: opening the forbidden box
Discord: InsanityBringer#9908

Re: The WIP Thread

Postby Gez » Sat Mar 09, 2019 1:00 pm

Nash wrote:A poor man's Fallout New Vegas I suppose. =P


Daggerfall with guns!
Gez
 
 
 
Joined: 06 Jul 2007

PreviousNext

Return to Off-Topic

Who is online

Users browsing this forum: No registered users and 0 guests