Jump to content

Head Hunter [Mini-Game]


Recommended Posts


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  392
  • Reputation:   47
  • Joined:  11/18/11
  • Last Seen:  

Head Hunter's Game

Note: I made this script long ago, so, I don't really remember how it works haha, but yeah here it is.

The Npc has an Admin Panel In Game so, you can pretty much edit everything from there.

headhuntersmenu.png

There're more options, not only these ones.

Register/Play (Default Max amount of Players: [ 8 ] ).

Register My Tag (The Tag is like a nickname that will show whenever you score some point(s) ).

If there's not 8 Players in Force_1-1 (waiting room) it will let you in, if there're 8 or more it will say "Arenas are full".

Once you're inside..you have to wait till the Current Match running ends (Match Max Time: 5 Minutes, probably gonna be reduced).

If there's no current match running, you gotta wait 10 seconds in waiting room plus there's gotta be 8 players in the waitingroom for the match to start.

Game:

You gotta Collect Skulls, you have to kill, you get the amount of skulls the player has in his inventory +1 (that is his own skull) you collect, you take them to the Current Hill, you can see the image right below this post...

The Hill:

Changes every 30 seconds randomly, it announces to where it has been change and well...the red dot flashing in your northeast map of your screen doesn't change well always, so its better if you just learn the hill numbers with the image below.

Respawn:

You gotta wait 5 seconds to respawn.

Game Traps:

These are traps are going to give you a random effect

• Stun

• Silence

• Curse

• Stone

• Sleep

• Quamarine

• Divest Shield

• Confusion

• Blind

• Bleed

• Freeze

• Poison

• Ankle Snare

Now..there's a probability of avoiding it, if you succeed avoiding it, you'll get Blessing Lvl 10 and Increase Agi Lvl 10 (Which will only last a couple of seconds).

Score System:

You gotta Score 15 points to win, but i've notice this slows up the matches...So im planning making it 10 only. If you Score 10 points in a row, you automaticly win (Planning making it 6 to speed up the matches).

Prize:

You can edit it yourself.

headhunters.png

Client Side:

idnum2itemdesctable.txt / num2itemdesctable.txt

3303#
A flaming skull taken from a Dead Player in Head Hunter's MiniGame.
Weight :  1
#

idnum2itemdisplaynametable.txt / num2itemdisplaynametable.txt

//Head Hunters
3303#Flaming_Skull#

idnum2itemresnametable.txt / num2itemresnametable.txt

//Head Hunters
3303#ÇØ°ñ¹Ù°¡Áö#

Server Side:

item_db2.txt

3303,Flame_Skull,Flame_Skull,3,1044,,10,,,,,,,,,,,,,{},{},{}

item_trade.txt

3303,123,100

To edit prize:

getitem 22555,$HH_rbs;

Change the 22555 to any itemid you want.

ATTACHMENT IS AT END!

Credits: Me (Honor/Noah).

Oh and some extra mapflags, that should be added on as well.

lhz_cube	mapflag	noteleport
lhz_cube	mapflag	nosave	SavePoint
lhz_cube	mapflag	nobranch
lhz_cube	mapflag	nopenalty
lhz_cube	mapflag	nomemo
lhz_cube	mapflag	nowarp
lhz_cube	mapflag	nowarpto
lhz_cube	mapflag	noicewall
lhz_cube	mapflag	noreturn
lhz_cube	mapflag	nopvp

Edit: For the custom scripting command "alive" here's the source code.

script.c

Find:

struct script_function buildin_func[] = {

Paste this before it.

BUILDIN_FUNC(alive)
{
struct map_session_data* sd;
sd = map_id2sd(st->rid);

if(sd==NULL)
	return 0;

if(!status_revive(&sd->bl, 100, 100)){
	status_percent_heal(&sd->bl, 100, 100);
	clif_resurrection(&sd->bl, 1);
}
return 0;
}

Again in the same file;

Find:

{NULL,NULL,NULL},

Paste this before it.

BUILDIN_DEF(alive,""),

Recompile & Done~

PS: Link to where it was posted in Old_eAthena > HERE!

headhunter.txt

Edited by Noah
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   0
  • Joined:  11/22/11
  • Last Seen:  

lol..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

Instead of making a whole new item for the game, you can use an item that isn't already used in eAthena by NPCs, Mobs, etc. Overall, seems fun.

Edited by Mysterious
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  392
  • Reputation:   47
  • Joined:  11/18/11
  • Last Seen:  

Yeah I know but I wanted to make a new item, but its everyone's choice though, feel free to edit/modify it.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  626
  • Reputation:   188
  • Joined:  11/19/11
  • Last Seen:  

Why do you create an new script command instead of using the atcommand @alive o.o?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...