I have an NPC set up to be able to barter. Said NPC is heavily-armed.
I gave the entity 2000 rounds of 2mmEC ammo, but I only want the PCs able to buy 50 rounds. So, I set the non-lootable amout to 1950.
50 rounds show up in the NPC's inventory window initially. However, if I right-click on the ammo (to put all rounds in the barter window quickly), 1908 rounds appear in the barter window (the NPC has a gauss minigun and a gauss pistol equipped). Note that if I click and drag the ammo into the barter window and enter any number over 50, only 50 rounds are put up for grabs (which is a good thing).
Any ideas? Have I discovered yet another bug or am I doing/not doing something to mess it up?
Bartering oddities
- Max-Violence
- Wandering Hero
- Posts: 1221
- Joined: Thu Apr 18, 2002 4:15 am
- Location: In my own personal vault
- Contact:
Bartering oddities
Closing our eyes forces us to look
At the darkness inside.
Our emotions always find us
Regardless of where we hide.
maxviolence@hotmail.com
http://mvmaphub.duckandcover.cx <--- Updated July 10th, 2006
At the darkness inside.
Our emotions always find us
Regardless of where we hide.
maxviolence@hotmail.com
http://mvmaphub.duckandcover.cx <--- Updated July 10th, 2006
- OnTheBounce
- TANSTAAFL
- Posts: 2257
- Joined: Thu Apr 18, 2002 8:39 am
- Location: Grafenwoehr, Oberpfalz, Bayern, Deutschland
- Contact:
We had a discussion about this a long time ago on the old board. The solution is to set up an ammo entity to serve as your non-lootable ammo. (Call it ammo2mmEC-nl.ent or something.)
Have all of one type set to non-lootable and you won't have the option to right-click and place the ammo in the barter window. Play around w/the order that you place the ammo in the inventory to make sure that the NPC loads up the proper ammo. (IIRC the lower in the level editor's inventory window the item it is, the higher it will be in the actual NPC's inventory.)
OTB
Have all of one type set to non-lootable and you won't have the option to right-click and place the ammo in the barter window. Play around w/the order that you place the ammo in the inventory to make sure that the NPC loads up the proper ammo. (IIRC the lower in the level editor's inventory window the item it is, the higher it will be in the actual NPC's inventory.)
OTB
"On the bounce, you apes! Do you wanna live forever?!"
- Max-Violence
- Wandering Hero
- Posts: 1221
- Joined: Thu Apr 18, 2002 4:15 am
- Location: In my own personal vault
- Contact:
Ah yes, good idea.
And you RC, OTB, The "lower" the item is in the entity's inventory list, the "higher" it is in the actual inventory in-game.
If I have the normal ammo lower than the customized one, the NPC uses the customized version in 'er gun.
I figured it was something simple to fix, and for once, I was right! 8O
Must be the wisdom that came with age...
Nah.
And you RC, OTB, The "lower" the item is in the entity's inventory list, the "higher" it is in the actual inventory in-game.
If I have the normal ammo lower than the customized one, the NPC uses the customized version in 'er gun.
I figured it was something simple to fix, and for once, I was right! 8O
Must be the wisdom that came with age...
Nah.
Closing our eyes forces us to look
At the darkness inside.
Our emotions always find us
Regardless of where we hide.
maxviolence@hotmail.com
http://mvmaphub.duckandcover.cx <--- Updated July 10th, 2006
At the darkness inside.
Our emotions always find us
Regardless of where we hide.
maxviolence@hotmail.com
http://mvmaphub.duckandcover.cx <--- Updated July 10th, 2006
- OnTheBounce
- TANSTAAFL
- Posts: 2257
- Joined: Thu Apr 18, 2002 8:39 am
- Location: Grafenwoehr, Oberpfalz, Bayern, Deutschland
- Contact: