Jump to content

Need Help with Inventory Batch File


Cuttingmountain

Recommended Posts

I am trying to do a batch file that removes the inventory for a Target ID, replaces the inventory with what I want them to carry, then equips the new inventory items. Something is malfunctioning. When I run the batch file, I get the following:

 

  • Areas with the original inventory turn invisible;
  • Replacement items are not equipping;
  • Random leather types are in inventory;
  • NPC is reverting to original apparel.

-----------------------------------------------------------------------

 

;BATCH NAME: Equip Minuteman
;PURPOSE: Standardize Minuteman loadout and initial weapons.
;COMMENT: Will provide Target ID with a Minuteman Outfit, a Minuteman Hat, a pair of Patrolman Sunglasses, a set of Leather Armor, a Laser Musket, a Fragmentation Grenade, and one of each ammunition type.
;START BATCH-------------------------------
;Clear target inventory
tai
unequipall
removeAllItems
;END SECTION--------------------------------
;Place apparel in target ID inventory
;Minuteman Outfit
additem 000E517B
;Leather Armor set
additem 0007b9c6
additem 0007b9c5
additem 0007b9c4
additem 0007b9c3
additem 0007b9c7
;Minuteman Hat
additem 000316D4
;Patrolman Sunglasses
additem 001738aa
;END SECTION--------------------------------
;Weapons
;Minuteman Laser Musket
additem 0001DACF
;END SECTION--------------------------------
;Equip apparel in target ID inventory
;Minuteman Outfit
;equipitem 000E517B
;Leather Armor set
equipitem 0007b9c6
equipitem 0007b9c5
equipitem 0007b9c4
equipitem 0007b9c3
equipitem 0007b9c7
;Minuteman Hat
equipitem 000316D4
;Patrolman Sunglasses
equipitem 001738aa
;END SECTION--------------------------------
;Weapons
;Minuteman Laser Musket
additem 0001DACF
equipitem 0001DACF
;END SECTION--------------------------------
;NPC Ammunition
additem 0001f66b
additem 0004ce87
additem 0009221c
additem 0001f66a
additem 0001f279
additem 0001f66c
additem 0001f278
additem 0001f276
additem 0001f673
additem 0018abdf
additem 0001dbb7
additem 000c1897
additem 000df279
additem 0018abe2
additem 000cac78
additem 000fe269
additem 03010b80
additem 0302c8b1
additem 00245D69
additem 001025AA
additem 000FD11C
additem 00245D68
additem 00075FE4
additem 000eebed
;END SECTION--------------------------------
wait 10
tai
;Check actor inventory
openactorcontainer 1
;END BATCH-----------------------------------
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...