Raised This Month: $ Target: $400
 0% 

sprite


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
tintinibar
Member
Join Date: Dec 2004
Location: WI
Old 04-14-2009 , 21:48   sprite
Reply With Quote #1

I tried this on the other side but forgot you need to look at the spot where you create ent's.

This is what I am looking for:

make a fireball sprite from attacker to victim: use a radius size to detect all enemies in it.

Then what I am looking for is a script in to take a vector from attacker to victim, split it up into let's say 5 sets of coordinates between them and create the sprites/xfireball3.vmt and remove it each time to create the effect of the fire ball going towards the enemy.

1. Get the vectorstring from attacker to victim(s).
2. Raise the z +45 on both so it is at about middle of each player
3. Divide it into 7 equal sections from Va to Vb?
4. Make coordinates out of 2,3,4,5, and 6.
5. create the fireball sprite at coord 2.
6. remove that fireball.
7. create the fireball at coord 3.
8. remove it.
etc.

If more than one enemy is within the radius then so be it.

sm_spritetrail spritefilelocation,userid, radius of attack, damage
tintinibar 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 03:46.


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