goddameit Posted October 31, 2012 Posted October 31, 2012 (edited) [media=] [/media]Script \ Design : GoddameitMap : TrojanWormRules :1. break stone +5 point to self team, -3 point to enemy.2. after broke, stone will respawn in 10 seconds.3. kill enemy will +1 point.4. which team's point is highest, is winner.Stone location:128,120 --> A127,46 --> BActive time:OnClock0100: OnClock0300: OnClock0500: OnClock0700: OnClock0900: OnClock1100: OnClock1300: OnClock1500: OnClock1700: OnClock1900: OnClock2100: OnClock2300: callsub OnActive; end; Set:1 min for register,30 seconds for join team (after this time, you still can join in),100 seconds for battle time.Reward:No.Script download :Custom Battle Ground_goddameit+TrojanWorm.txtMap download :endless_war ; endless_warNote:just a little creation, enjoy it.Note2:I just enjoy finishing this game, so don't approve any suggest, sorry.bug report only. Edited March 22, 2013 by goddameit 3 Quote
PapaZola Posted October 31, 2012 Posted October 31, 2012 its possible make gm active example (whisper)npc:battleground on/off Quote
PHiLiP Posted October 31, 2012 Posted October 31, 2012 try to add this OnWhisperGlobal: if ( @whispervar0$ != "ON" && @whispervar0$ != "OFF" ){ dispbottom "You have to type [ON] or [OFF] to enable or disable event"; end; } if ( @whispervar0$ == "ON" ){ callsub OnActive; end; } if ( @whispervar0$ == "OFF" ){ announce "Bg has been Cancelled.",bc_all; set .status,0; bg_destroy $@bg_id_a; bg_destroy $@bg_id_b; set $@bg_id_a,0; set $@bg_id_b,0; setarray .point[1],0,0; killmonsterall "endless_war"; bg_updatescore "endless_war",.point[1],.point[2]; deletearray .playerid[0],128; mapwarp "endless_war","prontera",150,180; callsub OnDisa; return; end; } end; Quote
goddameit Posted October 31, 2012 Author Posted October 31, 2012 try to add this OnWhisperGlobal: if ( @whispervar0$ != "ON" && @whispervar0$ != "OFF" ){ dispbottom "You have to type [ON] or [OFF] to enable or disable event"; end; } if ( @whispervar0$ == "ON" ){ callsub OnActive; end; } if ( @whispervar0$ == "OFF" ){ .... use callsub OnEndd; Quote
PHiLiP Posted October 31, 2012 Posted October 31, 2012 So it should be like this? if ( getgmlevel() >= 99 ) { OnWhisperGlobal: if ( @whispervar0$ != "ON" && @whispervar0$ != "OFF" ){ dispbottom "You have to type [ON] or [OFF] to enable or disable event"; end; } if ( @whispervar0$ == "ON" ){ callsub OnActive; end; } if ( @whispervar0$ == "OFF" ){ announce "Bg has been Cancelled.",bc_all; callsub OnEndd; end; } end; } Quote
goddameit Posted October 31, 2012 Author Posted October 31, 2012 So it should be like this? OnWhisperGlobal: if ( getgmlevel() >= 99 ) { if ( @whispervar0$ != "ON" && @whispervar0$ != "OFF" ){ dispbottom "You have to type [ON] or [OFF] to enable or disable event"; end; } if ( @whispervar0$ == "ON" ){ callsub OnActive; end; } if ( @whispervar0$ == "OFF" ){ announce "Bg has been Cancelled.",bc_all; callsub OnEndd; end; } end; } this Quote
Thanna Posted October 31, 2012 Posted October 31, 2012 @goddameit can you please make a customized version that can automatically give prize to the winner, I would love to use it on my server Quote
goddameit Posted November 1, 2012 Author Posted November 1, 2012 @goddameit can you please make a customized version that can automatically give prize to the winner, I would love to use it on my server you can try to do it by yourself and show me what did you done Quote
Thanna Posted November 1, 2012 Posted November 1, 2012 yes I'm trying to not tamper, just customized it a little but the credits are untouched and still yours, I'll post it here if I encounter problems, thanks for the script Quote
uDe Posted November 4, 2012 Posted November 4, 2012 Map link unavailable. Great script by the way Quote
goddameit Posted November 4, 2012 Author Posted November 4, 2012 Map link unavailable. Great script by the way still available Quote
sijasperako Posted January 30, 2013 Posted January 30, 2013 Hi how to add prize giver for that? Quote
goddameit Posted March 21, 2013 Author Posted March 21, 2013 can use in latest svn ? is there any big change on rA? Quote
mrlongshen Posted March 21, 2013 Posted March 21, 2013 Since 17200 got mny change tht why i scared to try.. Quote
goddameit Posted March 21, 2013 Author Posted March 21, 2013 Since 17200 got mny change tht why i scared to try.. well, I don't see why you need to scared, if script fail at using it will not do anything (maybe give you a error warning) Quote
mrlongshen Posted March 21, 2013 Posted March 21, 2013 ok sir. let me try 1st. can i change to bat_c03 ? which 1 should edit. because there are many coordinate there. help me sir. Quote
goddameit Posted March 21, 2013 Author Posted March 21, 2013 (edited) ok sir. let me try 1st. can i change to bat_c03 ? which 1 should edit. because there are many coordinate there. help me sir. research it and you will improve Edited March 21, 2013 by goddameit Quote
mrlongshen Posted March 22, 2013 Posted March 22, 2013 sir, i got a problem. after i click. and i join.and then 2nd player cant click. besides that, we cannot warped to the endless_war map. Quote
goddameit Posted March 22, 2013 Author Posted March 22, 2013 sir, i got a problem. after i click. and i join.and then 2nd player cant click. besides that, we cannot warped to the endless_war map. if(!.playerid[1]) { //callsub OnEndd; initnpctimer; } Quote
goddameit Posted March 22, 2013 Author Posted March 22, 2013 Where to put it? you can download this script again, already upload new fixed version. 1 Quote
mrlongshen Posted March 22, 2013 Posted March 22, 2013 (edited) Where to put it? you can download this script again, already upload new fixed version. thx bro btw, all player can spam it, not restrict to 1st come 1st register. how ? Edited March 22, 2013 by mrlongshen Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.