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

[INC] Message Stocks


Post New Thread Reply   
 
Thread Tools Display Modes
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 05-24-2020 , 10:15   Re: [INC] Message Stocks
Reply With Quote #31

What is your question exactly?
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
abdobiskra
Veteran Member
Join Date: Jul 2014
Location: Algeria
Old 05-24-2020 , 13:17   Re: [INC] Message Stocks
Reply With Quote #32

The question in the previous reply was just the opposite. I was just wondering if I could use the available sprite without having to make one in the rainbow colors ... by using the flags that distribute the start points of the beams to the parts of the player's body that would be better If there one of the magical ways. (I don't think it will be done because in HL there are only 3 attachments in bone of player model. I'll try to make a sprite, but I'm afraid of the results
__________________
abdobiskra is offline
Send a message via Skype™ to abdobiskra
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 05-24-2020 , 14:00   Re: [INC] Message Stocks
Reply With Quote #33

Quote:
Originally Posted by abdobiskra View Post
The question in the previous reply was just the opposite. I was just wondering if I could use the available sprite without having to make one in the rainbow colors ... by using the flags that distribute the start points of the beams to the parts of the player's body that would be better If there one of the magical ways. (I don't think it will be done because in HL there are only 3 attachments in bone of player model. I'll try to make a sprite, but I'm afraid of the results
Making a sprite is much easier. You can even do it in Paint. You just need a .spr converter to convert the bitmap image to a .spr file.

https://gamebanana.com/tools/5458
https://gamebanana.com/tools/cats/379
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
abdobiskra
Veteran Member
Join Date: Jul 2014
Location: Algeria
Old 05-24-2020 , 16:28   Re: [INC] Message Stocks
Reply With Quote #34

Well, I got the colors, but the result, as I expected, to display these colors is transverse and not longitudinal, as in the photo, the size of the player's length.
This makes me always ask what is the secret!
I do not want to open a long discussion outside of the topic on the whole Thank you
__________________
abdobiskra is offline
Send a message via Skype™ to abdobiskra
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 05-24-2020 , 17:10   Re: [INC] Message Stocks
Reply With Quote #35

Then rotate the sprite?
Show an image of the results and your code.
__________________

Last edited by OciXCrom; 05-24-2020 at 17:10.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
abdobiskra
Veteran Member
Join Date: Jul 2014
Location: Algeria
Old 05-25-2020 , 04:01   Re: [INC] Message Stocks
Reply With Quote #36

Quote:
Originally Posted by OciXCrom View Post
Then rotate the sprite?
Yes, I do.
Quote:
Originally Posted by OciXCrom View Post
Show an image of the results and your code.
Results:
https://imgur.com/a/n8S56Ix
My code:
PHP Code:
#include <amxmodx>

new trail

public plugin_init()
    
register_clcmd("say on""trail_user")

public 
plugin_precache()
    
trail precache_model("sprites/rainbow7.spr")

public 
trail_user(id)
{
    
message_begin(MSG_BROADCAST,SVC_TEMPENTITY)
    
write_byte(TE_BEAMFOLLOW)  
    
write_short(id)
    
write_short(trail)
    
write_byte(20)
    
write_byte(15)
    
write_byte(255)
    
write_byte(255)
    
write_byte(255)
    
write_byte(255)
    
message_end()

This is what I want:
https://imgur.com/a/961NABF
It's like TE_BEAMCYLINDER in the form of a straight line.
here my sprite too:
Attached Files
File Type: zip rainbow7.zip (856 Bytes, 67 views)
__________________

Last edited by abdobiskra; 05-25-2020 at 04:48. Reason: added video.
abdobiskra is offline
Send a message via Skype™ to abdobiskra
rtxa
Senior Member
Join Date: Mar 2018
Location: Argentina
Old 06-27-2020 , 19:13   Re: [INC] Message Stocks
Reply With Quote #37

I don't like the fact that everything is using write_coord. I think it should use Float by default and converted later or add Float tag, so this way we don't loss precision when is needed. Also it can be added the use of emessage_* natives so plugins can hooks these messages too.
__________________
rtxa is offline
condoriano90
Member
Join Date: May 2020
Old 06-28-2020 , 17:50   Re: [INC] Message Stocks
Reply With Quote #38

Quote:
Originally Posted by abdobiskra View Post
Yes, I do.

Results:
https://imgur.com/a/n8S56Ix
My code:
PHP Code:
#include <amxmodx>

new trail

public plugin_init()
    
register_clcmd("say on""trail_user")

public 
plugin_precache()
    
trail precache_model("sprites/rainbow7.spr")

public 
trail_user(id)
{
    
message_begin(MSG_BROADCAST,SVC_TEMPENTITY)
    
write_byte(TE_BEAMFOLLOW)  
    
write_short(id)
    
write_short(trail)
    
write_byte(20)
    
write_byte(15)
    
write_byte(255)
    
write_byte(255)
    
write_byte(255)
    
write_byte(255)
    
message_end()

This is what I want:
https://imgur.com/a/961NABF
It's like TE_BEAMCYLINDER in the form of a straight line.
here my sprite too:
How did you manage to glow the v_ model? Are you using a custom hl.dll?
condoriano90 is offline
Celena Luna
Veteran Member
Join Date: Aug 2013
Location: Nagazora
Old 06-29-2020 , 04:32   Re: [INC] Message Stocks
Reply With Quote #39

Quote:
Originally Posted by condoriano90 View Post
How did you manage to glow the v_ model? Are you using a custom hl.dll?
Just make the Model's Texture Additive, you can do it with Jed's HLMV.
__________________
My plugin:
Celena Luna is offline
condoriano90
Member
Join Date: May 2020
Old 06-29-2020 , 10:37   Re: [INC] Message Stocks
Reply With Quote #40

Quote:
Originally Posted by Celena Luna View Post
Just make the Model's Texture Additive, you can do it with Jed's HLMV.
What about other glow fx like glowshell for example?
condoriano90 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 12:11.


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