Raised This Month: $12 Target: $400
 3% 

Module: Half-Life Weapon Mod (v0.8)


Post New Thread Reply   
 
Thread Tools Display Modes
GordonFreeman (RU)
Veteran Member
Join Date: Jan 2010
Location: Uzbekistan
Old 04-23-2012 , 10:35   Re: Module: Half-Life Weapon Mod (v0.4)
Reply With Quote #11

Ask him
__________________
The functional way is the right way
GordonFreeman (RU) is offline
KORD_12.7
Senior Member
Join Date: Aug 2009
Location: Russia, Vladivostok
Old 04-23-2012 , 18:56   Re: Module: Half-Life Weapon Mod (v0.4)
Reply With Quote #12

Yep, i am too lazy to post my own module
__________________

Vi Veri Veniversum Vivus Vici
Russian Half-Life and Adrenaline Gamer community
KORD_12.7 is offline
Send a message via ICQ to KORD_12.7
kiki33hun
Veteran Member
Join Date: Jul 2011
Location: Magyarország
Old 04-25-2012 , 08:05   Re: Module: Half-Life Weapon Mod (v0.4)
Reply With Quote #13

Good module, thanx!
__________________
kiki33hun is offline
NiHiLaNTh
Way Past Expiration
Join Date: May 2009
Location: Latvia
Old 04-26-2012 , 04:58   Re: Module: Half-Life Weapon Mod (v0.4)
Reply With Quote #14

I'd like to suggest to add:

Spoiler
__________________


Last edited by NiHiLaNTh; 04-26-2012 at 04:58.
NiHiLaNTh is offline
Send a message via Skype™ to NiHiLaNTh
GordonFreeman (RU)
Veteran Member
Join Date: Jan 2010
Location: Uzbekistan
Old 05-04-2012 , 08:05   Re: Module: Half-Life Weapon Mod (v0.5)
Reply With Quote #15

Updated
__________________
The functional way is the right way
GordonFreeman (RU) is offline
yokomo
Surprise Ascot!
Join Date: May 2010
Location: Malaysia
Old 05-09-2012 , 08:34   Re: Module: Half-Life Weapon Mod (v0.3 Beta)
Reply With Quote #16

Quote:
Originally Posted by KORD_12.7 View Post
For CS? Nope.
Arrr you should convert this for CS too. The are no WeaponMod for CS.
__________________
Team-MMG CS1.6 Servers:
✅ MultiMod -- 103.179.44.152:27016
✅ Zombie Plague -- 103.179.44.152:27015
✅ Zombie Escape -- 103.179.44.152:27017
✅ Klassik Kombat -- 103.179.44.152:27018
✅ Boss-Battle -- 103.179.44.152:27019
yokomo is offline
KORD_12.7
Senior Member
Join Date: Aug 2009
Location: Russia, Vladivostok
Old 05-09-2012 , 09:04   Re: Module: Half-Life Weapon Mod (v0.5)
Reply With Quote #17

Technically impossible to add new weapons to CS with AMXX. In CS we can only edit existed weapons.
__________________

Vi Veri Veniversum Vivus Vici
Russian Half-Life and Adrenaline Gamer community
KORD_12.7 is offline
Send a message via ICQ to KORD_12.7
NiHiLaNTh
Way Past Expiration
Join Date: May 2009
Location: Latvia
Old 05-09-2012 , 09:24   Re: Module: Half-Life Weapon Mod (v0.5)
Reply With Quote #18

Quote:
Originally Posted by KORD_12.7 View Post
Technically impossible to add new weapons to CS with AMXX. In CS we can only edit existed weapons.
agree, though there are thing called Class Creator under Rage module.

Edit. Does this module suppots give_item? I tried to use it: give_item(id, "weapon_rg6") and it said unable to create item.
__________________


Last edited by NiHiLaNTh; 05-09-2012 at 09:25.
NiHiLaNTh is offline
Send a message via Skype™ to NiHiLaNTh
GordonFreeman (RU)
Veteran Member
Join Date: Jan 2010
Location: Uzbekistan
Old 05-09-2012 , 09:41   Re: Module: Half-Life Weapon Mod (v0.5)
Reply With Quote #19

NiHiLaNTh,
Code:
stock wpnmod_give_item(const iPlayer, const szItem[]) {      new Float: vecOrigin[3];      pev(iPlayer, pev_origin, vecOrigin);            new iItem = wpnmod_create_item(szItem, vecOrigin);            if (pev_valid(iItem))      {           set_pev(iItem, pev_spawnflags, pev(iItem, pev_spawnflags) | SF_NORESPAWN);           dllfunc(DLLFunc_Touch, iItem, iPlayer);                     return iItem;      }            return -1; }
__________________
The functional way is the right way
GordonFreeman (RU) is offline
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 05-10-2012 , 15:55   Re: Module: Half-Life Weapon Mod (v0.5)
Reply With Quote #20

Quote:
Originally Posted by KORD_12.7 View Post
Technically impossible to add new weapons to CS with AMXX. In CS we can only edit existed weapons.
It's not impossible with hacking. When you do like
PHP Code:
create_entity("weapon_awp"
hl searches in the dll of your game for a function with the name "weapon_awp". That function is responsible to create a C++ object that is child of CBaseEntity. If you check the thing Nilhant refered in the post above or the weapon that Arkshine created with Rage you can see that you can do the following: hook the function that create entities, and when they got a specific string that you want like "weapon_stuff" you can provide an object you create yourself. Basically you override the behaviour of creating entity with hooks and it is kind of natural apart for having to add a hook. This applies to any mod.

You can see here http://forums.alliedmods.net/showpos...9&postcount=82
A plugin with module that actualy does this and lets you do
PHP Code:
give_item(id,"weapon_boomerang"
joaquimandrade is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:45.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode