[SOLVED] Change entity angle and origin - backweapon
I'm trying to find a solution for the plugin back weapons by cheap_suit to not use custom models and use w_ models, so far i can't get nothing. I tried changing the origin with entity_set_origin but dunno what is wrong.
Code:
if(g_bwEnt[id] < 1) |
Re: Change entity angle and origin - backweapon
Another question, how do i make a model invisible using fakemeta, so far on engine i used set_entity_visibility.
EDIT: After trying a little more things with fakemeta, i think that's not possible to change the angles using the current method for the model follow the player. It must be something with amxx or the hl1 engine that doens't let you add angles to the info_target model. Their angles just follow the player angles, and if you think in using another method, i'm pretty sure it will lag a lot. |
Re: Change entity angle and origin - backweapon
Quote:
heres a stock i use that is from VEN's fakemeta_util Code:
stock fm_set_entity_visibility(index, visible = 1) //from fakemeta_util |
Re: Change entity angle and origin - backweapon
Thx diamond-optic, i followed what you said and found out that using pev_effects have solved my problem. From back weapons by cheap_suit:
Code:
if(equal(modelName, "models/pshell.mdl"))Don't know if there's another way, because getting the player origin and angles to use with another entitie doesn't do the same effect. Even if you set a task to the minimum time. |
Re: [SOLVED] Change entity angle and origin - backweapon
i tried to do the same thing when he released that..
i wanted to use it for dod but also didnt want to have a whole lot of models to download (plus that would put me well over the precache limit) but it seems i ran into the same problems you are :-) so i gave up and moved on lol |
Re: [SOLVED] Change entity angle and origin - backweapon
Just a question I ask :
The backpack w_ model : [IMG]http://img218.**************/img218/4650/backpacksd7.th.jpg[/IMG] Look at the ground position (the backpack is on the ground) but in the game it can be in the back of terrorist and on the ground. Can't the origin or I don't know what can't be used with that ? |
Re: [SOLVED] Change entity angle and origin - backweapon
No, it's controlled by the body pev. It's hardcoded into the T-models.
|
Re: [SOLVED] Change entity angle and origin - backweapon
Oh I see ! :'( too bad for now...
|
Re: [SOLVED] Change entity angle and origin - backweapon
What was the plugin or how was it resolved?
|
Re: [SOLVED] Change entity angle and origin - backweapon
Quote:
As it seems the author of the thread didnt really bother to post the solution but here is a side solution https://forums.alliedmods.net/showpo...7&postcount=10 |
| All times are GMT -4. The time now is 04:53. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.