for 1. and 2. search war3ft.cfg
Found this, but I don't know what to change, and there is an xp Radius but it doesn't work or do I need to add a command for giving xp when objective is completed?
// Experience Options
wc3_xp_multiplier 1.0 // set the level required to gain a level as a multiple (default 1.0)
wc3_xp_weap_multiplier 1 // Award XP based on the weapon used (default is 1)
wc3_min_players 2 // Minimum amount of players needed b4 awarding XP (default is 2)
wc3_xp_auto_average 0 // With this option set to 1, the joining players will receive the average amount of XP that all of the players have (SHORT TERM XP ONLY, default is 0)
wc3_show_objectives 1 // If enabled, will display message in chat to show XP they gain for completing certain objectives (default is 1)
wc3_show_kill_obj 0 // Shows how much XP you gain for killing someone (each kill, default is 0)
wc3_xp_radius 1000 // Radius to give XP to teammates near where the special objective is completed (rescued hosties, bomb planted, killed vip, vip escaped, default is 750)
3) Found in war3ft.inl - like war3ft_init
What is the lines called and what do I change?
4) items.inl - they're in an initialization function
I found this, am I on the right track?
// We created this to allow for different prices of items at different levels
ITEM_Cost( id, iItem )
{
// How much should ratio increase per level?
new Float:fInc = ( 1.0 - ITEM_COST_RATIO ) / float( MAX_LEVELS );
// Cost * ratio (ITEM_COST_RATIO to 1.0 dependent on level)
new Float:fRatio = (float( p_data[id][P_LEVEL] ) * fInc) + ITEM_COST_RATIO;
return floatround( float( ITEM_COST[iItem] ) * fRatio );
}
What do I change here so Item prices will stay on these prices for all levels?
ITEM_COST[ITEM_ANKH] = 1500; // Ankh of Reincarnation
ITEM_COST[ITEM_BOOTS] = 2500; // Boots of Speed
ITEM_COST[ITEM_CLAWS] = 1000; // Claws of Attack
ITEM_COST[ITEM_CLOAK] = 800; // Cloak of Shadows
ITEM_COST[ITEM_MASK] = 2000; // Mask of Death
ITEM_COST[ITEM_NECKLACE] = 800; // Necklace of Immunity
ITEM_COST[ITEM_FROST] = 2000; // Orb of Frost
ITEM_COST[ITEM_HEALTH] = 1000; // Periapt of Health
ITEM_COST[ITEM_TOME] = 4000; // Tome of Experience
ITEM_COST[ITEM_SCROLL] = 6000; // Scroll of Respawning
ITEM_COST[ITEM_PROTECTANT] = 1500; // Mole Protectant
ITEM_COST[ITEM_HELM] = 3000; // Helm of Excellence
ITEM_COST[ITEM_AMULET] = 1500; // Amulet of the Cat
ITEM_COST[ITEM_SOCK] = 1500; // Sock of the Feather
ITEM_COST[ITEM_GLOVES] = 1750; // Flaming Gloves of Warmth
ITEM_COST[ITEM_RING] = 1000; // Ring of Regeneration + 1
ITEM_COST[ITEM_CHAMELEON] = 9000; // Chameleon
ITEM_COST[ITEM_MOLE] = 16000; // Mole