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

Detect Scope and Modeling question


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 01-28-2015 , 18:57   Detect Scope and Modeling question
Reply With Quote #1

Hello.
I found really cool skins but they came with some problems.
First, the size. When i use scope, i can see sniper models.
About this problem, i am stuck. I have hooked secondary attack, reload and deploy with ham. In secondary attack i remove the weapon model. On the others 2 i set model back in case of had used zoom. Everything is ok except 2 things:
- Since i remove the model, it doesn't play shooting sounds. Is there a better way to fix than emit a new sound?
- When i shoot with AWP/Scout, the scope disapears, but no model. I can fix this easily by hooking primary attack. But there is always a but. The scope automatickly comes up after X time. So, is there any way to know when the Scope comes up? Would Ham_Weapon_IsUsable help me?

Then i have another problem, but this is more off-topic, but since its about the same models, i will just ask here. Can someone tell me how to put left hand to right hand in the models? Because models by default are in the left hand when my configuration is for the right hand. I could fix this easily with *snip* but i dont want to do things to my clients that i wouldn't like someone else to do with me
__________________
Jhob94 is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 01-28-2015 , 19:37   Re: Detect Scope and Modeling question
Reply With Quote #2

Quote:
Originally Posted by Jhob94 View Post
Then i have another problem, but this is more off-topic, but since its about the same models, i will just ask here. Can someone tell me how to put left hand to right hand in the models? Because models by default are in the left hand when my configuration is for the right hand. I could fix this easily with *snip* but i dont want to do things to my clients that i wouldn't like someone else to do with me
IIRC you can use gflip, read this. It's included in the download, along with a few other tools.
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.

Last edited by wickedd; 01-28-2015 at 19:37.
wickedd is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 01-29-2015 , 13:17   Re: Detect Scope and Modeling question
Reply With Quote #3

Quote:
Originally Posted by wickedd View Post
IIRC you can use gflip, read this. It's included in the download, along with a few other tools.
Thanks, will look into it tonight.
Anyway i tried to use yesterday isusable as post but it isnt enough, called to soon.
If i hook weapon animation as post, will it call when the weapon animation ends or before it ends?
Also, i rarely used emit_sound function. Never needed it. Can someone tell me how to do it to be exactly like awp emits by itself?
__________________
Jhob94 is offline
RateX
Veteran Member
Join Date: Jun 2012
Location: 0o. SEA .o0
Old 01-29-2015 , 22:36   Re: Detect Scope and Modeling question
Reply With Quote #4

If you are talking about Ham_Weapon_SendWeaponAnim, generally it will call when the weapon animation ends. Note that this forward won't be called for shoot animations.

For emit_sound, just emit it in CHAN_WEAPON channel. Others value like pitch, vol... can be found in one of Arkshine's posts. Just search for it.
RateX is offline
Reply



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 11:57.


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