AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Reload as a normal gun (https://forums.alliedmods.net/showthread.php?t=132689)

meTaLiCroSS 07-17-2010 20:11

Reload as a normal gun
 
It is possible to change the XM1014 reload "method" (or how f*ck it is called) into a normal gun reload?, don't worry about animations, i've an edited model, so.

If someone does not understand me, it is simple.

Instead of be reloading by 1 bullet, reload as a simple rifle.

Sorry for my bad english, it is something hard to understand.

I was watching wpn_xm1014.cpp from CS-SDK, i think it can be possible, maybe.

wrecked_ 07-17-2010 20:31

Re: Reload as a normal gun
 
If someone made the animation it'd be possible to block the original reload, play the animation, and reload their ammo at the end of the animation.

meTaLiCroSS 07-17-2010 20:39

Re: Reload as a normal gun
 
Quote:

Originally Posted by wrecked_ (Post 1242861)
If someone made the animation it'd be possible to block the original reload, play the animation, and reload their ammo at the end of the animation.

Yeah, i know, but instead of that i want to change weapon max clip, so it is something hard to think...

Arkshine 07-18-2010 04:12

Re: Reload as a normal gun
 
I don't understand much what you want to do, but since you have an edited model, it's just a matter to hook SendWeaponAnim() and using your animation.

meTaLiCroSS 07-18-2010 12:21

Re: Reload as a normal gun
 
Quote:

Originally Posted by Arkshine (Post 1243112)
I don't understand much what you want to do, but since you have an edited model, it's just a matter to hook SendWeaponAnim() and using your animation.

I'll do it simple: You have your XM1014, you start reloading the weapon and it won't reload as a shotgun, it will reload as a normal rifle (like a AK-47), clip out, clip in, boltpull. And ready, gun reloaded.

Arkshine 07-18-2010 13:35

Re: Reload as a normal gun
 
Ok, I understand now. Just block the Reload function and do like the others weapons. You have the source, it should be easy for you to do it now. Or there is something you don't understand ?

PattyBiena 07-18-2010 13:38

Re: Reload as a normal gun
 
[Google Translator]
What you want is for the afternoon to recharge XM1014 but instead of reloading one bullet and reload all the bullets loaded


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

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