Jump to content
  • 0

R>WoE Trebuchet/Catapult Script


Yonko

Question


  • Group:  Members
  • Topic Count:  166
  • Topics Per Day:  0.04
  • Content Count:  789
  • Reputation:   50
  • Joined:  04/16/12
  • Last Seen:  

Hi rAthenians,

I would like to request script like this based on the picture the violet X is the where the npc located and the NPC Works like this

The NPC will ask 30 Stone (ItemID#7049) then the player will chose if [Entrance Portal, Castle Walls] then if player choose for example entrance portal the NPC will tick 5 seconds and fire up a meteor storm effect to the entrance portal then it will target randomly on the two colors let say when catapult launch it will trigger randomly to red or green position

Entrance
Red - coordinate is x=1 y=1
Green - coordinate is x=2 y=1

then when player is standing on red position at entrance portal and exactly the catapult npc picks red position it will surely kill all the players standing on it. same scenario at Castle Walls indicated at color brown and light blue. And current owners of the castle can use the catapult and has a delay before using about 1 minute to recoil to avoid spamming.

Thanks sorry for the bad english =)

 

post-3976-0-12345200-1410841214_thumb.jpg

Link to comment
Share on other sites

7 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  166
  • Topics Per Day:  0.04
  • Content Count:  789
  • Reputation:   50
  • Joined:  04/16/12
  • Last Seen:  

use your imagination when apply the effects

prontera,155,174,5	script	sdhfdjskf	100,{
	mes "select left, center or right";
	next;
	.@s = select( "left", "center", "right" );
	mes "now firing";
	close2;
	specialeffect EF_BEGINSPELL3;
	sleep 1000;
	donpcevent "#meteorstorm"+ .@s +"::OnEffect";
	end;
}

-	script	meteorstorm	-1,{
	end;
OnEffect:
	specialeffect EF_METEORSTORM;
	sleep 1000;
	getmapxy .@map$, .@x, .@y, 1;
	addrid 4, .@map$, .@x-2, .@y-2, .@x+2, .@y+2;
	percentheal -100, 0;
	end;
}
prontera,148,167,5	duplicate(meteorstorm)	#meteorstorm1	100,{}
prontera,156,167,5	duplicate(meteorstorm)	#meteorstorm2	100,{}
prontera,163,167,5	duplicate(meteorstorm)	#meteorstorm3	100,{}
with your post count and the difficulty of this question is,

I assumed the countitem and getcastledata check is not a problem for you

 

I'll try thank you =)

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  110
  • Reputation:   56
  • Joined:  05/29/18
  • Last Seen:  

On 9/25/2014 at 6:05 PM, AnnieRuru said:

use your imagination when apply the effects

 


prontera,155,174,5	script	sdhfdjskf	100,{
	mes "select left, center or right";
	next;
	.@s = select( "left", "center", "right" );
	mes "now firing";
	close2;
	specialeffect EF_BEGINSPELL3;
	sleep 1000;
	donpcevent "#meteorstorm"+ .@s +"::OnEffect";
	end;
}

-	script	meteorstorm	-1,{
	end;
OnEffect:
	specialeffect EF_METEORSTORM;
	sleep 1000;
	getmapxy .@map$, .@x, .@y, 1;
	addrid 4, .@map$, .@x-2, .@y-2, .@x+2, .@y+2;
	announce strcharinfo(0) +" has been hit by the catapult", bc_map; // add this for adding shame
	percentheal -100, 0;
	end;
}
prontera,148,167,5	duplicate(meteorstorm)	#meteorstorm1	100,{}
prontera,156,167,5	duplicate(meteorstorm)	#meteorstorm2	100,{}
prontera,163,167,5	duplicate(meteorstorm)	#meteorstorm3	100,{}

with your post count and the difficulty of this question is,

I assumed the countitem and getcastledata check is not a problem for you

EDIT: added shame announcement

Thanks for this. Anyone possible to have random coordinate on the 3 location? example the x and y coordinate for left area is x1 and y1 to x50 and y50 the center is in x51 and y51 to x100 and y100 so when I fired it will not be hit on a specific coordinate and so on and upon hitting a player it will cause random damage either 1-100% lose hp thanks

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

do you have a map-designer to make this map ?

there is no problem for any scripter to write this script ... as long as you have the money

but map-designer is seriously lacking

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  166
  • Topics Per Day:  0.04
  • Content Count:  789
  • Reputation:   50
  • Joined:  04/16/12
  • Last Seen:  

do you have a map-designer to make this map ?

there is no problem for any scripter to write this script ... as long as you have the money

but map-designer is seriously lacking

no i didn't have mapper i just use a 2nd edition WoE Map replacing the location of the stone guardian into catapult location and i use 1st edition modify script on that map so there will be no barricades or flag-warps

just like MU Online's Castle Siege there is a catapult near the castle which fires in different location (bridge, gate 1, gate 2)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

http://muonline.webzen.com/guides/25/113/game-contents/castle-siege

I don't really understand even I read it

so you mean, a player can register for a catapult, then if the catapult's player stand on the red box, every player on the red box died

then what happen to players stand on green box then ?

and this seems different to the game Perfect World online I've played

in Perfect World, the catapult is automatically target the crystal ...

and player has to buy a catapult scroll in order to pull a catapult

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  166
  • Topics Per Day:  0.04
  • Content Count:  789
  • Reputation:   50
  • Joined:  04/16/12
  • Last Seen:  

http://muonline.webzen.com/guides/25/113/game-contents/castle-siege

I don't really understand even I read it

so you mean, a player can register for a catapult, then if the catapult's player stand on the red box, every player on the red box died

then what happen to players stand on green box then ?

and this seems different to the game Perfect World online I've player

in Perfect World, the catapult is automatically target the crystal ...

and player has to buy a catapult scroll in order to pull a catapult

Okay so here it is the catapult can be used only by current owner of the agit (all members of the guild)

when they using the NPC it will need 30 stones and has a cooldown before used like 1 minute

Here's the link what it looks like, you can see there that when the player talk to the catapult it has choices where you can hurled stone

(bridge, gate 1, gate 2, gate 3)

https://www.youtube.com/watch?v=vjJ8b-Ydj5s

Edited by Yonko
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

use your imagination when apply the effects

prontera,155,174,5	script	sdhfdjskf	100,{
	mes "select left, center or right";
	next;
	.@s = select( "left", "center", "right" );
	mes "now firing";
	close2;
	specialeffect EF_BEGINSPELL3;
	sleep 1000;
	donpcevent "#meteorstorm"+ .@s +"::OnEffect";
	end;
}

-	script	meteorstorm	-1,{
	end;
OnEffect:
	specialeffect EF_METEORSTORM;
	sleep 1000;
	getmapxy .@map$, .@x, .@y, 1;
	addrid 4, .@map$, .@x-2, .@y-2, .@x+2, .@y+2;
	announce strcharinfo(0) +" has been hit by the catapult", bc_map; // add this for adding shame
	percentheal -100, 0;
	end;
}
prontera,148,167,5	duplicate(meteorstorm)	#meteorstorm1	100,{}
prontera,156,167,5	duplicate(meteorstorm)	#meteorstorm2	100,{}
prontera,163,167,5	duplicate(meteorstorm)	#meteorstorm3	100,{}
with your post count and the difficulty of this question is,

I assumed the countitem and getcastledata check is not a problem for you

EDIT: added shame announcement

Edited by AnnieRuru
  • Upvote 1
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...