Jump to content
Sign in to follow this  
demonized

Still no flashlight scripts for ak weapons?? or way to alter ingame reality?

Recommended Posts

Ive looked through all the forum posts containing flashlights.

Are there still no way to script a flashlight for a soldier using ak rifle?

Is there any way to equip enemy AI with M4A3_CCO_EP1 wich have a flashlight and script it someway so that to the player it looks like an AK-74 and sounds like AK-74? doesnt neccesarily have to behave like AK-74 trajectory etc.. , i would be satisfied with looks and sounds, even only sounds would be better than nothing..

Any bright ideas?

Share this post


Link to post
Share on other sites

You're better off just using an addon, or figure out a different way to get a light (searchlight maybe).

Share this post


Link to post
Share on other sites

yeah i was thinking of using searchlight with attachto, but its to big and clunky, also the light beam is way to big and strong for a flashlight.

Maybe there is a way to take out the light source of the searchlight or one of the cars beams, and resize it down to fit flashlight size.

then just attachto weapon, head(or helmet) or arm of unit....?

Ive seen lights created but i think they are only in shape of globe and not cone wich is needed for flashlight.

Share this post


Link to post
Share on other sites

im not sure if this will work, but have you tried?

attachobject (searchlight or something that gives off light etc) to soldier

and use hideobject to make it not be seen? as far as i know, if u hide a soldier, he will be invisible, but when he fires his rifle the muzzle flash is still seen, this may also apply to the light whether or not it is treated the same way as a gun when you fire it (activate)

im not sure if this works, but it might

Share this post


Link to post
Share on other sites

Will try with hideobject tonight, also came to think off i have used gamelogic to activate lights in trucks, maybe i can assign a gamelogic the m4 flashlight version, then hide or attach to or merge it somehow to a ak-74 soldier....

Is there a way to name a weapon given to a unit?

weapon = unit selectweapon "weapon_classname";

??

Ive in the past seen hackers have rifles with javelin missiles on full auto etc... surely there must be a way, to either acomplish ak-74 flashlight, or unit flashlight by script, or somewhat simulate it, either switchable on/off or always on.

Edited by Demonized
added text

Share this post


Link to post
Share on other sites
Ty all for suggestions so far, will deffinetly dont give up on this yet.

will try with hideobject tonight, also came to think off i used gamelogic to activate lights in trucks, maybe i can assign a gamelogic the m4 flashlight version, then hide or attach to or merge it somehow to a ak-74 soldier....

Is there a way to name a weapon given to a unit?

weapon = unit selectweapon "weapon_classname";

??

No. Weapons are not referenceable as objects. They are proxies, so you cannot use them that way. That's why I said your best bet will be using an addon.

Share this post


Link to post
Share on other sites

for now in my missions i use the m4_CCO_EP1 or something, it has flashlight and effects is very nice, they only activate lights when in combat mode, vry cool, just wish BIS, gave us ak version with lights, or even a handheld torch or something. even a head torch, would be nice..

Tnx guys for your replys, if anyone else have any info regarding flashlights without use of addons, or maybe a very nice standalone addon, post here please.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×