New feature: apply items to/take items from other persons[message #316634]
|
Wed, 27 March 2013 22:56
|
|
Flugente |
|
Messages:3509
Registered:April 2009 Location: Germany |
|
|
apply items to/take items from other persons
As it was requested a few times, and offers a few new reasonable possibilities, I made a new addition to the code. It is now possible to apply items to other persons. It works pretty easy: Put the item in the hand of a merc, rightclick and then hover with your mouse over another person, and leftclick to apply. Just like mining/picking up items etc..
This works with- drugs
- clothes
- canteens (not non-canteen like food items)
- camo
- gasmasks (if no gasmask is worn)(if no slot is free, one item is dropped).
- bombs (really. With remote detonators and everything :transform: )
Other items would be possible too, but I have to check this on a case-to-case basis. I will however not allow reloading, as that would be an obvious exploit.
One can apply items to anybody. This includes the enemy. Against hostiles there is a chance to fail - the chance depends on
- exp levels
- dexterity
- stealth trait (new trait system only)
- out target' alert status
- and most important of all, the weight of an item.
Sneaking up behind someone and injecting a syringe into him is relatively easy (poison drug, anyone?). Running headlong into the enemy and trying to put a claymore into his pockets is relatively hard.
Pics:
During a furious firefight, Stephen's only chance of survival lay in the hands or Raider. Let's hope its the right syringe...
Apparently it was. A few turns later, Stephen is out of immediate danger.
This is in the trunk as of r5962 and GameDir r1631. Note that the GameDir is required for this, as it has new cursor icons (thanks to Thor). With out them, your game will crash when attempting this.
Significant update 1: As of r6033, we can now access the inventory of other mercs. It works just like stealing (it is stealing - taking items from friends is stealing from someone who's ok with it :shake: )
Raider accesses Ira's inventory. Note that he still has to pay an AP cost, just like if he were stealing.
So now you can not only apply a gasmask to a conscious merc, you can also take it from him in he first place.
[Updated on: Mon, 29 April 2013 00:56] by Moderator Report message to a moderator
|
|
|
|
|
Re: New feature: apply items to other persons[message #316640]
|
Wed, 27 March 2013 23:36
|
|
Thor |
|
Messages:423
Registered:February 2007 Location: Belgium |
|
|
Something else I have wondered about many times... How about a feature to take items from an unconscious merc. Should be similar to stealing, but it doesn't work on your own mercs. Weapons, medikits, etc. Such a feature would have been handy on several occasions... especially if the one with the precious regeneration booster is down..^^
[Updated on: Wed, 27 March 2013 23:38] by Moderator Report message to a moderator
|
Master Sergeant
|
|
|
Re: New feature: apply items to other persons[message #316643]
|
Thu, 28 March 2013 00:18
|
|
Sam Hotte |
|
Messages:1966
Registered:March 2009 Location: Middle of Germany |
|
|
:thumbsup:
A few questions if you don't mind, Flug:
1. Are these instant actions or more like current bandaging, taking more time, possibly extending over multiple turns? (Description quite sounds like instant action, but wanna make sure ..)
2. If instant action: could different amount of APs be assigned to the different tasks? Like, taking off somebody's helmet, remove a face gear, put on gas mask and helmet again on top might take up more time than jamming an instant-ready syringe into one's thigh, or so.
3. Just out of plain curiosity: What situation in game had you in mind allowing for applying clothes (and armor?) to somebody else?
And finally seconding Thor's suggestion about "stealing" things from unconscious mercs. Would be very helpful being able to pick up the gas mask from the unconscious before applying it to his face (because usually you do not carry a second gas mask around for the others, do you ... )
Report message to a moderator
|
Sergeant Major
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: New feature: apply items to other persons[message #318405]
|
Wed, 01 May 2013 20:53
|
|
Flugente |
|
Messages:3509
Registered:April 2009 Location: Germany |
|
|
1. Hmmkay, that's bad.
2. Gah. Heresy! I pledge to abide the codex!
Edit: Both fixed in r6048.
[Updated on: Wed, 01 May 2013 23:14] by Moderator Report message to a moderator
|
|
|
|
|
|
|
|
|
|