New features (last update 8.8.2005)

Moderator: GZDoom Developers

User avatar
Grubber
Posts: 1031
Joined: Wed Oct 15, 2003 12:19 am
Location: Czech Republic
Contact:

Post by Grubber »

@Anakin: I haven't included any fixes (where to get 'em?)

@Graf: This is a problem :?
User avatar
Nmn
Posts: 4629
Joined: Fri Apr 16, 2004 1:41 pm
Preferred Pronouns: He/Him
Contact:

Post by Nmn »

ahem...
Spoiler:
User avatar
Anakin S.
Posts: 1067
Joined: Fri Nov 28, 2003 9:39 pm
Location: A long time ago in a galaxy far, far away...

Post by Anakin S. »

Grubber wrote:@Anakin: I haven't included any fixes (where to get 'em?)

@Graf: This is a problem :?
The first post of the Christmas present thread has the directions. A_TakeInventory is right there in code tags, and while the weapons offset thing is a little more complicated, Graf tells you how to do it in that post.
Graf Zahl wrote: EDIT (1/13/2005):

I fixed the weapon offset bug that was mentioned in the thread several times. Everybody who wants to compile the source should note that the fix was in p_pspr.cpp so you have to apply the .diff to the original .96 source again!

EDIT (3/21/05): Ok, I'm just too lazy to upload everything again. There's a bug in A_TakeInventory which renders the function useless. Here's the fix:

Code: Select all

void A_TakeInventory(AActor * self)
{
	int index=CheckIndex(2);
	if (index<0) return;

	const char * item =(const char*)StateParameters[index];
	int amount=StateParameters[index+1];

	const TypeInfo * mi=TypeInfo::FindType(item);
	if (mi) 
	{
		AInventory * inv = self->FindInventory(mi);

		if (inv && !inv->IsKindOf(RUNTIME_CLASS(AHexenArmor)))
		{
			if (!amount || amount>=inv->Amount) 
			{
				if (inv->IsKindOf(RUNTIME_CLASS(AAmmo))) inv->Amount=0;
				else inv->Destroy();
			}
			else inv->Amount-=amount;
		}
	}
}	
User avatar
Kirby
Posts: 2697
Joined: Thu Aug 26, 2004 1:23 pm

Post by Kirby »

Nmn wrote:ahem...
Spoiler:
:rock: :rock:


:D
User avatar
Nmn
Posts: 4629
Joined: Fri Apr 16, 2004 1:41 pm
Preferred Pronouns: He/Him
Contact:

Post by Nmn »

I need more cultists to worship Grubber. ;)
User avatar
BouncyTEM
Posts: 3820
Joined: Sun Aug 24, 2003 5:42 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: 2280 Lol Street: The Calamitous Carnival (formerly Senators Prison)

Post by BouncyTEM »

Kirby wrote:
Nmn wrote:ahem...
Spoiler:
:rock: :rock:


:D
Nmn wrote:I need more cultists to worship Grubber. ;)
:rock: :rock: :rock: you got more cultists.

:rock: :rock: :rock:
User avatar
Your Name Is
Posts: 802
Joined: Sun Oct 31, 2004 5:06 pm
Location: Raleigh, NC
Contact:

Post by Your Name Is »

And more. PRAISE TO GRUBBER!

:rock: :rock: :rock: :rock: :rock: :rock: :rock: :rock: :rock: :rock: :rock:

BTW, bouncy, did you really get a prank call.
User avatar
SyntherAugustus
Posts: 970
Joined: Tue Jul 15, 2003 5:43 pm

Post by SyntherAugustus »

yay this is awesome.
User avatar
Grubber
Posts: 1031
Joined: Wed Oct 15, 2003 12:19 am
Location: Czech Republic
Contact:

Post by Grubber »

Oh my...
User avatar
BouncyTEM
Posts: 3820
Joined: Sun Aug 24, 2003 5:42 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: 2280 Lol Street: The Calamitous Carnival (formerly Senators Prison)

Post by BouncyTEM »

Your Name Is wrote: BTW, bouncy, did you really get a prank call.
yes, i did. :?
scared the frikkin crap out of me.
User avatar
Anakin S.
Posts: 1067
Joined: Fri Nov 28, 2003 9:39 pm
Location: A long time ago in a galaxy far, far away...

Post by Anakin S. »

I found another issue with Grubber's exe. For some reason, some of my weapons behave strangely when selecting and deselecting. This doesn't happen with every weapon. Another weapon in the same mod and all the weapons from another mod worked fine with selecting and deselecting. When selecting, the weapon instantly appears. When I try to deselect, the weapon doesn't go away and I can't fire the weapon any more either. The same weapon worked fine with Chilvence's exe, for some reason. I don't know what the problem might be.
User avatar
jallamann
Posts: 2271
Joined: Mon May 24, 2004 8:25 am
Location: Ålesund, Norway
Contact:

Post by jallamann »

[insert generic worship nonsense here] :rock:
User avatar
Grubber
Posts: 1031
Joined: Wed Oct 15, 2003 12:19 am
Location: Czech Republic
Contact:

Post by Grubber »

@Anakin: the exe only shows new camera texture features, please don't use it for anything else ;) (or can I make better exe?)
User avatar
Anakin S.
Posts: 1067
Joined: Fri Nov 28, 2003 9:39 pm
Location: A long time ago in a galaxy far, far away...

Post by Anakin S. »

You said that you put in decorate weapons, so I was using it for that too. That's what I referred to in my previous posts. Thank you for compiling this .exe. Were you able to include those fixes I mentioned?
User avatar
TheDarkArchon
Posts: 7656
Joined: Sat Aug 07, 2004 5:14 am
Location: Some cold place

Post by TheDarkArchon »

Nmn wrote:I need more cultists to worship Grubber. ;)
He sent me a GMail invite so for that

PRAISE DA PROGRAMMER

:rock::rock::rock::rock::rock::rock::rock::rock::rock::rock::rock::rock::rock::rock::rock::rock::rock::rock::rock::rock::rock::rock::rock::rock::rock::rock::rock::rock::rock::rock::rock:
Locked

Return to “Closed Feature Suggestions [GZDoom]”