Jump to content
pexmo

2 Questions: Weapon sway relative to weapon and Restricting loot able items on body.

Recommended Posts

Hello all! 

Returning to arma 3 editing after probably years :) feels great BUT the downside is that I am lost all over again! 

 

I have 2 things I want to achive for a coop RPGish campaign I am creating for a bunch of friends, these are: 

 

Individual character skills: 

I have sketched out a skill progression system for the players and this is how I would like it to work.

 

1: Upon creating the mission I add in "flags" to the player unit, for example AR1

 

2: When in game I want this to happen: When a player picks up a weapon there will be a check made.

The weapon is assigned a flag of its own that it will look for. Lets say that the weapon the a AKM from apex. This weapon is designated to, when picked up by a player, to check if the AR1 flag is present on the player or not. 

If it is present, nothing happens. If the flag AR1 is not present weapon sway X is assigned to the player. (optimal would be if this was checked also each time a player switches to a weapon).

 

3: Also if possible I would like to restrict use of, or the ability to pick up, specific items depending on flags as well. For example the flag MEDIC, if not present on a player unit that unit can not pick up or use the MEDKIT. 

 

 

The second thing I would lie to create is:

 

Locked Loot: 

I would like to have a system that randomly locks, hides from the player, items on a dead unit while still having these items visible in the world, view wise. 

Something like this:

 

Ai soldier is equiped with:

  • A uniform
  • 1 AKM
  • 6 AKM mags
  • 1 Grenade 
  • 1 Vest
  • 1 Helmet

 

When the unit is killed the following would apply: 

 

  • All objects are still present in the game world but... 

 

  • Each object has only a 25% chance of being lootable, visible for pickup, by the player. 

 

 

So well, If anyone can give any advice, script code, directions to functions, yea what ever really! 

Much appreciated and Thanks!  

 

 

 

 

 

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

×