Jump to content
  • 0

about pvp drop skull / bone


lents

Question


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  50
  • Reputation:   1
  • Joined:  06/02/13
  • Last Seen:  

can anyone help to tell me how to make this :
when character die on map (
guild_vs3, pvp_y_, 1-2 pvp_y_1-1, pvp_y_2-4, pvp_y_2-5)
drop : skull with the name of the character die

/thx

Link to comment
Share on other sites

10 answers to this question

Recommended Posts


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  


- script zehj -1,{

OnPCKillEvent:

.@map$ = strcharinfo(3);

if ( .@map$ == "guild_vs3" || .@map$ == "pvp_y_1-2" ) {

.@char_id = getcharid( 0,rid2name( killedrid ) );

getitem2 7420,1,1,0,0,254,0, ( .@char_id & 65535 ), ( .@char_id >> 16 );

}

end;

}

Link to comment
Share on other sites

  • 1

  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

On your conf/battle/player.conf

// Players' will drop a 'Skull' when killed?
// 0 = Disabled
// 1 = Dropped only in PvP maps
// 2 = Dropped in all situations
bone_drop: 0
Link to comment
Share on other sites

  • 1

  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

Did the character died on pvp maps? If so, then maybe you can change it to 2 and if it still insist then there should be a problem on your svn i guess.

 

// Players' will drop a 'Skull' when killed?
// 0 = Disabled
// 1 = Dropped only in PvP maps
// 2 = Dropped in all situations
bone_drop: 2
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  45
  • Reputation:   1
  • Joined:  10/09/18
  • Last Seen:  

On 7/8/2013 at 12:39 AM, Capuche said:

 



 

- script zehj -1,{

OnPCKillEvent:

.@map$ = strcharinfo(3);

if ( .@map$ == "guild_vs3" || .@map$ == "pvp_y_1-2" ) {

.@char_id = getcharid( 0,rid2name( killedrid ) );

getitem2 7420,1,1,0,0,254,0, ( .@char_id & 65535 ), ( .@char_id >> 16 );

}

end;

}

 

sir Capuche

how about removing the name of the player, just skull 7420 ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  50
  • Reputation:   1
  • Joined:  06/02/13
  • Last Seen:  

On your conf/battle/player.conf

// Players' will drop a 'Skull' when killed?
// 0 = Disabled
// 1 = Dropped only in PvP maps
// 2 = Dropped in all situations
bone_drop: 0

i have done like this : 

 

 
// Players' will drop a 'Skull' when killed?

// 0 = Disabled

// 1 = Dropped only in PvP maps

// 2 = Dropped in all situations

bone_drop: 1

 but when character die, still not drop

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  50
  • Reputation:   1
  • Joined:  06/02/13
  • Last Seen:  

Did the character died on pvp maps? If so, then maybe you can change it to 2 and if it still insist then there should be a problem on your svn i guess.

 

// Players' will drop a 'Skull' when killed?
// 0 = Disabled
// 1 = Dropped only in PvP maps
// 2 = Dropped in all situations
bone_drop: 2

oh, but i Just want the skull drop on map (guild_vs3, pvp_y_, 1-2 pvp_y_1-1, pvp_y_2-4, pvp_y_2-5) only. :(

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  50
  • Reputation:   1
  • Joined:  06/02/13
  • Last Seen:  

-	script	zehj	-1,{
OnPCKillEvent:
	.@map$ = strcharinfo(3);
	if ( .@map$ == "guild_vs3" || .@map$ == "pvp_y_1-2" ) {
		.@char_id = getcharid( 0,rid2name( killedrid ) );
		getitem2 7420,1,1,0,0,254,0, ( .@char_id & 65535 ), ( .@char_id >> 16 );
	}
	end;
}

oh, thanks. How to install ??

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

In an npc

Basic_Scripting#Adding_Scripts for more infos

 

this script give the killed's skull directly in the inventory of the killer since there isn't any commands in this version to drop a skull with name

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  31
  • Reputation:   1
  • Joined:  08/04/12
  • Last Seen:  

how to make it drop when that player got killed instead of the skull itself auto collect into our inventory ?

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

maybe with a makeitem2 custom script command..

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
Answer this question...

×   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...