Raised This Month: $12 Target: $400
 3% 

How to install heroes (For Beginners)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kanatzu
Veteran Member
Join Date: Oct 2007
Location: Sweden
Old 05-26-2010 , 07:56   How to install heroes (For Beginners)
Reply With Quote #1

Well, this is a tutorial I made awhile ago.
Reccently posted it in a public topic, but "someone" thought i should make a new topic.


And yeah, the old "Beginners Guide" is kinda old and not as easy to read as mine. I took time doing this tutorial in detail.
Feel free to give'me critic.


Please correct any errors in this "tutorial" if you find any.
Also note that i am not a pro in any way, this is basics.
My native language is NOT English.

This is a basic tutorial for beginners.


Hope this helps.


.: Up-To-Date :.

Install latest the latest AmxModX verision.
Also install latest SuperHero Mod.

Note: Do not use SuperHero Mod's "auto-installer".

.: Downloads :.


I'll choose the Jolt hero as example in this "tut".


First make sure You got all requirements for the hero.
  • Download the source. (sma file.)
  • Put the source into this folder

    Quote:
    server/cstrike/addons/amxmodx/scripting
  • Some heroes includes additional files. Those files is a requirement for the Hero to work correctly.
  • It's usually mdl, spr and wav files.
  • This is of course needed for heroes that re-skins weapons or players.
    Also needed for heroes which uses custom sounds when used. Same with sprites (spr).
  • You just have to put them in following direction(s)
  • Models goes into

    Quote:
    server/cstrike/models/shmod
  • Sounds goes into

    Quote:
    server/cstrike/sound/shmod
  • Sprites goes into

    Quote:
    server/cstrike/sprites/shmod
  • Make sure to put them in correct direction.

.: Compile :.

  • Compile it localy.
  • Execute following

    Quote:
    server/cstrike/addons/amxmodx/scripting/compile.exe
  • Note that you don't have to do this one time for every source. It compiles all source's in your scripting folder into amxx files (Will explain at next step.).

.: Amxx File Into Server :.
  • If the Compile works as it should, you should now have a new folder or just the folder by default.
  • The source code is now transformed into amxx file, so the server may read it.
  • Now, take the compiled hero from this direction in this case

    Quote:
    server/cstrike/addons/amxmodx/scripting/compiled/sh_jolt.amxx
  • Move this amxx file into following direction

    Quote:
    server/cstrike/addons/amxmodx/plugins

.: Activate Hero :.
  • Now how to activate the hero!
  • To activate the hero you must open following configuration file, the default direction is

    Quote:
    server/cstrike/addons/amxmodx/configs/plugins-shero.ini
  • If you don't auto-open this file with any text software, Just open this file with notepad or wordpad.
  • The first 9 lines or so just chooses how you wanna save the Exp. Do not touch if you do not know what you're doing.
  • Under that part you wanna write the exact file name of the hero we wanna activate. In this case the Jolt Hero. We know that the name of that hero's amxx file is "sh_jolt.amxx". So we just have to write it in this configuration file.
  • An example of a "plugins-shero.ini" may be;

    Quote:
    //Add Heroes Here

    sh_akasha.amxx
    sh_bass.amxx
    sh_batgirl.amxx
    sh_beast.amxx
    sh_chucky.amxx
    sh_frieza.amxx
    sh_jolt.amxx
    sh_mario.amxx
    sh_penguin.amxx
    sh_phoenix.amxx
    sh_poisonivy.amxx
    sh_probe.amxx
    sh_punisher.amxx
    sh_slayer.amxx
    sh_staticshock.amxx
    sh_skulk.amxx
    sh_veronika.amxx
  • Just write in the Jolt amxx file name as i did in this list. (I usually do it in alphabetical order, makes it easier for the next step.)

