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

Help with a hero modification


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
WiLD10k
Junior Member
Join Date: Dec 2011
Location: Denmark
Old 01-03-2012 , 12:57   Help with a hero modification
Reply With Quote #1

So, i need some help modifying a hero named "Osama", the ONLY thing it needs to extra is to AUTO-DROP at lvl 8...How to do that?

If someone could modify the sma file so i would auto-drop i would be more then pleased, Thanks you so much in advance
Attached Files
File Type: sma Get Plugin or Get Source (sh_osama.sma - 542 views - 3.6 KB)
WiLD10k is offline
The Art of War
Veteran Member
Join Date: Dec 2009
Location: Sweden Rock Festival
Old 01-06-2012 , 07:41   Re: Help with a hero modification
Reply With Quote #2

Use this, it's must easier.

http://forums.alliedmods.net/showthread.php?t=172501
__________________
The Art of War is offline
WiLD10k
Junior Member
Join Date: Dec 2011
Location: Denmark
Old 01-08-2012 , 22:24   Re: Help with a hero modification
Reply With Quote #3

Soo, i downloaded the required files but i dont really get how to add the hero into the "hero_restrict.ini"

Quote:
Configuration
copy the hero_restrict.ini to your amxmodx/configs/shero directory and list all the heroes you wish to restrict within.
Code:
;This file is used to tell sh_restricter which heros are restricted to specific user flags and/or max level caps
;it should be located in the configs/shero/ directory

;Basic format is as follows
;!<admin flags/ or the max level>
;<heroname1> <heroname2>        heros which are restricted by the specified flags
;<heroname3> ...            can also seperate by newline not just space if need be

;you can create more than 1 group for a specific set of flags i.e. you  can set differant levels of admin restricted heroes (vip, lower admin,  higher admin, etc)
;keep in mind that hero's which are more than 1 word long should be put in between "" so plugin doesn't assume otherwise
;Example usage:

;!t
;Anubis Bass Beast "Black Panther"
;Bazooka BombSquad

;!ahg
;"Captain America" 
;"Crimson Chin"

;!7
;Mario "Soccer Freak"

;=========END EXAMPLE=================

Could you explain what to do? I dont get that "Example" due it might be more simple than i understand with ma brain..
WiLD10k is offline
Jelle
[b]MOAR CANDY[/b]
Join Date: Aug 2009
Location: Denmark
Old 01-08-2012 , 23:18   Re: Help with a hero modification
Reply With Quote #4

When you have ";" in front of something in a .ini file for AMX mod X, it uses it as a comment (can also be "//" or "*/TEXT*/").

When you have two name, as in "Soccer Freak" you need to put quotes around the words, else it will think that it is two different heroes, which means it wont work.

In the file, to make Soccer Freak a max level 7 hero simply do this:

Code:
!7
"Soccer Freak"
If you want to add let's say Bazooka to max level 7 along with Soccer Freak, do this:

Code:
!7
"Soccer Freak" Bazooka
The letters is what admin flag a client need to have, before being able to use the hero.
__________________
No idea what to write here...
Jelle is offline
Send a message via MSN to Jelle
WiLD10k
Junior Member
Join Date: Dec 2011
Location: Denmark
Old 01-09-2012 , 02:26   Re: Help with a hero modification
Reply With Quote #5

Sp basicly all i need to to is this if the hero "Osama" needs to be dropped at lvl 8 is type this under ";======END EXAMPLE=========="

!8 Osama
And that should do the trick?
WiLD10k is offline
G-Dog
Senior Member
Join Date: Dec 2005
Location: Thunderstorm Central
Old 01-09-2012 , 09:27   Re: Help with a hero modification
Reply With Quote #6

Code:
!8
Osama
if you put the Osama on the same line as the signifier like that it won't read it which is why you need it on the next line like this

@Jelle/art: do you guys have that link binded to some macro to just automatically respond with these type requests because I keep seeing you 2 respond with it
__________________
If at first you don't succeed, then skydiving isn't for you.

Last edited by G-Dog; 01-09-2012 at 09:29.
G-Dog is offline
Send a message via AIM to G-Dog
Jelle
[b]MOAR CANDY[/b]
Join Date: Aug 2009
Location: Denmark
Old 01-09-2012 , 09:34   Re: Help with a hero modification
Reply With Quote #7

Quote:
Originally Posted by G-Dog View Post
@Jelle/art: do you guys have that link binded to some macro to just automatically respond with these type requests because I keep seeing you 2 respond with it
I am usually not the one who gives the link. I believe people should have been searching for a solution before asking, but we still need life in this forum, so I just don't answer to these types of questions, unless people have trouble, like in this case.
__________________
No idea what to write here...
Jelle is offline
Send a message via MSN to Jelle
The Art of War
Veteran Member
Join Date: Dec 2009
Location: Sweden Rock Festival
Old 01-10-2012 , 12:27   Re: Help with a hero modification
Reply With Quote #8

Quote:
Originally Posted by G-Dog View Post
Code:
!8
Osama
if you put the Osama on the same line as the signifier like that it won't read it which is why you need it on the next line like this

@Jelle/art: do you guys have that link binded to some macro to just automatically respond with these type requests because I keep seeing you 2 respond with it
Nah but I know the topic is located in Off-Topic so But I suppose it should be sticky but we all know that's not gonna happen :/
__________________
The Art of War is offline
Reply



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 05:05.


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