Archived copy of war3source.com, the War3Source forum (2009–2020), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2010-11-01 (original capture). Forum · All archived topics · Wiki · Bug tracker · Blog

War3:Source
November 01, 2010, 04:22:39 PM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: Download: http://war3source.com/index.php?board=9.0
What is War3Source?: http://war3source.com/index.php?topic=200.0
Sample Stats: http://war3source.com/war3stats
Steam Community Group: http://steamcommunity.com/groups/war3source

War3Source servers: http://www.game-monitor.com/search.php?vars=war3_version=
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Shop Menu Item Costs  (Read 112 times)
zero
Newbie
*
Posts: 23


View Profile Email
« on: October 16, 2010, 02:50:41 PM »

I know that war3_buyitems_csmoney makes it so that shop menu items cost money. However is there any way to adjust the cost of the individual items? Regardless of if your using money or credits you should be able to adjust the cost of any items as desired.

In addition is there should be a way to restrict the number of times an item can be purchased per round or death. This helps cap things like XP buys without making the cost crazy. So a player can buy a little XP every round or so but can not just sit there buying xp all day long.
Logged
Ownz
Developer
Administrator
Hero Member
*****
Posts: 917



View Profile WWW Email
« Reply #1 on: October 16, 2010, 02:52:00 PM »

item costs are in internal cvars
see console, type:
war3 cvarlist ankh
Logged

DarkEnergy
zero
Newbie
*
Posts: 23


View Profile Email
« Reply #2 on: October 16, 2010, 05:06:10 PM »

item costs are in internal cvars
see console, type:
war3 cvarlist ankh

I see that now, thanks! Also a limiter may still be an idea to put into future versions.

Also I see that I should have just run war3 cvarlist rather than cvarlist war3 to get all the cvars.
Logged
Ownz
Developer
Administrator
Hero Member
*****
Posts: 917



View Profile WWW Email
« Reply #3 on: October 16, 2010, 05:06:49 PM »

both have different cvars:
war3 cvarlist
cvarlist war3
Logged

DarkEnergy
zero
Newbie
*
Posts: 23


View Profile Email
« Reply #4 on: October 16, 2010, 05:14:12 PM »

both have different cvars:
war3 cvarlist
cvarlist war3

Yea I realized that when I actually read over the entire list. I assume I can place cvars from both lists in war3source.cfg

Also does it matter if there is a lot of spaces in the cfg file:
Code:
        war3_assistgold                          "1"        //
         war3_autosavetime                        "60"       //
         war3_bug_to_my_db                        "0"        //send war3bug messages to your own database?
         war3_buyitems_csmoney                    "0"        //In CS, use cs money to buy shopmenu items
         war3_chancemodifier_burn                 "0"        //From 0.0 to 1.0 chance modifier for burns
         war3_chancemodifier_directburn           "0"        //From 0.0 to 1.0 chance modifier for direct burns (plasma)
         war3_chancemodifier_heavy                "0"        //From 0.0 to 1.0 chance modifier for heavy gun
         war3_chancemodifier_medic                "0"        //From 0.0 to 1.0 chance modifier for medic needle gun
         war3_chancemodifier_sentry               "0"        //From 0.0 to 1.0 chance modifier for sentry
         war3_chancemodifier_sentryrocket         "0"        //From 0.0 to 1.0 chance modifier for sentry rockets
         war3_chancemodifier_smgsniper            "0"        //From 0.0 to 1.0 chance modifier for sniper SMG
         war3_command_blocking                    "0"        //block chat commands from showing up
         war3_crypt_locust_cooldown               "20"       //Cooldown between ultimate usage
         war3_crypt_locust_range                  "800"      //Range of locust ultimate
         war3_game_desc                           "1"        //change game description to war3source? does not affect player connect
         war3_human_teleport_cooldown             "20"       //Cooldown between teleports
         war3_hunter_voodoo_cooldown              "20"       //Cooldown between Big Bad Voodoo (ultimate)
         war3_ignore_bots_xp                      "0"        //Set to 1 to not award XP for killing bots
         war3_item_restrict                       "0"        //Disallow items in shopmenu, shortname separated by comma only ie:'claw,orb'
         war3_killgold                            "2"        //

