Forum posts

Posted 11 years ago2013-04-30 22:14:19 UTC
in Help with GoldSrc Engine Post #313401
finally managed to compile "correctly" DLLs.
But now the model does not appear
(I swear I do not know what I did, I'll try to see it later and create a tutorial, maybe)
User posted image
I want to take and ask: Anyone know invert the hand of a model with anims(left >> Right)? or create a cvar like "cl_righthand"?
Posted 11 years ago2013-04-30 16:18:14 UTC
in Help with GoldSrc Engine Post #313397
to compile, you need a compiler. it is not included.

You can use compilers like "Borland C++ Compiler" or "Microsoft Visual C++ 6"
Posted 11 years ago2013-04-30 13:43:05 UTC
in Help with GoldSrc Engine Post #313395
Posted 11 years ago2013-04-30 11:32:41 UTC
in Help with GoldSrc Engine Post #313393
I managed to compile the DLLs. But now, to get the gun, an error occurs and the game closes.
From what I saw, the munitions function normally.
User posted image
Posted 11 years ago2013-04-29 18:40:07 UTC
in Help with GoldSrc Engine Post #313388
From what I saw, the tutorial is for version 2.2 ... I'm using 2.3.
I did not actually try follow this tutorial in version 2.2

In my case, only works for mp.dll
Already in Client.dll am with the following error when compiling:

hl_weapons.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CM249::WeaponIdle(void)" (?WeaponIdle@CM249@@UAEXXZ)
hl_weapons.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CM249::Reload(void)" (?Reload@CM249@@UAEXXZ)
hl_weapons.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CM249::PrimaryAttack(void)" (?PrimaryAttack@CM249@@UAEXXZ)
hl_weapons.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall CM249::Deploy(void)" (?Deploy@CM249@@UAEHXZ)
hl_weapons.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall CM249::GetItemInfo(struct ItemInfo *)" (?GetItemInfo@CM249@@UAEHPAUItemInfo@@@Z)
hl_weapons.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall CM249::AddToPlayer(class CBasePlayer *)" (?AddToPlayer@CM249@@UAEHPAVCBasePlayer@@@Z)
hl_weapons.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CM249::Precache(void)" (?Precache@CM249@@UAEXXZ)
hl_weapons.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CM249::Spawn(void)" (?Spawn@CM249@@UAEXXZ)

In the case of FDG, I think I understood how to do.
Posted 11 years ago2013-04-29 14:08:48 UTC
in Help with GoldSrc Engine Post #313385
I tried again to copy an original weapon, I could not again...
Posted 11 years ago2013-04-29 09:52:42 UTC
in Help with GoldSrc Engine Post #313381
Well, at least the FGD, I did the right thing.

I will try to create a copy of an original gun again.
Thanks for the PM, I sent him.
Posted 11 years ago2013-04-28 22:21:01 UTC
in Help with GoldSrc Engine Post #313376
Hi,
I wonder if someone could teach me, or has a tutorial to create new weapons in GoldSrc Engine (v2.3)

I followed this tutorial http://web.archive.org/web/20070815212753/http://collective.valve-erc.com/index.php?doc=1026171711-73606300 , but don't work.

I tried to "copy" existing weapons without error when compiling. But in the game, closes himself when you get the gun.Also wanted to know how to add a weapon in the FGD to use in the Hammer Editor, because i had copied the original weapon, i copied the information in FGD default.

Thanks.