PDA

View Full Version : Hero: Noob (AssKicR)


Chivas2973
07-22-2004, 20:01
Noob

Description
exploding deagle shots - U WILL HAVE A DEAGE WITH 3 EXPLODING SHOTS!!

CVARS
//Noob
noob_level 0
noob_arrows 3 //How many Arrows does he get each round
noob_getdeagle 1 //Does he get a free scout on respawn.

ApeX EcheloN
01-26-2005, 15:36
Can SomeOne Make a Amx Mod X Version

eman
01-26-2005, 16:23
wow dude stop spamming ur amxx crap, if u want something done, do it urself or just wait till some1 gets to it

ApeX EcheloN
01-28-2005, 20:30
Obviously i dont know how to do it myself if i did i would have done it that day. Just seeing if somebody would be generous and do it for all the ppl that dont know how.

jtp10181
01-28-2005, 23:15
it will get done when it gets done, you spamming just makes me want to do it less so cut it out.

notusian
01-29-2005, 16:19
Alright i did it in about 10 minutes NOOB FOR AMXX
cvars that work are:
noob_arrows //amount of exploding shots (not too high) //def 7
noob_getdeagle //does noob player get a dealge (0,1) //def 0
noob_level //level for noob //def 0

---------------------
EDIT (Moderator): Attachment removed due to hero being temp updated in the main post.

Mikethegreat42
03-08-2005, 22:58
Gots a question i have high level people usin noob on my server and i want to know how i can limmit it to people like lvl 4 and only them or 2-4 is it possible?

kanu | DarkPredator
03-09-2005, 00:09
yes it is possible this has been talked about many times

Fabolous1
10-27-2005, 21:07
Is this the one with max level?

vittu
10-27-2005, 21:18
no it's here for now - http://forums.alliedmods.net/showthread.php?t=33576

Fabolous1
10-28-2005, 15:40
Thank you

ry4nxs
03-29-2006, 21:54
man this is soo cool this is just like green arrow but this time i get to us e a deagle!!

rederlt
07-05-2007, 14:17
I'd like that someone would add Model in to code with Desert Eagle With Laser for +karma of course . ;)

Clanmta
07-06-2007, 18:48
is there a noob power that gives u XP when killing others

prostatapimpn
11-17-2007, 17:28
great for beginners on my server, smacking off the high lvls then killing the lower ones :)

Alfyan
12-03-2007, 14:18
a bit overpowered.. but okay for low lvls

micke1101
02-05-2008, 12:55
many likes this on my server so thanks but can someone fix the bugs when i have the deagle and i see an enemy its aumatic follows the enemy and shaking werry mush plz someone would be verry happy

Fr33m@n
07-27-2009, 12:04
Noob v2.1
Originally created by AssKicR

Description
Exploding Deagle Shots - Deagle with 3 Exploding Shots/Unlimited Ammo

v2.0 - Fr33m@n - 7/11/09
- Complete rework of entire code (runtime error fixed)
- Updated to be SH 1.2.0 compliant, removed amx compatibility
- Added reloadmode stuff

v2.1 - Fr33m@n 10/28/09
- Use of SH_DMG_KILL param instead of use damage = get_user_health(victim)
- Removed one sprite who don't work well with the tracer

shconfig.cfg CVARS
//Noob
noob_level 0
noob_arrows 3 //How many arrows does he get each round**SuperHero Mod 1.2.0 & up ONLY**

// 0-follow server sh_reloadmode cvar setting [Default]
// 1-no reload, continuous shooting
// 2-reload, but backpack ammo never depletes
// 3-drop weapon and get a new one with full clip
// 4-normal cs, reload and backpack ammo depletes
#define AMMO_MODE 0

// Comment out to not give a free Deagle
#define GIVE_WEAPON

Fr33m@n
07-27-2009, 12:29
vittu do you want to add level limit in the core ? (for the next version)


Noob v2.2 (with a max level cvar)

shconfig.cfg CVARS
//Noob
noob_level 0
noob_arrows 3 //How many arrows does he get each round
noob_maxlevel 7 //Max level allowed to use this power

**SuperHero Mod 1.2.0 & up ONLY**

// 0-follow server sh_reloadmode cvar setting [Default]
// 1-no reload, continuous shooting
// 2-reload, but backpack ammo never depletes
// 3-drop weapon and get a new one with full clip
// 4-normal cs, reload and backpack ammo depletes
#define AMMO_MODE 0

// Comment out to not give a free Deagle
#define GIVE_WEAPON

vittu
08-12-2009, 14:05
i will se for a level limit version sh 1.2.0

vittu do you want to add level limit in the core ? (for the next version)
I thought about doing that at one point, but that would require a bit too much editing that I am not prepared to do and would need to make some kind of notification of the level limit (ie. how to tell the player hero is only available from level 4-14)...


The native would be a simple change that would still be compatible with currently coded heroes via:
native sh_create_hero(const heroName[], pcvarMinLevel, pcvarMaxLevel);

Fr33m@n
08-24-2009, 05:19
Noob with max level cvar added. see page 2.

maybe this hero can became a max level cvar tutorial for sh 1.2.0 heroes.

vittu, do you have a better way for this part ?


plugin_init()
{
...

register_srvcmd("noob_levels", "noob_levels")
shRegLevels(gHeroName,"noob_levels")
}

public noob_levels()
{
new id[5]
read_argv(1,id,4)
noob_checklevel(str_to_num(id))
}

vittu
08-24-2009, 12:43
vittu, do you have a better way for this part ?


plugin_init()
{
...

register_srvcmd("noob_levels", "noob_levels")
shRegLevels(gHeroName,"noob_levels")
}

public noob_levels()
{
new id[5]
read_argv(1,id,4)
noob_checklevel(str_to_num(id))
}


Yes, there is a lot of new cool natives I created to make it easier to do things. You just need to check the include:
/**
* Gets the client's current level.
*
* @param id The index of the client.
* @return The current level of the client.
*/
native sh_get_user_lvl(id);

Fr33m@n
08-24-2009, 17:14
allready used this native. see sma.

this part was just for check when players level up. it's automatically drop the hero. (not at spwan or in another event...)

i don't use this part for have the level of the user. i used sh_get_user_lvl(id) for this.

vittu
08-24-2009, 17:25
allready used this native. see sma.

this part was just for check when players level up. it's automatically drop the hero. (not at spwan or in another event...)

i don't use this part for have the level of the user. i used sh_get_user_lvl(id) for this.I don't understand your question then because that is exactly and the only thing that code did that you posted was check the users level.

Fr33m@n
08-24-2009, 17:33
what is the event when a player level up or win a level (automatically when level up, not at spwan or something later) ?

(not talking about sh_get_user_lvl(id) )

vittu
08-24-2009, 18:17
what is the event when a player level up or win a level (automatically when level up, not at spwan or something later) ?

(not talking about sh_get_user_lvl(id) )Oh yea I didn't see a reason to create a forward to tell you the exact time a players level changed. Especially since the manner heroes were using level checking was just to check the users level, not be told when it was changed.

If you want a forward that badly put in a request (http://fs.alliedmods.net/index.php?project=7)for it and I'll see what I can do.

Fr33m@n
08-24-2009, 18:49
remove this part by making a check in CurWeapon event. basically do the same.

vittu
08-24-2009, 19:34
remove this part by making a check in CurWeapon event. basically do the same.Why is not hero choice and spawn enough?

Fr33m@n
10-30-2009, 08:25
Noob updated :

v2.1(2.2) - Fr33m@n 10/28/09
- use of SH_DMG_KILL param instead of use damage = get_user_health(victim)
- removed one sprite who don't work well with the tracer.

Noob v2.1 (http://forums.alliedmods.net/showpost.php?p=883091&postcount=18)
Noob v2.2(with a max level cvar) (http://forums.alliedmods.net/showpost.php?p=883113&postcount=19)
needed : sh 1.2.0.10

Moke
11-02-2009, 16:53
nice i just uploaded it