Or do I need to make everything only one space from the cvar?

Also I see that on the wiki it lists things like war3_orc_minlevel in the full cvar list however the actual interlan cvar is orc_minlevel. Which one should be used within war3source.cfg ?

Edit: realized it needs to be listed as war3 orc_minlevel as that all internal commands when used in the cfg file require war3 before them to register.
« Last Edit: October 16, 2010, 05:52:47 PM by zero » Logged
Shark_267
Newbie
*
Posts: 34


Admin Arsenall.net


View Profile WWW
« Reply #5 on: October 22, 2010, 01:19:53 AM »

Yea I realized that when I actually read over the entire list. I assume I can place cvars from both lists in war3source.cfg

Also does it matter if there is a lot of spaces in the cfg file:
Code:
        war3_assistgold                          "1"        //
         war3_autosavetime                        "60"       //
         war3_bug_to_my_db                        "0"        //send war3bug messages to your own database?
         war3_buyitems_csmoney                    "0"        //In CS, use cs money to buy shopmenu items
         war3_chancemodifier_burn                 "0"        //From 0.0 to 1.0 chance modifier for burns
         war3_chancemodifier_directburn           "0"        //From 0.0 to 1.0 chance modifier for direct burns (plasma)
         war3_chancemodifier_heavy                "0"        //From 0.0 to 1.0 chance modifier for heavy gun
         war3_chancemodifier_medic                "0"        //From 0.0 to 1.0 chance modifier for medic needle gun
         war3_chancemodifier_sentry               "0"        //From 0.0 to 1.0 chance modifier for sentry
         war3_chancemodifier_sentryrocket         "0"        //From 0.0 to 1.0 chance modifier for sentry rockets
         war3_chancemodifier_smgsniper            "0"        //From 0.0 to 1.0 chance modifier for sniper SMG
         war3_command_blocking                    "0"        //block chat commands from showing up
         war3_crypt_locust_cooldown               "20"       //Cooldown between ultimate usage
         war3_crypt_locust_range                  "800"      //Range of locust ultimate
         war3_game_desc                           "1"        //change game description to war3source? does not affect player connect
         war3_human_teleport_cooldown             "20"       //Cooldown between teleports
         war3_hunter_voodoo_cooldown              "20"       //Cooldown between Big Bad Voodoo (ultimate)
         war3_ignore_bots_xp                      "0"        //Set to 1 to not award XP for killing bots
         war3_item_restrict                       "0"        //Disallow items in shopmenu, shortname separated by comma only ie:'claw,orb'
         war3_killgold                            "2"        //

Or do I need to make everything only one space from the cvar?

Also I see that on the wiki it lists things like war3_orc_minlevel in the full cvar list however the actual interlan cvar is orc_minlevel. Which one should be used within war3source.cfg ?

Edit: realized it needs to be listed as war3 orc_minlevel as that all internal commands when used in the cfg file require war3 before them to register.
I too have made War3Config.cfg a file. For example, there has registered the following:
Code:
war3_percent_roundwinxp "5"
war3_percent_headshotxp "100"        

At me variables haven't changed in game. What do I do not so?
Logged
Ownz
Developer
Administrator
Hero Member
*****
Posts: 917



View Profile WWW Email
« Reply #6 on: October 22, 2010, 08:33:04 AM »

case sensitive file name?
Logged

DarkEnergy
Shark_267
Newbie
*
Posts: 34


Admin Arsenall.net


View Profile WWW
« Reply #7 on: October 23, 2010, 05:16:55 PM »

case sensitive file name?
This file is carried out, because other commands are carried out, for example:
Code:
war3 undead_minlevel 0
war3 human_minlevel 10
war3 orc_minlevel 20
These cvars are appropriated.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!