Default purchasable items: Difference between revisions
From The DarkMod Wiki
Jump to navigationJump to search
Springheel (talk | contribs) New page: You can use this as a default template for your purchase menu. Just cut and paste this entire section into your map file, directly beneath the "classname" "worldspawn" line. // the amo... |
No edit summary |
||
(4 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
You can use this as a default template for your purchase menu. Just cut and paste this entire section into your map file, directly beneath the "classname" "worldspawn" line. | You can use this as a default template for your purchase menu. Just cut and paste this entire section into your map file, directly beneath the "classname" "worldspawn" line. | ||
// the amount of starting gold | '''// the amount of starting gold:''' | ||
"shop_gold_start" "700" | "shop_gold_start" "700" | ||
// items the player starts with | '''// items the player starts with:''' | ||
"startingItem_1_item" "weapon_blackjack" | "startingItem_1_item" "atdm:weapon_blackjack" | ||
"startingItem_1_qty" "1" | "startingItem_1_qty" "1" | ||
"startingItem_2_item" "weapon_shortsword" | "startingItem_2_item" "atdm:weapon_shortsword" | ||
"startingItem_2_qty" "1" | "startingItem_2_qty" "1" | ||
"startingItem_3_item" "weapon_broadhead" | "startingItem_3_item" "atdm:weapon_broadhead" | ||
"startingItem_3_0_qty" "15" | "startingItem_3_0_qty" "15" | ||
"startingItem_3_1_qty" "10" | "startingItem_3_1_qty" "10" | ||
"startingItem_3_2_qty" "5" | "startingItem_3_2_qty" "5" | ||
"startingItem_4_item" "weapon_waterarrow" | "startingItem_4_item" "atdm:weapon_waterarrow" | ||
"startingItem_4_0_qty" "10" | "startingItem_4_0_qty" "10" | ||
"startingItem_4_1_qty" "5" | "startingItem_4_1_qty" "5" | ||
"startingItem_4_2_qty" "0" | "startingItem_4_2_qty" "0" | ||
"startingItem_5_item" "atdm:playertools_compass" | //"startingItem_5_item" "atdm:playertools_compass" | ||
"startingItem_5_qty" "1" | //"startingItem_5_qty" "1" | ||
"startingItem_6_item" "atdm:playertools_lockpick_bent" | "startingItem_6_item" "atdm:playertools_lockpick_bent" | ||
"startingItem_6_qty" "1" | "startingItem_6_qty" "1" | ||
Line 30: | Line 29: | ||
//items available for purchase | '''//items available for purchase: | ||
''' | |||
"shopItem_1_item" "weapon_broadhead" | "shopItem_1_item" "atdm:weapon_broadhead" | ||
"shopItem_1_0_qty" "25" | "shopItem_1_0_qty" "25" | ||
"shopItem_1_1_qty" "15" | "shopItem_1_1_qty" "15" | ||
"shopItem_1_2_qty" "10" | "shopItem_1_2_qty" "10" | ||
"shopItem_2_item" "weapon_waterarrow" | "shopItem_2_item" "atdm:weapon_waterarrow" | ||
"shopItem_2_0_qty" "15" | "shopItem_2_0_qty" "15" | ||
"shopItem_2_1_qty" "10" | "shopItem_2_1_qty" "10" | ||
"shopItem_2_2_qty" "5" | "shopItem_2_2_qty" "5" | ||
"shopItem_3_item" "weapon_firearrow" | "shopItem_3_item" "atdm:weapon_firearrow" | ||
"shopItem_3_qty" "2" | "shopItem_3_qty" "2" | ||
"shopItem_4_item" "weapon_ropearrow" | "shopItem_4_item" "atdm:weapon_ropearrow" | ||
"shopItem_4_qty" "4" | "shopItem_4_qty" "4" | ||
"shopItem_5_item" " | "shopItem_5_item" "atdm:weapon_noisemaker" | ||
"shopItem_5_qty" "3" | "shopItem_5_qty" "3" | ||
"shopItem_6_item" "atdm:playertools_flashbomb" | "shopItem_6_item" "atdm:playertools_flashbomb" | ||
Line 57: | Line 56: | ||
"shopItem_8_qty" "1" | "shopItem_8_qty" "1" | ||
[[category:: | [[category:editing]] | ||
[[Category:Tutorial]] |
Latest revision as of 18:10, 26 July 2009
You can use this as a default template for your purchase menu. Just cut and paste this entire section into your map file, directly beneath the "classname" "worldspawn" line.
// the amount of starting gold:
"shop_gold_start" "700"
// items the player starts with:
"startingItem_1_item" "atdm:weapon_blackjack" "startingItem_1_qty" "1" "startingItem_2_item" "atdm:weapon_shortsword" "startingItem_2_qty" "1" "startingItem_3_item" "atdm:weapon_broadhead" "startingItem_3_0_qty" "15" "startingItem_3_1_qty" "10" "startingItem_3_2_qty" "5" "startingItem_4_item" "atdm:weapon_waterarrow" "startingItem_4_0_qty" "10" "startingItem_4_1_qty" "5" "startingItem_4_2_qty" "0" //"startingItem_5_item" "atdm:playertools_compass" //"startingItem_5_qty" "1" "startingItem_6_item" "atdm:playertools_lockpick_bent" "startingItem_6_qty" "1" "startingItem_7_item" "atdm:playertools_health_potion" "startingItem_7_0_qty" "1" "startingItem_7_1_qty" "0" "startingItem_7_2_qty" "0"
//items available for purchase:
"shopItem_1_item" "atdm:weapon_broadhead" "shopItem_1_0_qty" "25" "shopItem_1_1_qty" "15" "shopItem_1_2_qty" "10" "shopItem_2_item" "atdm:weapon_waterarrow" "shopItem_2_0_qty" "15" "shopItem_2_1_qty" "10" "shopItem_2_2_qty" "5" "shopItem_3_item" "atdm:weapon_firearrow" "shopItem_3_qty" "2" "shopItem_4_item" "atdm:weapon_ropearrow" "shopItem_4_qty" "4" "shopItem_5_item" "atdm:weapon_noisemaker" "shopItem_5_qty" "3" "shopItem_6_item" "atdm:playertools_flashbomb" "shopItem_6_0_qty" "5" "shopItem_6_1_qty" "3" "shopItem_6_2_qty" "1" "shopItem_7_item" "atdm:playertools_health_potion" "shopItem_7_0_qty" "3" "shopItem_7_1_qty" "2" "shopItem_7_2_qty" "1" "shopItem_8_item" "atdm:playertools_spyglass" "shopItem_8_qty" "1"