Jump to content

Add ammo to vendor


Corejob

Recommended Posts

I have created a quest that runs on startup. It call the following script to add 4.6x30mm ammo to vendors. But no ammo is showing up. Thoughts?

 

scn CaliberActivateQuest46x30Script

 

begin gamemode

 

;Full Loot

AddItemToLeveledList LootAmmoBullets100 LootAmmo46x30 1 1 100

AddItemToLeveledList LootAmmoBullets10 LootAmmo46x30 1 1 100

AddItemToLeveledList LootAmmoBullets75 LootAmmo46x30 1 1 100

AddItemToLeveledList LootAmmoNVBullets10 LootAmmo46x30 1 1 100

AddItemToLeveledList LootAmmoNVBullets100 LootAmmo46x30 1 1 100

AddItemToLeveledList LootAmmoNVBullets75 LootAmmo46x30 1 1 100

AddItemToLeveledList LL2Tier2AmmoGunsAll25 LootAmmo46x30 1 1 100

AddItemToLeveledList LL2Tier2AmmoGunsAll50 LootAmmo46x30 1 1 100

AddItemToLeveledList LL2Tier2AmmoGunsAll75 LootAmmo46x30 1 1 100

AddItemToLeveledList LL2Tier2AmmoMixedAll25 LootAmmo46x30 1 1 100

AddItemToLeveledList LL2Tier2AmmoMixedAll50 LootAmmo46x30 1 1 100

AddItemToLeveledList LL2Tier2AmmoMixedAll75 LootAmmo46x30 1 1 100

AddItemToLeveledList LL2Tier2AmmoMixedGunsAll25 LootAmmo46x30 1 1 100

AddItemToLeveledList LL2Tier2AmmoMixedGunsAll50 LootAmmo46x30 1 1 100

AddItemToLeveledList LL2Tier2AmmoMixedGunsAll75 LootAmmo46x30 1 1 100

AddItemToLeveledList LL2Tier2AmmoMixedAll LootAmmo46x30 1 1 100

AddItemToLeveledList LL2Tier2AmmoMixedGunsAll LootAmmo46x30 1 1 100

AddItemToLeveledList LL2Tier2AmmoAll LootAmmo46x30 1 1 100

AddItemToLeveledList LL2Tier2AmmoGunsAll LootAmmo46x30 1 1 100

AddItemToLeveledList LL2Tier2AmmoAll50 LootAmmo46x30 1 1 100

 

;half loot

AddItemToLeveledList LL2Tier1AmmoAll LootAmmo46x30Half 1 1 100

AddItemToLeveledList LL2Tier1AmmoAll50 LootAmmo46x30Half 1 1 100

AddItemToLeveledList LL2Tier1AmmoGunsAll50 LootAmmo46x30Half 1 1 100

AddItemToLeveledList LL2Tier1AmmoGunsAll25 LootAmmo46x30Half 1 1 100

AddItemToLeveledList LL2Tier1AmmoGunsAll75 LootAmmo46x30Half 1 1 100

AddItemToLeveledList LL2Tier1AmmoGunsAll LootAmmo46x30Half 1 1 100

AddItemToLeveledList LL2Tier2AmmoAllLow LootAmmo46x30Half 1 1 100

AddItemToLeveledList LL2Tier2AmmoAllLow50 LootAmmo46x30Half 1 1 100

 

;vendor ammo normal

AddItemToLeveledList VendorAmmoBullets100 VendorAmmo46x30 1 1 100

AddItemToLeveledList VendorAmmoChet VendorAmmo46x30 1 1 100

AddItemToLeveledList VendorAmmoGunsTier1 VendorAmmo46x30 1 1 100

AddItemToLeveledList VendorAmmoGunsTier2 VendorAmmo46x30 1 2 100

AddItemToLeveledList VendorAmmoGunsTier3 VendorAmmo46x30 1 3 100

 

;vendor ammo armor piercing

AddItemToLeveledList VendorAmmoGunsTier3 VendorAmmo46x30ArmorPiercing 1 1 100

 

;vendor ammo hollowpoint

AddItemToLeveledList VendorAmmoChet VendorAmmo46x30HollowPoint 1 1 100

AddItemToLeveledList VendorAmmoGunsTier2 VendorAmmo46x30HollowPoint 1 1 100

AddItemToLeveledList VendorAmmoGunsTier3 VendorAmmo46x30HollowPoint 1 2 100

 

;Casings

AddItemToLeveledList VendorReloadingSuppliesTier2 BoxCase46x30 1 1 100

AddItemToLeveledList VendorReloadingSuppliesTier3 BoxCase46x30 1 1 100

AddItemToLeveledList VendorReloadingSuppliesTier4 BoxCase46x30 1 1 100

 

showMessage CaliberMessage46x30

 

stopquest CaliberActivateQuest46x30

end

Link to comment
Share on other sites

Sorry if this is obvious, but you did not mention. Does the showmessage show up? Is the script associated to a quest, which has the "start game enabled" checkbox checked?

 

At the top of the post: "I have created a quest that runs on startup. It calls the following script to add 4.6x30mm ammo to vendors"

 

I'm getting no message, nor am I getting one from CaliberX. I wonder if it has something top do with dead money?

Link to comment
Share on other sites

Your post #1 does not say if your showmessage appears. Thank you for answering this in post #3. If the showmessage is not appearing, nothing else matters. Remove all the lines from your quest script, and just worry about the showmessage. Are you sure the quest is enabled, etc? There is no other reason for the message to fail. Many people have suggested that Dead Money is responsible for any failures they have found in the last few days; I guess this is possible. You can test by disabling it, and then seeing if the showmessage appears.
Link to comment
Share on other sites

  • Recently Browsing   0 members

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