Raised This Month: $ Target: $400
 0% 

underfoot sprite..


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
AngeIII
Senior Member
Join Date: Sep 2007
Location: Latvia
Old 07-23-2010 , 10:51   underfoot sprite..
Reply With Quote #1

How to place a sprite underfoot [ to the floor ]... I know ho to place to the wall , but how to place to the floor/ground?

and if it's real how to place this using messange_begin()....
AngeIII is offline
Send a message via Skype™ to AngeIII
AngeIII
Senior Member
Join Date: Sep 2007
Location: Latvia
Old 07-23-2010 , 12:45   Re: underfoot sprite..
Reply With Quote #2

something about this :
PHP Code:
stock Create_TE_SPRITE(position[3], iSpritescalealpha){

    
message_beginMSG_BROADCAST,SVC_TEMPENTITY 
    
write_byteTE_SPRITE 
    
write_coordposition[0] )        // position)
    
write_coordposition[1] ) 
    
write_coordposition[2] ) 
    
write_shortiSprite )            // sprite index
    
write_bytescale)                // scale in 0.1's
    
write_bytealpha )                // brightness
    
message_end() 

but how to change Angle... or put this in floor/ground..
AngeIII is offline
Send a message via Skype™ to AngeIII
joropito
AlliedModders Donor
Join Date: Mar 2009
Location: pfnAddToFullPack
Old 07-23-2010 , 16:04   Re: underfoot sprite..
Reply With Quote #3

As far as I know, TE_SPRITE uses texture or brush angles (not sure) so you can't change it.

You can spawn entities but for footsteps you can get full of entities, get lagged and get server crash.

I suggest to use TE_SPRITE using a simple symmetrical sprite (like a dot, ball, etc).
__________________

Divide et vinces
approved plugins | steam account

I don't accept PM for support. Just ask on forums.
If you're looking for private work, PM me.
joropito is offline
Send a message via MSN to joropito
AngeIII
Senior Member
Join Date: Sep 2007
Location: Latvia
Old 07-23-2010 , 16:30   Re: underfoot sprite..
Reply With Quote #4

oh.. I only want to create a skill [ custom mod.. ] who can stop player moving.[analog of war3ft elf's root ultimate] and underfoot place COBWEB sprite..


then only one variant - use create_entity?
Attached Files
File Type: zip cobweb_spr.zip (3.7 KB, 57 views)

Last edited by AngeIII; 07-24-2010 at 14:54.
AngeIII is offline
Send a message via Skype™ to AngeIII
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 00:17.


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