Editing Elf Evasion Skill level

Read log files for errors! If this fails, come here for help

Moderator: Forum Moderator

Post Reply
Mikolas
Peon
Posts: 38
Joined: Tue Mar 18, 2008 8:07 pm

Editing Elf Evasion Skill level

Post by Mikolas » Tue May 20, 2008 7:49 pm

Hi, I just have a small question concerning what is written on the topic post. The warcraft 3 frozen throne runs fine, I have no issues with that, the gameplay is what concerns me. Much to anybody's knowledge in playing warcraft 3 FT, knows that elves have a great advantage in scouting/awping maps. It is rather frustrating to take one hit kills, and need to shoot them 4 times just to kill them. Anyway, I was wondering if there is a way for me to edit the elf evasion skill levels, I wish to lower it.

I would assume taking the sma file and editing it there (where is it located anyway?), recompiling and installing it back on the server would be the obvious answer. However, according to the former person who worked on my server, I was told that if I were to make any changes on skill levels for war3, I would have to do it at the very beginning before I add other mods. He said that I would have to reinstall the server over again if I wanted to make any changes to the skill levels. This was some time ago before I knew anything about server management, but I do not want to risk doing a reinstallation. Will it be ok to just change the skills without risking anything or reinstalling my server? Thanks in advance for any help.


