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

[Question]Sprites for W_model


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Depresie
Veteran Member
Join Date: Nov 2013
Old 03-07-2015 , 08:32   [Question]Sprites for W_model
Reply With Quote #1

I want to replace the world model of a gun with a sprite, but i encountered an issue, it displays the black background of the sprite too, is there any way to make the sprite background not show?
Depresie is offline
RateX
Veteran Member
Join Date: Jun 2012
Location: 0o. SEA .o0
Old 03-07-2015 , 08:34   Re: [Question]Sprites for W_model
Reply With Quote #2

Try setting it's render mode to kRenderTransAdd
__________________
Currently offline for study.
RateX is offline
ANTICHRISTUS
kingdom of weird stuff
Join Date: Jun 2010
Location: My kingdom is not in thi
Old 03-07-2015 , 10:12   Re: [Question]Sprites for W_model
Reply With Quote #3

Aout models you need check off the additive "square" in the "terxtures" tab. Try searching for something similar in the "sprite explorer" settings.
__________________
ANTICHRISTUS is offline
Depresie
Veteran Member
Join Date: Nov 2013
Old 03-08-2015 , 13:57   Re: [Question]Sprites for W_model
Reply With Quote #4

another question, i downloaded from gamebanana a bullet box model, and i made an rotating animation for it for the idle stance, but for some reason it doesn't rotate in game, even tho in jed's half life viewer it does, what could be the issue?
Attached Files
File Type: zip dna_uclip.zip (18.8 KB, 32 views)
Depresie is offline
Krtola
Veteran Member
Join Date: Oct 2013
Location: Serbia
Old 03-08-2015 , 15:50   Re: [Question]Sprites for W_model
Reply With Quote #5

Quote:
Originally Posted by Depresie View Post
another question, i downloaded from gamebanana a bullet box model, and i made an rotating animation for it for the idle stance, but for some reason it doesn't rotate in game, even tho in jed's half life viewer it does, what could be the issue?
Try to add in the code for world model:

play_weapon_animation(id, ANIM_IDLE)

Examples about weapon animation you can ease find in every extra weapon plugin.
Krtola is offline
Send a message via Skype™ to Krtola
Depresie
Veteran Member
Join Date: Nov 2013
Old 03-08-2015 , 21:34   Re: [Question]Sprites for W_model
Reply With Quote #6

i've never seen such thing in any extra item plugin o.O
and about play_weapon_animation(id, ANIM_IDLE), i found something about that in only one extra item, after i tried to follow the pattern from there, i get the following error
"play_weapon_animation" undefined symbol, i tried with all the includes the extra item had

Last edited by Depresie; 03-08-2015 at 21:38.
Depresie is offline
RateX
Veteran Member
Join Date: Jun 2012
Location: 0o. SEA .o0
Old 03-08-2015 , 23:50   Re: [Question]Sprites for W_model
Reply With Quote #7

It's a stock, but only for v_model.
__________________
Currently offline for study.
RateX is offline
Krtola
Veteran Member
Join Date: Oct 2013
Location: Serbia
Old 03-09-2015 , 04:52   Re: [Question]Sprites for W_model
Reply With Quote #8

Depresie show us full code
Krtola is offline
Send a message via Skype™ to Krtola
Depresie
Veteran Member
Join Date: Nov 2013
Old 03-09-2015 , 06:26   Re: [Question]Sprites for W_model
Reply With Quote #9

Quote:
Originally Posted by RateX View Post
It's a stock, but only for v_model.
well, the issue i have is for a w_model, doesn't it work for both?
also i didn't know it was a stock, i will look later into it and i will solve it somehow, thx for the tips

Last edited by Depresie; 03-09-2015 at 08:13.
Depresie 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 10:29.


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