Bartering oddities

Mapping & modding Fallout Tactics and reviewing maps thereof.
Post Reply
User avatar
Max-Violence
Wandering Hero
Wandering Hero
Posts: 1221
Joined: Thu Apr 18, 2002 4:15 am
Location: In my own personal vault
Contact:

Bartering oddities

Post by Max-Violence »

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?
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
User avatar
OnTheBounce
TANSTAAFL
TANSTAAFL
Posts: 2257
Joined: Thu Apr 18, 2002 8:39 am
Location: Grafenwoehr, Oberpfalz, Bayern, Deutschland
Contact:

Post by OnTheBounce »

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
"On the bounce, you apes! Do you wanna live forever?!"
User avatar
Max-Violence
Wandering Hero
Wandering Hero
Posts: 1221
Joined: Thu Apr 18, 2002 4:15 am
Location: In my own personal vault
Contact:

Post by Max-Violence »

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.
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
User avatar
OnTheBounce
TANSTAAFL
TANSTAAFL
Posts: 2257
Joined: Thu Apr 18, 2002 8:39 am
Location: Grafenwoehr, Oberpfalz, Bayern, Deutschland
Contact:

Post by OnTheBounce »

:lol: @ "wisdom that came w/age"

BTW, the idea to do that was JJ86's. Give credit where credit is due and all that.

OTB
"On the bounce, you apes! Do you wanna live forever?!"
Our Host!
Post Reply