[Help] Rotate .spr model
Hi, i'm trying to make something like throwing a thunder bolt using .spr as animate model. But how can i rotate the spr so it can lay down 90 degree. As you can see in the image the spr is stand up LOL.
Thank you.
image
sma
|
Re: [Help] Rotate .spr model
Check the war3ft mod's code and look for thunder ultimate.
|
Re: [Help] Rotate .spr model
Quote:
|
Re: [Help] Rotate .spr model
Personally I would suggest to use Beam Entitites.
Simply create a beam with Beam_Create(const szSpriteName[], const Float: flWidth) Set start and end origin with Beam_PointsInit(const iBeamEntity, const Float: flVecStart[3], const Float: flVecEnd[3]) And you can detect touch and everything to it. That's how I did it on my "Tron Legacy' project. Grtz, Xalus |
Re: [Help] Rotate .spr model
Why do you want to use server sided entities anyway?
|
Re: [Help] Rotate .spr model
Quote:
you'll see he wants to detect players touching the beam. |
Re: [Help] Rotate .spr model
Afaik the beam entities stock is bugged in that regard. I remember testing it a few years ago.
|
Re: [Help] Rotate .spr model
Quote:
-EDIT- If you are going to make not-straight lines you'll need to play with https://forums.alliedmods.net/showth...ht=beam&page=4 use touch check and the function Emp' made. |
Re: [Help] Rotate .spr model
Quote:
https://forums.alliedmods.net/image-...37363439353837 How does TE_LIGHTNING work?! https://forums.alliedmods.net/showpo...8&postcount=14 Use entity_get_vector to have it hold the whatever like aim. |
Re: [Help] Rotate .spr model
Quote:
Quote:
Quote:
|
All times are GMT -4. The time now is 15:01. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.