Rotate FX
Posted: August 13th, 2008, 12:02 am
I have an effect I want to face a different direction. After some research I found out you could theoretically do that with the mp_yourmap_fx.gsc file in a createfx folder in raw/maps. However, I made it, added the angles I wanted to change, and it doesn't change.
mp_yourmap_fx.gsc
The 270 in the x there for angles should rotate it but it doesn't
and normal gsc
anybody have any idea what's wrong?
mp_yourmap_fx.gsc
Code: Select all
//_createfx generated. Do not touch!!
main()
{
ent = maps\mp\_utility::createOneshotEffect( "hover" );
ent.v[ "origin" ] = ( -416, 0, 160 );
ent.v[ "angles" ] = ( 270, 0, 0 );
ent.v[ "fxid" ] = "hover";
ent.v[ "delay" ] = -15;
}
and normal gsc
Code: Select all
level._effect["hover"] = loadfx ("fire/hover");
maps\mp\_fx::loopfx("hover", (-416, 0, 160), 3);