Raised This Month: $ Target: $400
 0% 

entity flag that makes angles to change


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 05-18-2009 , 19:02   entity flag that makes angles to change
Reply With Quote #1

Is there a flag that automaticly modifies the entity's angles while in midair or something ? I am not looking for EV_VEC_angles, but something that I set once and it'll move on it's own, like EV_INT_movetype :}

I tried some but none seem to do anything...
__________________
Hunter-Digital is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 05-18-2009 , 19:04   Re: entity flag that makes angles to change
Reply With Quote #2

*_avelocity
Arkshine is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 05-18-2009 , 19:17   Re: entity flag that makes angles to change
Reply With Quote #3

tried that, didn't work... what did I do wrong ?

PHP Code:
new ent create_entity(ENTITY_info_target)

entity_set_model(entMDL_test)
entity_set_edict(entEV_ENT_ownerid)
entity_spawn(ent// this is DispatchSpawn()
entity_set_int(entEV_INT_movetypeMOVETYPE_PUSHSTEP)
entity_set_origin(entfOrigin)
entity_set_vector(entEV_VEC_anglesfAngles)
entity_set_vector(entEV_VEC_velocityfVelocity)
entity_set_vector(entEV_VEC_avelocityFloat:{100.0100.01000.0}) 
I just set some values there to see what it does, and no result, just does what it did before, flies out of me xD I tried even removing the angles set, maybe it's a conflict or something, still the same...
__________________
Hunter-Digital is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 05-18-2009 , 19:28   Re: entity flag that makes angles to change
Reply With Quote #4

Not sure if the movetype is correct. Should not be MOVETYPE_FLY or something ?

Edit : If I remember it will not work if entity is in collision with something.

Last edited by Arkshine; 05-18-2009 at 19:30.
Arkshine is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 05-18-2009 , 19:37   Re: entity flag that makes angles to change
Reply With Quote #5

Well, while it's in air it doesn't do anything, I'll set it to movetype fly and see

edit: yeah, it works with that, I'll see wich other movetypes work with

edit2: works with MOVETYPE_TOSS also, but I don't understand why doesn't it work with MOVETYPE_PUSHSTEP too... how's the remove bomb from HL made ?
__________________

Last edited by Hunter-Digital; 05-18-2009 at 19:55.
Hunter-Digital is offline
Reply


Thread Tools
Display Modes

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 01:29.


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