PDA

View Full Version : [Native] Angle Speed


Owner123
12-31-2010, 17:52
Angle Speed Native v1.1.0

Description
To use this natives we must use fakemeta/engine.

Natives
angle_get_speed(ent, Float:fAngleSpeed[3]) - Gets the angle speed vector.
angle_set_speed(ent, Float:fAngleSpeed[3]) - Sets the angle speed for entity.

Example:
I recored video on which i show how this work:
http://www.youtube.com/watch?v=T7chiP0IBfY

Changelog
1.0.0 - Initial Release
1.1.0 - Fixed method to change angles

Exolent[jNr]
12-31-2010, 18:16
These have nothing to do with speed.
All these natives do is constantly set an entity's angles.

Owner123
12-31-2010, 21:07
Yes, this is simple native, but I think this can be usefull for newbie ;D

fysiks
12-31-2010, 23:30
;1383364']These have nothing to do with speed.


Maybe you don't speak english . . .

ConnorMcLeod
01-01-2011, 10:30
Don't you think altering entities nextthink can generate some issues with some entities ?

Owner123
01-01-2011, 14:03
Damn ... I was mellow when i write this :S I will fix it in next version .

bibu
01-01-2011, 16:02
Wow, this with the nade looks awesome!
Just in the test plugin:

....|| equal(model, "models/w_flashbang.mdl") || equal(model, "models/w_flashbang.mdl")

->


....|| equal(model, "models/w_flashbang.mdl") || equal(model, "models/w_smokegrenade.mdl")

?

ConnorMcLeod
01-01-2011, 18:15
Test plugin doesn't really show what advantage you could take using the native in a plugin.

Exolent[jNr]
01-01-2011, 18:54
Finally seeing what it does, it constantly rotates the entity based on the given angles.
I don't know why I couldn't figure that out the first time around.

Owner123
01-02-2011, 06:45
@ConnorMcLeod
Thanks for the advice

@bubi
LOL, i cant see that at first time but now fixed :D

BTW. Next version is available