Jump to content
Eggitheegg

How to attach objects to bullets?

Recommended Posts

Hello, I've stumbled on an old video from ArmA 3 where somebody is firing fish from their gun. I want to make something like this too. I'll link the video here: 

Thanks! 

Share this post


Link to post
Share on other sites

Fired or FiredMan event handler and attachTo.

 

Example:

player addEventHandler ["FiredMan",
{
	params ["_unit","_weapon","_muzzle","_mode","_ammo","_magazine","_projectile","_vehicle"];
	_sphere = "Sign_Sphere100cm_F" createVehicle (getPosATL _projectile);
	_sphere attachTo [_projectile,[0,0,0]];
}];

 

  • Like 2

Share this post


Link to post
Share on other sites
12 minutes ago, Harzach said:

Fired or FiredMan event handler and attachTo.

 

Example:


player addEventHandler["FiredMan",
{
	params["_unit","_weapon","_muzzle","_mode","_ammo","_magazine","_projectile","_vehicle"];
	_sphere = "Sign_Sphere100cm_F" createVehicle (getPosATL _projectile);
	_sphere attachTo [_projectile,[0,0,0]];
}];

 

Nevermind I got it

Edited by Eggitheegg

Share this post


Link to post
Share on other sites

also another thing can I somehow remove Muzzle from weapons? 

Share this post


Link to post
Share on other sites

I dont understand what u want. Muzzles are a part of the weapon and a weapon itself can be modified by an addon only.

But maybe i misunderstand.

What do you want to achive?

Share this post


Link to post
Share on other sites
20 hours ago, sarogahtyp said:

I dont understand what u want. Muzzles are a part of the weapon and a weapon itself can be modified by an addon only.

But maybe i misunderstand.

What do you want to achive?

I just want to it to look nice when I shoot the fish but if its not possible then thanks anyway

Share this post


Link to post
Share on other sites
15 hours ago, Eggitheegg said:

I just want to it to look nice when I shoot the fish but if its not possible then thanks anyway

 

You are going to need to be specific. What is the problem you are trying to solve?

  • Like 1

Share this post


Link to post
Share on other sites
17 hours ago, Harzach said:

 

You are going to need to be specific. What is the problem you are trying to solve?

not really a problem, just because of the muzzle you can barely see the fish that are attached to the bullets.

Share this post


Link to post
Share on other sites
1 hour ago, Eggitheegg said:

not really a problem, just because of the muzzle you can barely see the fish that are attached to the bullets.

 

How is the opening at the end of the barrel obscuring anything?

 

edit:  Perhaps you mean "muzzle flash?"  Use a suppressor. Otherwise, you'll need to create an addon.

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

×