.: Configurations :.
  • Now we need to configurate the hero for Your own needs.
  • Locate following CFG file (Open with any text)

    Quote:
    server/cstrike/addons/amxmodx/configs/shero/shconfig.cfg
  • The top of this config is general settings for Exp etc.
  • Look at the Jolt Heroes page for CVars. (CVars = basically settings.)
  • Jolt's CVars is very easy and short. Since it needs no other then level setting.

    Quote:
    //Jolt
    jolt_level 4
  • The default amount is often currently active. (It's written in the source code from begining, but this config file let us change that.)
  • Just copy-paste the CVar(s) into the list and choose whatever amount you want. As you might understand "jolt_level" decides what level the hero is available at.

.: Done :.


If you made every step correctly, The Hero will now be activated and work in-game.



------


Regards
//Viktor B.N.
__________________




Quote:
Originally Posted by wrecked_ View Post
Stop saying words before I sodomize you with a cucumber.
kanatzu is offline
Send a message via MSN to kanatzu
Jelle
[b]MOAR CANDY[/b]
Join Date: Aug 2009
Location: Denmark
Old 05-26-2010 , 10:04   Re: How to install heroes (For Beginners)
Reply With Quote #2

Great. Now everyone can see it when they search. Good job!
__________________
No idea what to write here...
Jelle is offline
Send a message via MSN to Jelle
Fr33m@n
Veteran Member
Join Date: May 2008
Location: France Marne
Old 05-26-2010 , 10:57   Re: How to install heroes (For Beginners)
Reply With Quote #3

i'm a noob and i have a linux server. my compiler in my scripting folder don't work. what can i do ?

try to answer that.
server/cstrike/addons/amxmodx/scripting
Fr33m@n is offline
The Art of War
Veteran Member
Join Date: Dec 2009
Location: Sweden Rock Festival
Old 05-26-2010 , 11:13   Re: How to install heroes (For Beginners)
Reply With Quote #4

What is it thats not working? You get strange errors whatever you try to compile, or is there no "compiled" folder or what? Backcompat enabled?
__________________
The Art of War is offline
kanatzu
Veteran Member
Join Date: Oct 2007
Location: Sweden
Old 05-26-2010 , 12:15   Re: How to install heroes (For Beginners)
Reply With Quote #5

Quote:
Originally Posted by Fr33m@n View Post
i'm a noob and i have a linux server. my compiler in my scripting folder don't work. what can i do ?

try to answer that.
server/cstrike/addons/amxmodx/scripting
Search on google "Online amxx compiler" :c

Hehe
__________________




Quote:
Originally Posted by wrecked_ View Post
Stop saying words before I sodomize you with a cucumber.
kanatzu is offline
Send a message via MSN to kanatzu
Fr33m@n
Veteran Member
Join Date: May 2008
Location: France Marne
Old 05-26-2010 , 14:52   Re: How to install heroes (For Beginners)
Reply With Quote #6

Not that i expected. i wanted you explain me how can i make a local compiler because this question will be asked by noob users.
Fr33m@n is offline
The Art of War
Veteran Member
Join Date: Dec 2009
Location: Sweden Rock Festival
Old 05-26-2010 , 15:34   Re: How to install heroes (For Beginners)
Reply With Quote #7

Download the amxx base pack?... I cant see any other way to do that
__________________
The Art of War is offline
kanatzu
Veteran Member
Join Date: Oct 2007
Location: Sweden
Old 05-26-2010 , 19:50   Re: How to install heroes (For Beginners)
Reply With Quote #8

Quote:
Originally Posted by Fr33m@n View Post
Not that i expected. i wanted you explain me how can i make a local compiler because this question will be asked by noob users.
I don't think i agree.



Besides that, This isn't a compiler tutorial.

Working compiler is a requirement.

And it's a part of AmxModX.
__________________




Quote:
Originally Posted by wrecked_ View Post
Stop saying words before I sodomize you with a cucumber.
kanatzu is offline
Send a message via MSN to kanatzu
The Art of War
Veteran Member
Join Date: Dec 2009
Location: Sweden Rock Festival
Old 05-27-2010 , 01:52   Re: How to install heroes (For Beginners)
Reply With Quote #9

I guess its possible to somehow create your own compiler, but I also guess that it wouldnt work if its not the one in the AMXx base package, as theres a lot of files and stuff needed. If they ask for how to create a local compiler, they havent got AMXx installed correctly or they havent even AMXx at all...
__________________
The Art of War is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:17.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode