Raised This Month: $32 Target: $400
 8% 

HHow to create the effect of "the trail of tracer bullets"?


Post New Thread Reply   
 
Thread Tools Display Modes
andi67
Veteran Member
Join Date: Mar 2007
Location: Somewhere near you!!!
Old 12-05-2017 , 10:18   Re: HHow to create the effect of "the trail of tracer bullets"?
Reply With Quote #11

You used VTFEdit or which program ?
__________________
Waiting for HL3,Day of Defeat3 ,but will it ever come? So I'm gonna play COD WW2.>>>>SM_SKINCHOOSER<<<<
>>You need Models for DODS/CSS/CSGO , than click here!!!<<
andi67 is offline
tonline_kms65
Member
Join Date: Aug 2016
Location: Ru. Komsomol-on-Amur
Old 12-05-2017 , 15:06   Re: HHow to create the effect of "the trail of tracer bullets"?
Reply With Quote #12

Quote:
Originally Posted by andi67 View Post
You used VTFEdit or which program ?
Created a texture in Photoshop. For animation VTFEdit.
The animation consisted of 3 frames - 1 start, 2 middle and 3 end.

Last edited by tonline_kms65; 12-05-2017 at 15:10.
tonline_kms65 is offline
andi67
Veteran Member
Join Date: Mar 2007
Location: Somewhere near you!!!
Old 12-05-2017 , 22:09   Re: HHow to create the effect of "the trail of tracer bullets"?
Reply With Quote #13

If you have imported your files into VTFEdit you can see the animation playing in VTFEdit(by pressing the Play-button) ?
__________________
Waiting for HL3,Day of Defeat3 ,but will it ever come? So I'm gonna play COD WW2.>>>>SM_SKINCHOOSER<<<<
>>You need Models for DODS/CSS/CSGO , than click here!!!<<
andi67 is offline
tonline_kms65
Member
Join Date: Aug 2016
Location: Ru. Komsomol-on-Amur
Old 12-05-2017 , 22:30   Re: HHow to create the effect of "the trail of tracer bullets"?
Reply With Quote #14

Quote:
Originally Posted by andi67 View Post
If you have imported your files into VTFEdit you can see the animation playing in VTFEdit(by pressing the Play-button) ?
Naturally.
tonline_kms65 is offline
backwards
AlliedModders Donor
Join Date: Feb 2014
Location: USA
Old 12-06-2017 , 00:01   Re: HHow to create the effect of "the trail of tracer bullets"?
Reply With Quote #15

Quote:
Originally Posted by andi67 View Post
If you have imported your files into VTFEdit you can see the animation playing in VTFEdit(by pressing the Play-button) ?
Lmao I think you're missing something here, he's not asking for help with animated textures.. he has already figured out his issue and made a model to use as the visuals instead.

Quote:
Originally Posted by tonline_kms65 View Post
Here's an example of my animated texture (shear and frame-by-frame animation).
The result was not pleasant to me, I refused that option.

Video
In this video it looks like the terrorists model is only red when you are using the camera/drone. How did you make the netprop for entity color only different for a single person? I'm assuming all other players see them as normal colors unless they are using the camera. Not sure how you did that without a really advanced sendproxy manager allowing different netprops values per player per entity
__________________
I highly recommend joining the SourceMod Discord Server for real time support.
backwards is offline
tonline_kms65
Member
Join Date: Aug 2016
Location: Ru. Komsomol-on-Amur
Old 12-06-2017 , 09:48   Re: HHow to create the effect of "the trail of tracer bullets"?
Reply With Quote #16

Quote:
Originally Posted by 1337norway View Post
In this video it looks like the terrorists model is only red when you are using the camera/drone. How did you make the netprop for entity color only different for a single person? I'm assuming all other players see them as normal colors unless they are using the camera. Not sure how you did that without a really advanced sendproxy manager allowing different netprops values per player per entity
If I understand correctly the question about the target (enemy)?
The player is the same ENT as everything has physical properties. So:

Set locked on the enemy color (understands only values of type string):
Code:
if(dron_team == TEAM_CT){
SetVariantString("255+10+10");                          
AcceptEntityInput(victim, "color", -1, -1, 0);          
} else if(dron_team == TEAM_T){
SetVariantString("10+10+255");                         
AcceptEntityInput(victim, "color", -1, -1, 0);
}
I used the plugin "Drone". In the plugin "RCDroneHeli" I refused, left my sprite of the target.
Attached Images
File Type: jpg aim.jpg (76.1 KB, 98 views)

Last edited by tonline_kms65; 12-06-2017 at 10:02.
tonline_kms65 is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 12-06-2017 , 09:56   Re: HHow to create the effect of "the trail of tracer bullets"?
Reply With Quote #17

Quote:
Originally Posted by tonline_kms65 View Post
If I understand correctly the question about the target (enemy)?
The player is the same ENT as everything has physical properties. So:

Set locked on the enemy color (understands only values of type string):
Code:
if(dron_team == TEAM_CT){
SetVariantString("255+10+10");                          
AcceptEntityInput(victim, "color", -1, -1, 0);          
} else if(dron_team == TEAM_T){
SetVariantString("10+10+255");                         
AcceptEntityInput(victim, "color", -1, -1, 0);
}
why not just use SetEntityRenderColor...
Mitchell is offline
tonline_kms65
Member
Join Date: Aug 2016
Location: Ru. Komsomol-on-Amur
Old 12-06-2017 , 10:09   Re: HHow to create the effect of "the trail of tracer bullets"?
Reply With Quote #18

Quote:
Originally Posted by Mitchell View Post
why not just use SetEntityRenderColor...
SetEntityRenderColor - offset?

AcceptEntityInput - The properties of the model, think it's reliable. (Hammer)
tonline_kms65 is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 12-06-2017 , 10:12   Re: HHow to create the effect of "the trail of tracer bullets"?
Reply With Quote #19

Quote:
Originally Posted by tonline_kms65 View Post
SetEntityRenderColor - offset?

AcceptEntityInput - The properties of the model, think it's reliable. (Hammer)
SetEntityRenderColor is not an offset, it's a netprop, which is also set by the entity input, so wouldn't that make using AcceptEntityInput less reliable then just setting the netprop?
Mitchell is offline
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 12-06-2017 , 10:54   Re: HHow to create the effect of "the trail of tracer bullets"?
Reply With Quote #20

you didn't use env_gunfire?

https://forums.alliedmods.net/showthread.php?t=288850
__________________
8guawong 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 18:03.


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