Quote:
|
Originally Posted by GHW_Chronic
A. why did you have to create 2 entities for the camera? Just set the takedamage flag for the info_target
B. You should really change all of the engine stuff over to fakemeta
C. You should allow players to move the camera like a survailance camera, check the code I made for JJG75 for that.
D. You should use either get_players or get_maxplayers instead of the maxplayers define
E. You only need one prethink for the player, you can check camera status on the player's prethink.
F. And as for resethud, it should be fine to use it in this case.
|
A. When you attach view on an antity the aim of the view and the aim of the model is inverted vertically (Y) so i created two entitys one for image "NewEnt" wich aims correctly, and "lookin" wich is invisible and i inverted its aim vertically to view through it correctly.
Code:
entity_set_vector(NewEnt[id], EV_VEC_angles, vEntAngles)
vEntAngles[0] = vEntAngles[0] - (vEntAngles[0] * 2)
entity_set_vector(lookin[id], EV_VEC_angles, vEntAngles)
B. I will try... it could take some time because im not very experienced scripter at fakemeta.
C. Hmm... i think it looks more realistic when you cant move that tiny camera.
D. Thanks for notice. Will add it in the next update.
E. Yea, i know that. But i dont know how to get the killer of the entity on client prethink.
F. It should.
Jak, yea, i missed that, thanks! I just edited first post.