08-09-2012, 16:37
(08-09-2012, 16:20)GenaSG Wrote:(08-09-2012, 16:03)Pozzuh Wrote:(08-09-2012, 15:18)GenaSG Wrote: Ok. I'll try to describe why do I need tag_flash origin.
I am developer of ProjectileWeapons mod for call of duty 4. I want to improve realism of the mod. I want to make so that bullets will "shoot" from weapon's barrel. I see two alternatives here:
1)Get origin and angles of weapon's tag flash and spawn bullet using those values(But I don't know how to get those values).
2)I can spawn models using muzzleflash effect(like brickblaster_mp) but I can't get origin of those "bricks". Is it possible to get origin of those "bricks"?
I think it's not possible to get bullets, but it is possible to get rockets/noob tube shots. Look into it, search through the gsc files on something like "weapon_fired".
I ment projectiles. I am using "classname" "grenade" in my mod for almost all weapons. I can get them with grenades = getentarray("grenade","classname"). And how about my second question? I mean is it possible to get array of those brickblaster's "bricks"?
grenades = getentarray("grenade","classname")
us that and then if(grenades.classtype == "brick") or something?