--- Please enter the following information for support ---
War3ft Version: 2.3.2 frozen throne
Amxmodx Version: 1.71
Metamod Version: 1.19
amxx list:
name version author file status
[ 1] Admin Base 1.71 AMXX Dev Team admin.amxx running
[ 2] Admin Commands 1.71 AMXX Dev Team admincmd.amxx running
[ 3] Admin Help 1.71 AMXX Dev Team adminhelp.amxx running
[ 4] Multi-Lingual Sys 1.71 AMXX Dev Team multilingual.am running
[ 5] Menus Front-End 1.71 AMXX Dev Team menufront.amxx running
[ 6] Commands Menu 1.71 AMXX Dev Team cmdmenu.amxx running
[ 7] Players Menu 1.71 AMXX Dev Team plmenu.amxx running
[ 8] Teleport Menu 1.71 AMXX Dev Team telemenu.amxx running
[ 9] Maps Menu 1.71 AMXX Dev Team mapsmenu.amxx running
[ 10] Admin Chat 1.71 AMXX Dev Team adminchat.amxx running
[ 11] Anti Flood 1.71 AMXX Dev Team antiflood.amxx running
[ 12] Scrolling Message 1.71 AMXX Dev Team scrollmsg.amxx running
[ 13] Info. Messages 1.71 AMXX Dev Team imessage.amxx running
[ 14] Admin Votes 1.71 AMXX Dev Team adminvote.amxx running
[ 15] NextMap 1.71 AMXX Dev Team nextmap.amxx running
[ 16] TimeLeft 1.71 AMXX Dev Team timeleft.amxx running
[ 17] Pause Plugins 1.71 AMXX Dev Team pausecfg.amxx running
[ 18] Stats Configurati 1.71 AMXX Dev Team statscfg.amxx running
[ 19] Restrict Weapons 1.71 AMXX Dev Team restmenu.amxx running
[ 20] StatsX 1.71 AMXX Dev Team statsx.amxx running
[ 21] CS Misc. Stats 1.71 AMXX Dev Team miscstats.amxx running
[ 22] CS Stats Logging 1.71 AMXX Dev Team stats_logging.a running
[ 23] Warcraft 3 Frozen 2.3.2 Geesu==(Pimp Dad warcraft3FT.amx debug
[ 24] AMX Super 3.7 Bmann_420 & Bo0m amx_super.amxx debug
[ 25] DeagsMapManager 3.0 Deags/AMXX Commu deagsmapmanager running
[ 26] AMX Bank 1.7 twistedeuphoria amx_bank.amxx running
[ 27] Autoresponder/Adv 0.5 MaximusBrood ad_manager.amxx running
[ 28] Team Balancer 1.8b3 Ptahhotep ptb.amxx running
[ 29] Play or Be Kicked 1.4 Brad Jones pbk.amxx running
[ 30] No Rush 2.0 GHW_Chronic GHW_No_Rush.amx running
[ 31] Real Nade Drops 0.4 VEN realnadedrops.a running
[ 32] Descriptive 'Fire 0.1 VEN descriptive_fir running
[ 33] Grenades Are Heav 1.0 AssKicR grenades_are_he running
[ 34] FrostNades 0.12b Avalanche frostnades.amxx running
34 plugins, 34 running
amxx modules:
21:41:23 Currently loaded modules:
name version author status
[ 1] Fun 1.71 AMX Mod X Dev Team running
[ 2] Engine 1.71 AMX Mod X Dev Team running
[ 3] FakeMeta 1.71 AMX Mod X Dev Team running
[ 4] CStrike 1.71 AMX Mod X Dev Team running
[ 5] CSX 1.71 AMX Mod X Dev Team running
[ 6] Sqlite 1.70 AMX Mod X Dev Team running
6 modules, 6 correct
meta list:
Currently loaded plugins:
description stat pend file vers src load unlod
[ 1] AMX Mod X RUN - amxmodx_mm.dll v1.71 ini ANY ANY
[ 2] E[POD]bot RUN - epb.dll v5.30 ini Start Never
[ 3] Fun RUN - fun_amxx.dll v1.71 pl1 ANY ANY
[ 4] Engine RUN - engine_amxx.dll v1.71 pl1 ANY ANY
[ 5] FakeMeta RUN - fakemeta_amxx.dl v1.71 pl1 ANY ANY
[ 6] CStrike RUN - cstrike_amxx.dll v1.71 pl1 ANY ANY
[ 7] CSX RUN - csx_amxx.dll v1.71 pl1 ANY ANY
7 plugins, 7 running

WG
Peon
Posts: 4
Joined: Wed Jun 06, 2007 12:23 pm

Re: Editing Elf Evasion Skill level

Post by WG » Wed May 21, 2008 7:28 am

Mikolas wrote:I would assume taking the sma file and editing it there (where is it located anyway?), recompiling and installing it back on the server would be the obvious answer.
You are absolutely right.
change to [Counter Strike]\cstrike\addons\amxmodx\scripting
in war3ft\constants.inl edit line number 701:

Code: Select all

new const Float:p_evasion[3] =			{0.1,0.175,0.25}		// Evasion					(skill 1)
compile warcraft3FT.sma to get warcraft3FT.amxx and move the latter to [Counter Strike]\cstrike\addons\amxmodx\plugins

Mikolas
Peon
Posts: 38
Joined: Tue Mar 18, 2008 8:07 pm

Post by Mikolas » Wed May 21, 2008 12:29 pm

Well thank you sir for confirming what I need to do.

And you mean on top of taking the war3 ft sma file, finding the line to edit, converting it back to amxx, I also must go to amxmodx/scripting/war3ft/constants.inl and edit that line as well? I didn't understand what you meant by "change to".

But the question remains, is it save for me to do so without risking anything to the server? I don't want to have to reinstall all these mods and all the specific settings that I possibly can't remember.

EDIT: Ok, beforehand I was kind of sure what I had to do, but the more times I read your instructions, the more baffled I got... I think I confused myself -_-.
I took a peek inside war3 ft sma file and found nothing on elf evasion skill, so it isn't that file that I should be editing? So if I go to scripting and edit the line that you described to me, what do I do with it after?

User avatar
YamiKaitou
Forum Moderator
Forum Moderator
Posts: 1925
Joined: Wed Feb 01, 2006 4:33 pm
Contact:

Post by YamiKaitou » Wed May 21, 2008 1:04 pm

war3ft/constants.inl is where you are doing the edit
Image

No support via PM or Email

Mikolas
Peon
Posts: 38
Joined: Tue Mar 18, 2008 8:07 pm

Post by Mikolas » Wed May 21, 2008 1:29 pm

Ok, so war3ft/constants.inl is the only thing I'll be editing. What do I do with it after sir? I wasn't aware editing anything in the scripting folder and leaving it at that would change the server.

Mikolas
Peon
Posts: 38
Joined: Tue Mar 18, 2008 8:07 pm

Post by Mikolas » Wed May 21, 2008 1:49 pm

Ok so I was reading previous threads, and it looks like the same thing I was asking is highly repetitive for you YamiKaitou =/. I apologize, I read one of the threads and THINK i have an understanding of what exactly I must do. For the sake of assurance, I must:

1. go to addons/amxmodx/scripting/war3ft/constants.inl
2. Edit the following code to desirable numbers.
new const Float:p_evasion[3] = {0.1,0.175,0.25} // Evasion (skill 1)
3. Save and replace the old constants.inl with the edited version.
4. Take the warcraft3ft.sma file in addons/amxmodx/scripting and compile to amxx
5. Replace old amxx file with new.

I hope this is the correct procedure? What I don't understand is how the sma file is now different then the old one just because I changed something in the .inl file, since I didn't do anything to the sma file at all. If I got the idea completely wrong, please correct my procedure.

Lastly, I can do this without having to reinstall my server? And I can use 2.3.2 with the new amxmodx? I thought it was incompatible or unstable together.

Thank you for your time guys.

User avatar
YamiKaitou
Forum Moderator
Forum Moderator
Posts: 1925
Joined: Wed Feb 01, 2006 4:33 pm
Contact:

Post by YamiKaitou » Wed May 21, 2008 2:23 pm

Yes.

It is different because it is including the constats.inl file.

Yes.

Yes, but it is not recommended and you will get no support for it.
Image

No support via PM or Email

Mikolas
Peon
Posts: 38
Joined: Tue Mar 18, 2008 8:07 pm

Post by Mikolas » Wed May 21, 2008 3:52 pm

Yup yup, I seem to have gotten it to work. However....

#if MOD == 0
new const Float:p_unholy[3] = {270.0,290.0,310.0} // Unholy Aura (skill 2)
#endif
#if MOD == 1
new const Float:p_unholy[3] = {25.0,50.0,100.0} // Unholy Aura (skill 2)
#endif

If I wanted to increase undead speed, which one of those two would I have to change?

Additionally, for some reason

new const Float:p_grenade[3] = {2.0,3.0,4.0} // Critical Grenade (skill 2)

Changing it to 2, 2.5, 3.0. The 2.5 does not display but remains as 2 (2,2,3) when typing skillsinfo. Is this just a viewing problem?

Post Reply