Search the Community
Showing results for tags 'Weapon'.
Found 73 results
-
Hello! Today I propose to you the implementation of a weapon improvement system allowing to obtain rewards after a certain number of eliminations with a weapon. The level rewards would be set every 100 kills up to 1000 per weapon. To recover, why not! up to 3 camouflages! and some crates and crowns for each weapon. This could give new objectives to big players and allow new ones to obtain new rewards. Add to that basic statistics for each weapon like our accuracy with it, the number of games played with it, but that is not the most important (and you developers who read this message would tear your hair out if you had to do that because it must represent a colossal work.) But I like to always propose things like that to make people dream and maybe one day it will be in the game! I hesitated to propose the recovery of the weapon plan after a certain number of eliminations (like 1000 for example) or even many games of it after each level reached. I remind you that 1000 eliminations is a relatively high number and that it would take about 3 to 5 months for a normal player to reach them. An expert of the game will only take 2 to 3 weeks but this only represents 1% of players obviously.
-
Hi ! Today I offer the possibility of being able to recover a weapon OR even resources left on the ground. This could very well be players looking to give these resources to another player without necessarily having to die to do so.
-
Hi ! I'm weighing my words on the title! I know a lot of players who dream and are just waiting for one thing in store! The return of Gold weapons, mainly those that I put below which would delight players!
-
Weapon doesn't want to fire at bigger distances
br_ac_army1 posted a topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
I am trying to create a weapon based on ADR-97 TR and using 25 mm HE shells (inherited from 40 mm HE). Everything is okay but when I try to put a bigger distance (500m, 1000m, 2000m for example), the weapon just fires without changes. However, it worked for everything else. What should I do? My config.cpp: https://www.dropbox.com/s/ho5aw314uqv6d7s/config.cpp?dl=0 CfgAmmo: class G_40mm_HEDPUC: G_40mm_HE { hit = 630; indirectHit = 30; indirectHitRange = 10; warheadName = "HEDPUC"; explosive = 0.8; caliber = 5; }; class G_25mm_HEDPUC_special: G_40mm_HEDPUC { hit = 720; indirectHit = 25; indirectHitRange = 7; warheadName = "HEDPUC"; explosive = 0.3; caliber = 4; typicalSpeed = 750; maxSpeed = 1000; thrust = 35; thrustTime = 15; tracerScale = 3.0; tracerStartTime = 0.05; tracerEndTime = 12; timeToLive = 60; }; CfgMagazines: class 12Rnd_25mm_SMG_03: 50Rnd_570x28_SMG_03 { displayName = "50rnd 25 mm ADR-97 Magazine (U)"; ammo = "G_25mm_HEDPUC_special"; count = 15; mass = 20; initSpeed = 750; }; CfgWeapons: class SMG_03_TR_cheat: SMG_03_TR_khaki { baseWeapon = "SMG_03_TR_cheat"; displayName = "ADR-97 TR 5.7 mm (Upgraded)"; magazines[] = {"75Rnd_570x28_SMG_03","50Rnd_570x28_SMG_03"}; muzzles[] = {"this"}; modes[] = {"SingleB","FullAutoB"}; recoil = "recoil_empty_c"; class Single; class FullAuto; class SingleB: Single { reloadTime = 0.05; dispersion = 0.00007; }; class FullAutoB: FullAuto { reloadTime = 0.05; dispersion = 0.00007; }; class WeaponSlotsInfo { class CowsSlot: CowsSlot_Rail_Boost { iconPosition[] = {0.4,0.3}; iconScale = 0.2; }; class PointerSlot: PointerSlot_Rail { iconPosition[] = {0.33,0.37}; iconScale = 0.25; }; class MuzzleSlot: MuzzleSlot_57 { iconPosition[] = {0.0,0.5}; iconScale = 0.25; }; mass = 52; allowedSlots[] = {901,801,701}; }; }; class SMG_03_TR_cheat_25mm: SMG_03_TR_cheat { baseWeapon = "SMG_03_TR_cheat_25mm"; displayName = "ADR-97 GL 25 mm (Upgraded)"; magazines[] = {"12Rnd_25mm_SMG_03"}; muzzles[] = {"this"}; modes[] = {"SingleB"}; recoil = "recoil_empty_c"; initSpeed = -0.5; maxZeroing = 2400; class SingleB: SingleB { reloadTime = 0.25; dispersion = 0.00004; }; class WeaponSlotsInfo { class CowsSlot: CowsSlot_Rail_Boost { iconPosition[] = {0.4,0.3}; iconScale = 0.2; }; class PointerSlot: PointerSlot_Rail { iconPosition[] = {0.33,0.37}; iconScale = 0.25; }; class MuzzleSlot{}; mass = 55; allowedSlots[] = {901,801,701}; }; };- 3 replies
-
- maxzeroing
- weapon
-
(and 2 more)
Tagged with:
-
I'm trying to get an event to trigger when a weapon is fired. I have added an EventHandlerManagerComponent and then my own scripted component (code below) to a cloned m16 weapon entity. The "weapontestPOSTINIT", "weapontestEINIT" and "weapontestADDEVENT" are all printed after initialization. However, when I pick up the weapon and fire it, the event method is not run and "testEVENT" is not printed. What's wrong with my setup? class EHJ_WeaponEventComponentClass:ScriptComponentClass {}; class EHJ_WeaponEventComponent: ScriptComponent { private EventHandlerManagerComponent m_EventHandlerManagerComponent; override protected void OnPostInit(IEntity owner) { super.OnPostInit(owner); owner.SetFlags(EntityFlags.ACTIVE, true); SetEventMask(owner, EntityEvent.ALL); Print("weapontestPOSTINIT"); } override protected void EOnInit(IEntity owner) { Print("weapontestEINIT"); m_EventHandlerManagerComponent = EventHandlerManagerComponent.Cast(owner.FindComponent(EventHandlerManagerComponent)); if (m_EventHandlerManagerComponent) { m_EventHandlerManagerComponent.RegisterScriptHandler("OnAmmoCountChanged", this, this.Event_OnAmmoCountChanged, true); Print("weapontestADDEVENT"); } } void ~EHJ_WeaponEventComponent() { if (m_EventHandlerManagerComponent) m_EventHandlerManagerComponent.RemoveScriptHandler("OnAmmoCountChanged", this, this.Event_OnAmmoCountChanged, true); } void Event_OnAmmoCountChanged(BaseWeaponComponent currentWeapon, BaseMuzzleComponent currentMuzzle, BaseMagazineComponent magazine, int ammoCount, bool isChambered) { Print("testEVENT"); } };
-
Adding defunct scope to a player's rifle
Doggifast posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Tried this: this addPrimaryWeaponItem optic_Aco_broken; Typed in init of the unit in the editor, didn't work. Rifle is clear and supports ACO C-More railway type of optic, using RHS's Mk17 mod 0. Didn't work, please help. -
Hello Everyone, I would like to show case some content that I'm creating for Arma Reforger and Arma 4. Here is the list of Unguided AT launchers I'm planning (please note the Unguided part) What I have complete so Far as June 2022. M-72 Law M20 and M141 RPG-76 Komar Rpg -18 and 22 RPG 26 and MPO
-
Sup everyone. I'm working with a code snippet for fast reload (an old idea that never finished). The concept is to reload the current weapon, dropping the magazine to the ground and cutting the required time to reload to half (I'm a IPSC shooter IRL, so grabbed the concept from there). So far, i've achieve this: 1. Get magazine type and ammo count for current weapon. 2. Remove the magazine from current weapon. 3. Create a magazine of the same type and ammo count on the floor. 4. Insert a magazine from inventory to current weapon. Extra: using ACE, binded the action to double R key tap. The thing is that I cannot control the animation speed. I mean, I want to start the reload animation but at a faster speed; in fact, i need any animation to replace the standar one. Any advice is welcome. Thanks in advance!
-
The Robber outfit gloves block the 1st person sight of the M2 carbine.
-
When adding a weapon to a dead unit, the weapon 3D model isn't visible
italiandrache posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
As stated in the title, when adding a weapon to a dead unit (whom's previous primary weapon had already been removed), the weapon 3D model isn't visible to the player, albeit it being pickable from the ground and showing when inventory is opened. I'm not sure if this issue occurs only with primary weapons or with the other weapon types, too. Any suggestion? Thank you a lot. -
I can get an array of units onboard a vehicle: fullCrew _vehicle; How do I get the weapon each unit is controlling? I tried currentWeapon but that returns the unit's rifle that he's carrying. I tried currentMuzzle and that has more success. It does return the current muzzle of the vehicle weapon the unit is controlling! How do I turn that into the class name of the weapon, rather than the muzzle? Not sure if possible. You can get the muzzles a weapon can have from the config but I don't think you can get the weapon a muzzle belongs to. Grateful for any ideas, maybe I can get all the weapons of a vehicle, and then find out which unit is using what weapon? Can we do it that way round? Just want an array of all weapons aboard a vehicle and what unit is using what. Remember there can be more than one weapon per turret path! If anyone's interested I'm making a HUD mod that gives a better overview of what a vehicle's crewmates are doing. And what weapon is selected by who is very useful in the case of AI crewmates or beginner human crewmates. Thank you
-
Get active weapon of non-primary turret.
juleshuxley posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
If I want to get the active weapon of a vehicle's primary turret ("gunner" position) I simply do this: _weaponClass = currentWeapon (vehicle player); However, how am I meant to get the active weapon of a non-primary turret such as the commander turret? I've got a feeling it's not possible. I am irritated and gobsmacked. There are literally no commands to get the current weapon for a non primary turret. No way to get "M2" in that image into a variable. I'm so annoyed. Arma has this big API that makes you think your idea is possible, then it has these random holes that makes your idea impossible. Thinking of giving up modding and just developing full games, fed up being at the mercy of some patchy API. So annoyed as I am half way through a mod that requires knowing what the current weapon is for the non primary turret. What a waste of ***** time. Surely there's a way to get the weapon a unit is controlling? Surely? The weapon class is right there on the **** screen, M2. -
Checking if a weapon is ready to fire
juleshuxley posted a topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
I'm trying to make a minimalist UI. I've had some success but one thing I'm struggling with is recreating the "waiting for the next round" bar. You know, this thing: My UI is constantly getting refreshed in a while loop, so I was hoping I could query if a certain weapon was ready to fire. Functions such as CanFire and WeaponState unfortunately didn't give me what I wanted and are misleadingly named. So is there a function I've missed that can query the weapon state i.e ready to fire, not ready to fire? Failing that, where is the m256's "time taken for next round to be loaded" set? In a config? What attribute am I looking for? Can I use getText to extract it to a variable in my script? If it's listed in seconds somewhere in the config I could use an event handler and BIS_fnc_deltaTime to work out if a weapon is ready to fire or not. -
INFO The mod includes a B&T APC9 with a K- style suppressor and B.E. Meyers MAWL that mounts on the top rail. It will be updated with custom magazines and foregrip support. This mod is not allowed to be used in a monetized facet, nor reuploaded without my persmission. REQUIREMENTS None Check it out on my workshop, here.
-
AI won't shoot with rockets on vehicle target.
Euroworldnetworks Yun2k posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
So, im setting up a SP mission. Out of complete randomness the AI decided to shoot at my jeeps with their RPG. i found that so dope so I wanted to have that in the mission but it just wont replicate. I tried setting a Destroy waypoint on the vehicle - AI does nothing, just walks there. I tried setting them to open fire and combat state and just let them stand around (which was basiclly the same that happened when it randomly worked) but they wont shoot at it.... so what am I supposed to do to make this horrendous AI work the way i want? shouldnt it be self explenatory to enable the AI to shoot rockets at vehicles?!?! -
I wanted to know if someone would have the model to facilitate it.
-
Hey there, Devs and fellow Outlanders. Decided to post a lil something that's been bothering me since a few updates ago. Where are the Combat Magnum weapon skins? In both my current list of blue and purple crate rewards, I have 2 brand new skins for the New crossbow that came out this battle pass. Yet I've never seen a Combat Magnum skin....Ever, pretty sure that's because they don't exist yet. Now don't get me wrong, I know the devs are busy (updates, patches, bugs, Etc.). However, the fact that they made EXTRA brand new skins for the crossbow that aren't on the battle pass means that they have people working on weapon skins. All I'm saying is that the Combat Magnum could use a little painted love like the rest of the guns in our arsenal. Please? Well, those are my thoughts on the matter, feel free to comment your own opinions on the subject, I'd love to hear some other Outlanders feedback on the matter. Thanks guys, SKULLZ
-
Hello, community! I hope you remember CoD Black Ops and how it starts in a bar, where enemies enter the place and one allied AI picks up a knife from the table as far as I remember and stubs an enemy. I want to use the animation for this AI with his hands on the table, then cancel the animation, when the enemy AI enters the building behind him, and make our AI grab a gun (may be the Zubr revolver) and kill that enemy. It is not 100% necessary this first enemy AI to be 100& enemy, but how about making our guy attack him anyway? I could change the side and make the other AI join OPFOR when our AI has picked up the weapon. What would you suggest? Thank you in advance! Cheers!
-
Hello, I create this topic because I have a bug concerning the weapon Scharfschützengewehr 82, it's been twice that I make but I do not get the weapon in my inventory and yet my materials are well consumed and I must wait 20 minutes but I do not get it in the end. It's been 2 times now and it's very annoying because I would really like to use it. thank you for responding quickly and sorry for the mistakes, I'm not English ^^
-
Virtual Arsenal is not working. It returns an Error on Initialization and its Inventory is not full. An Error may be seen on the Screenshot. The Inventory lacks at least the 'Mk200' Weapon. The Screenshot of an Error: Text of an Error: Sample Script Code which demonstrates the Effect: Thank you.
-
Is it possible to attach an object to the unit's weapon?
Baked Ham posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
i tried attachTo, and tried many memoryPoints, none of them can make the object rotate and move perfectly with the weapon while the unit is running... -
Weapon On Back - Action Menu
black_hawk_mw2_87 posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hello, everyone. I have tried an option in a mission where the player can scroll down or up his middle mouse and choose an action to put his main weapon on back. I have found this script that can be placed inside a trigger and when the player is present. it will activate the action: player action ["SwitchWeapon", player, player, 100]; It works the same way in the mission, but how do I get this command/action when I scroll with the mouse? Thanks in advance! Cheers! -
HI. Maybe someone can find this usable. Iterate trough config weapon classes and returns array of weapons/ammo according to given parameters /* file : fnc_getWeapon.sqf author: DaVidoSS description: Iterate trough config weapon classes and returns array of weapons/ammo according to given parameters parameters: 0: STRING one from listed below "assault" "handgun" "submachine" "rocket launcher" "missile launcher" "grenade launcher" "light machine" "medium machine" "marksman" "sniper" "all" 1: SCALAR or STRING "all" for all available classes of param 0 NUMBER classes of param 0 2: BOOLEAN true - for return ammo classes too in form ["weapon",["ammo","ammo"...]] false - for return without ammo classes in form ["weapon","weapon"...] Return: ARRAY Usage: fnc_getWeapon = compileFinal preprocessFileLineNumbers "fnc_getWeapon.sqf"; _10assaultGunsWithAmmo = ["assault" ,10,true] call fnc_getWeapon; _1MarksmanGunWithoutAmmo = ["marksman" ,1,false] call fnc_getWeapon; _allGunsofAllTypeWithAmmo = ["all","all",true] call fnc_getWeapon; */ private _paramsCheck = params [["_type","all",[""]],["_allof","all",["",0]],["_withMags",false,[true]]]; if (!_paramsCheck) exitWith {["***********ERROR:fnc_getWeapon - exiting due wrong params given %1",str _this] call BIS_fnc_error; false}; private _array = []; private _return = []; { private _class = (configName _x); if (getNumber (configfile >> "CfgWeapons" >> _class >> "type") < 5) then { private _magazines = getArray (configfile >> "CfgWeapons" >> _class >> "magazines"); private _name = toLower (getText (configfile >> "CfgWeapons" >> _class >> "descriptionShort")); if !(_magazines isEqualTo []) then { if (toLower _type != "all") then { if ((_name find (toLower _type)) > -1) then { if (_withMags) then { _array pushBack [_class,_magazines]; } else { _array pushBack _class; }; }; } else { if (_withMags) then { _array pushBack [_class,_magazines]; } else { _array pushBack _class; }; }; }; }; } forEach ("isClass _x && {(getNumber (_x >> 'scope')) isEqualTo 2}" configClasses (configfile >> "CfgWeapons")); switch (true) do { case (_allof isEqualType 0): { if (_allof isEqualTo 1) exitWith { _return pushBack (selectRandom _array); }; if (_allof > 1 && {count _array >= _allof}) then { for "_i" from 1 to _allof do { _return pushBackUnique (selectRandom (_array - _return)); }; } else { if (_allof < 1) exitWith {_return pushBack (selectRandom _array)}; _return = _array; }; }; case (_allof isEqualType ""): { _return = _array; }; default {}; }; (_return) Enjoy :-)
-
First off, I love Arma! It's my most played steam game and it's where I've met most of my best friends on steam. However, there are some things that I really dislike about Arma and I wish were done differently. [THIS WILL BE A LONG POST, SO I'LL PUT A TL;DR AT THE END] • Overall polish and attention to detail isn't very good. The damage models need a complete rework. It would be cool to see blood where I actually got shot or to see dents/scratches on a vehicle where I hit something. Actually seeing the rocket being loaded in your RPG and seeing the medkit when you use one, having proper animations for ladders and stairs and more fluid animations that affect what your character is interacting with, like opening doors on houses and vehicles, and Having your character pull his gun closer when hes near a wall so your barrel doesn't stick through. These things seem so little and useless, but they can actually go a long way in making players feel more immersed and like they're playing a more fleshed out game. Tarkov is a great example of good fleshed out animations. • Vehicles. They're good for getting you from point A to point B if you take the main road, they're a deathtrap if you use them for anything else. Hitting a bush shouldn't destroy my tires and headlights while almost killing me in the process. PLEASE, just turn off collision for any bush that's smaller than an offroad! Also, why does your vehicle explode after hitting enough things? Literally no vehicle does that. I play a lot of wasteland, and sometimes you have to use a vehicle as your main weapon, whether it be a hatchback or an offroad. If I ram into another vehicle, it's RNG whether I live and the enemy dies, the enemy lives and I die, we both live, we both die, or one or both of us goes flying off into space. It's extremely annoying. My solution is to make a new damage mechanic for vehicles. If I ram into the driver side of an enemy vehicle going less than 50KMH, the enemy should die and I should be severely injured. Anything over 50KMH and we both die. Something like that. Things should be switched up for armored vehicles as well. Nothing should be completely destroyed by 1 rocket or missile unless it's from a jet or a helicopter. Ifrits, Hunters, and Striders are completely useless if the AI or enemy has an RPG. Instead of having 1 rocket blow up the vehicle and killing everyone inside, make it so that 1 rocket just disables the vehicle and also make it RNG on who dies and who gets severely injured. Each launcher should have their own damage multiplier and each APC and tank should have a multiplier on every side (Front, back, left, right, top, and bottom). Hitting a specific part of a tank or APC like the track or turret should always disable it. IMO, this will make the combat between players and vehicles so much more balanced and fun. • Animations should be interruptible and be able to be performed while moving. If I'm healing and hear an enemy walking up, there's nothing I can do but spin around and hope they have the worst aim in existence. It would be nice if I could stop the animation and take my gun back out to take care of the enemy, then start healing again. If I could move while healing, then I could walk into a room or around the corner in order to finish the animation. Let me pull out my pistol to cancel the reload animation if I need to kill another player quickly. Also, this is something I saw on one of Crowbcat's videos, lets say that I just killed an enemy in KOTH and I only have 8 rounds left in my mag, I go to reload and then another enemy rounds the corner. It would be awesome if I could left click and have my character quickly put back in the mag that has 8 rounds left in order to finish off the enemy, rather than taking the time to get a new mag. Speaking of left click, that would be a good keybind to cancel animations. • This is kind of small, but having preferences for each gun and scope in the options so that each time a player picks up a gun or attaches a scope, it will be suited to their play style. If I pick up an MXC, I want it to be on full auto and zeroed to 200m, and I don't want that to change unless I change it manually in game or in the options. If I drop the weapon and pick it back up, it should be just the way I left it. • The AI is mega dumb. I shouldn't even need to explain how bad they are. There's literally more improvements you could make on the AI than you could on the actual game! They have god like aim, they just sit there and crawl around, they see you through bushes and walls, and they can even magically walk through solid objects. Not even full Lvl 5 armor will protect you from getting 1-tapped by these gods. My fondest memory of them was on Wasteland on the Stratis map. Me and some friend were driving to a mission when an AI on the airfield 1-tapped me out of the back of an offroad going 40KMH from over 600m away. • Weapon sway is unrealistic and annoying more than it is immersive. The sway is so slow and all over the place when it should be more controlled and shaky/twitchy. I mean, come on. You're a highly trained soldier and you can't even walk 10 feet in your gear and still have accurate aim? You literally need to stand still for 2 minutes or have a bipod to be accurate in this game. The current sway animation is just a handicap for gameplay and immersion. It should be reworked. • Player damage and Armor. Each armor piece should have a multiplier for each type of round, and the armor should lose durability each time it gets shot and have less protection the lower its durability is. Players should have a set HP that goes down every time they get hit, and it should continue to drop unless they use a medkit. If I get shot in the arm, my aim should be extremely shaky, if I get shot in the leg then my movement should be slower and I should have a limp. The slow painful limping animation your player gets when they take enough damage needs to go! With no armor and an MX, a player should be dead with 1 shot to the chest, head, and stomach, and 2 to the legs and arms. With All level 5 armor and an MX, a player should die in 2 shots the the helmet, 4 to the chest, 3 to the stomach, 5 to the legs, and 6 to the arms. There are times when I've killed players with level 5 armor using a TRG faster than I've killed players with level 3 armor using an AK-12. That's dumb. Damage and armor should be consistent. • Aiming and shooting should take priority over any other keys held. The delay from when you stop sprinting and ADS is a bit much IMO and one of the many annoyances in PVP. The moment I right click, my character should stop sprinting and ADS. Same with firing. • I'm all for extra content, but NOT if it offers a blatant advantage. The best guns in Arma 3 are DLC. The AK-12 outperforms all other assault rifles. Period. The Cyrus and Mar-10 are the highest caliber weapons that can be silenced and easily outperforms the MK18. Don't even get me started on the MMGs. There should have already been an AK style rifle in the game to begin with and they should have gave us at least 1 gun in .338 and 9.3 before or closely after they released the marksmen DLC. I know that a skilled player with an MX can easily beat an amateur with an SPMG, but not every gunfight in Arma is between a nub and a veteran player. TL;DR •Polish and detail is suck. Tarkov style animations and a better damage model would be nice. •Vehicles should have a different damage mechanic and tanks/APCs should have better/more consistent damage multipliers for each side of the vehicle. •Animations should be interruptible with a left click. •Having gun preferences in the options and having a gun stay the same after you drop it and pick it back up (Zeroing and fire mode.) •AI... •Weapon sway is OP •Armor and damage should be more consistent. •Aiming and shooting should take priority over any other keys held. •DLC is a bit on the P2W side. I'm sure there are more things I could mention and I could have elaborated better on some things, but It's late and I'm tired. Sorry if there are any spelling or grammar mistakes. I'd love to read what you guys think should be different or why some of the things I mentioned should not be!
-
Hello, I wonder if I can export all items' image (weapon, attachment, ammo from vanilla, RHS, HAFM) or get at least the image path or what file they are in.