AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Weapon Bullet Shell (https://forums.alliedmods.net/showthread.php?t=185367)

tei1995 05-16-2012 10:12

Weapon Bullet Shell
 
How can i make the bullet shell for weapon?

i searched all forum, but i found nothing...plz help me :D

Liverwiz 05-16-2012 10:20

Re: Weapon Bullet Shell
 
is it not in the skin?

<VeCo> 05-16-2012 10:54

Re: Weapon Bullet Shell
 
This?

http://wiki.amxmodx.org/Half-Life_1_Game_Events#Brass

tei1995 05-17-2012 04:12

Re: Weapon Bullet Shell
 
Quote:

Originally Posted by <VeCo> (Post 1709963)

something like it :D

<VeCo> 05-17-2012 06:12

Re: Weapon Bullet Shell
 
That's the only way, I think, but I'm not really sure how the parameters should be to work properly (I haven't used it).

tei1995 05-17-2012 07:38

Re: Weapon Bullet Shell
 
...so can we create a bullet shell entity?

<VeCo> 05-17-2012 07:39

Re: Weapon Bullet Shell
 
Entity wouldn't be a good idea. For what exactly do you need this?

tei1995 05-17-2012 08:40

Re: Weapon Bullet Shell
 
I'm making a new weapon (remove anim, remove shoot, create bullet decal and add new sound).but
when the gun is shooting, the shell doesn't appear, unlike the default cs weapon...
So i want to create the shell for my weapon.

tei1995 05-18-2012 22:46

Re: Weapon Bullet Shell
 
How about using offset? I found 2 offset m_iShell 57 and m_iShell 78.

NiHiLaNTh 05-19-2012 05:10

Re: Weapon Bullet Shell
 
AFAIK you need to do some serious calculations.
Anyway I have Found some old code on my PC

Spoiler


All times are GMT -4. The time now is 00:23.

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