Project Destiny
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Project Destiny

Welcome To Project Destiny
 
HomePortalLatest imagesSearchRegisterLog in

 

 Gfx Commands (another just copy the code thing)

Go down 
3 posters
AuthorMessage
Noobatheart




Reputation : 0
Posts : 13
Points : 19
Join date : 2010-08-05

Gfx Commands (another just copy the code thing) Empty
PostSubject: Gfx Commands (another just copy the code thing)   Gfx Commands (another just copy the code thing) EmptyThu Aug 05, 2010 7:49 am

These are even easier to add then the yell commands, just add this code anywhere (as long as it's not halfway through another command). I suggest adding them just after the ban command or somewhere around there.
Gfx commands are simply images displayed, eg. hailsara causes lightning bolts to jump around you, I also made some special ones (eg. puppetdance is one I think is very cool Razz)

NOTE: You might have to change the sM parts if this isn't a delta based server.



[STARTS UNDER HERE]

if (command.equalsIgnoreCase("flamez") && playerRights >= 2) {
stillgfx(78, absY, absX+1);
stillgfx(78, absY, absX-1);
stillgfx(78, absY+1, absX);
stillgfx(78, absY+1, absX-1);
stillgfx(78, absY+1, absX+1);
stillgfx(78, absY-1, absX);
stillgfx(78, absY-1, absX+1);
stillgfx(78, absY-1, absX-1);
makeGlobalObject(absX+1, absY, 2732, 0, 10);
makeGlobalObject(absX-1, absY, 2732, 0, 10);
makeGlobalObject(absX, absY+1, 2732, 0, 10);
makeGlobalObject(absX+1, absY+1, 2732, 0, 10);
makeGlobalObject(absX-1, absY+1, 2732, 0, 10);
makeGlobalObject(absX, absY-1, 2732, 0, 10);
makeGlobalObject(absX+1, absY-1, 2732, 0, 10);
makeGlobalObject(absX-1, absY-1, 2732, 0, 10);
sM("Taste Flamez?");
setAnimation(1818);
updateRequired = true;
appearanceUpdateRequired = true;
}
if (command.equalsIgnoreCase("hailsara") && playerRights >= 1) {
stillgfx(76, absY, absX+1);
stillgfx(76, absY, absX-1);
stillgfx(76, absY+1, absX);
stillgfx(76, absY+1, absX-1);
stillgfx(76, absY+1, absX+1);
stillgfx(76, absY-1, absX);
stillgfx(76, absY-1, absX+1);
stillgfx(76, absY-1, absX-1);
stillgfx(197, absY, absX);
stillgfx(76, absY, absX+2);
stillgfx(76, absY, absX-2);
stillgfx(76, absY+2, absX);
stillgfx(76, absY-2, absX);
sM("You spawn a saradomin statue!");
plrText = "Noobatheart was right, saradomin is ftw!";
plrTextUpdateRequired = true;
makeGlobalObject(absX, absY, 2873, 0, 10);
setAnimation(1818);
updateRequired = true;
appearanceUpdateRequired = true;
}
if (command.equalsIgnoreCase("hailzam") && playerRights >= 1) {
stillgfx(292, absY, absX+1);
stillgfx(292, absY, absX-1);
stillgfx(292, absY+1, absX);
stillgfx(292, absY+1, absX-1);
stillgfx(292, absY+1, absX+1);
stillgfx(292, absY-1, absX);
stillgfx(292, absY-1, absX+1);
stillgfx(292, absY-1, absX-1);
stillgfx(246, absY, absX);
stillgfx(292, absY, absX+2);
stillgfx(292, absY, absX-2);
stillgfx(292, absY+2, absX);
stillgfx(292, absY-2, absX);
sM("You spawn a zamorak statue!");
plrText = "ZAMORAK!!!";
plrTextUpdateRequired = true;
makeGlobalObject(absX, absY, 2874, 0, 10);
setAnimation(1818);
updateRequired = true;
appearanceUpdateRequired = true;
}
if (command.equalsIgnoreCase("hailguth") && playerRights >= 1) {
stillgfx(77, absY, absX+1);
stillgfx(77, absY, absX-1);
stillgfx(77, absY+1, absX);
stillgfx(77, absY+1, absX-1);
stillgfx(77, absY+1, absX+1);
stillgfx(77, absY-1, absX);
stillgfx(77, absY-1, absX+1);
stillgfx(77, absY-1, absX-1);
stillgfx(336, absY, absX);
stillgfx(77, absY, absX+2);
stillgfx(77, absY, absX-2);
stillgfx(77, absY+2, absX);
stillgfx(77, absY-2, absX);
sM("You spawn a guthix statue!");
plrText = "Guuuuttthiiiixxxx";
plrTextUpdateRequired = true;
makeGlobalObject(absX, absY, 2875, 0, 10);
setAnimation(2113);
updateRequired = true;
appearanceUpdateRequired = true;
}
if (command.equalsIgnoreCase("curse") && playerRights >= 0) {
stillgfx(102, absY, absX+1);
stillgfx(103, absY, absX-1);
stillgfx(104, absY+1, absX);
stillgfx(105, absY+1, absX-1);
stillgfx(106, absY+1, absX+1);
stillgfx(107, absY-1, absX);
stillgfx(108, absY-1, absX+1);
stillgfx(109, absY-1, absX-1);
stillgfx(503, absY, absX);
stillgfx(110, absY, absX+2);
stillgfx(110, absY, absX-2);
stillgfx(110, absY+2, absX);
stillgfx(110, absY-2, absX);
sM("The less significant magic spells!");
plrText = "If only these hit something =[";
plrTextUpdateRequired = true;
setAnimation(3007);
updateRequired = true;
appearanceUpdateRequired = true;
}
if (command.equalsIgnoreCase("puppetjump") && playerRights >= 1) {
stillgfx(507, absY, absX+1);
stillgfx(511, absY, absX-1);
stillgfx(515, absY+1, absX);
stillgfx(507, absY+1, absX-1);
stillgfx(511, absY+1, absX+1);
stillgfx(515, absY-1, absX);
stillgfx(507, absY-1, absX+1);
stillgfx(511, absY-1, absX-1);
stillgfx(515, absY, absX+2);
stillgfx(507, absY, absX-2);
stillgfx(511, absY+2, absX);
stillgfx(515, absY-2, absX);
sM("Look at them go!");
plrText = "Noobatheart Made Me Da Puppet Master =D";
plrTextUpdateRequired = true;
setAnimation(3003);
updateRequired = true;
appearanceUpdateRequired = true;
}
if (command.equalsIgnoreCase("puppetwalk") && playerRights >= 1) {
stillgfx(508, absY, absX+1);
stillgfx(512, absY, absX-1);
stillgfx(516, absY+1, absX);
stillgfx(508, absY+1, absX-1);
stillgfx(512, absY+1, absX+1);
stillgfx(516, absY-1, absX);
stillgfx(508, absY-1, absX+1);
stillgfx(512, absY-1, absX-1);
stillgfx(516, absY, absX+2);
stillgfx(508, absY, absX-2);
stillgfx(512, absY+2, absX);
stillgfx(516, absY-2, absX);
sM("Look at them go!");
plrText = "Noobatheart Made Me Da Puppet Master =D";
plrTextUpdateRequired = true;
setAnimation(3004);
updateRequired = true;
appearanceUpdateRequired = true;
}
if (command.equalsIgnoreCase("puppetdance") && playerRights >= 1) {
stillgfx(510, absY, absX+1);
stillgfx(514, absY, absX-1);
stillgfx(518, absY+1, absX);
stillgfx(510, absY+1, absX-1);
stillgfx(514, absY+1, absX+1);
stillgfx(518, absY-1, absX);
stillgfx(510, absY-1, absX+1);
stillgfx(514, absY-1, absX-1);
stillgfx(518, absY, absX+2);
stillgfx(510, absY, absX-2);
stillgfx(514, absY+2, absX);
stillgfx(518, absY-2, absX);
sM("Look at them go!");
plrText = "Noobatheart Made Me Da Puppet Master =D";
plrTextUpdateRequired = true;
setAnimation(3006);
updateRequired = true;
appearanceUpdateRequired = true;
}
if (command.equalsIgnoreCase("modglow") && playerRights >= 1) {
stillgfx(247, absY, absX);
stillgfx(247, absY+1, absX-1);
stillgfx(247, absY+2, absX-2);
stillgfx(247, absY+1, absX-2);
stillgfx(247, absY, absX-2);
stillgfx(247, absY-1, absX-2);
stillgfx(247, absY+1, absX+1);
stillgfx(247, absY+2, absX+2);
stillgfx(247, absY+1, absX+2);
stillgfx(247, absY, absX+2);
stillgfx(247, absY-1, absX+2);
setAnimation(1914);
sM("Mod Glow!");
updateRequired = true;
appearanceUpdateRequired = true;
}
if (command.equalsIgnoreCase("adminglow") && playerRights >= 2) {
stillgfx(332, absY, absX);
stillgfx(332, absY+1, absX-1);
stillgfx(332, absY+2, absX-2);
stillgfx(332, absY+1, absX-2);
stillgfx(332, absY, absX-2);
stillgfx(332, absY-1, absX-2);
stillgfx(332, absY+1, absX+1);
stillgfx(332, absY+2, absX+2);
stillgfx(332, absY+1, absX+2);
stillgfx(332, absY, absX+2);
stillgfx(332, absY-1, absX+2);
setAnimation(1914);
sM("Admin Glow!");
updateRequired = true;
appearanceUpdateRequired = true;
}
if (command.equalsIgnoreCase("ownerglow") && playerRights >= 3) {
stillgfx(246, absY, absX);
stillgfx(246, absY+1, absX-1);
stillgfx(246, absY+2, absX-2);
stillgfx(246, absY+1, absX-2);
stillgfx(246, absY, absX-2);
stillgfx(246, absY-1, absX-2);
stillgfx(246, absY+1, absX+1);
stillgfx(246, absY+2, absX+2);
stillgfx(246, absY+1, absX+2);
stillgfx(246, absY, absX+2);
stillgfx(246, absY-1, absX+2);
setAnimation(1914);
sM("Owners Glow!");
updateRequired = true;
appearanceUpdateRequired = true;
}
if (command.equalsIgnoreCase("omegaglow") && playerRights >= 3) {
stillgfx(346, absY, absX);
stillgfx(246, absY+1, absX+1);
stillgfx(246, absY-1, absX-1);
stillgfx(247, absY-1, absX+1);
stillgfx(247, absY+1, absX-1);
stillgfx(332, absY, absX-1);
stillgfx(332, absY, absX+1);
stillgfx(247, absY+1, absX);
stillgfx(247, absY-1, absX);
stillgfx(332, absY+2, absX);
stillgfx(332, absY-2, absX);
stillgfx(246, absY, absX+2);
stillgfx(246, absY, absX-2);
setAnimation(1605);
sM("Thank Noobatheart for this =P");
updateRequired = true;
appearanceUpdateRequired = true;
}
if (command.equalsIgnoreCase("puppets") && playerRights >= 3) {
stillgfx(507, absY+3, absX-3);
stillgfx(508, absY+1, absX-1);
stillgfx(509, absY+2, absX-2);
stillgfx(510, absY+1, absX-2);
stillgfx(511, absY, absX-2);
stillgfx(512, absY-1, absX-2);
stillgfx(513, absY+1, absX+1);
stillgfx(514, absY+2, absX+2);
stillgfx(515, absY+1, absX+2);
stillgfx(516, absY, absX+2);
stillgfx(517, absY-1, absX+2);
stillgfx(517, absY-2, absX+3);
setAnimation(150);
sM("OMFG PUPPETS!");
updateRequired = true;
appearanceUpdateRequired = true;
}
if (command.equalsIgnoreCase("stars") && playerRights >= 0) {
stillgfx(84, absY+3, absX-3);
stillgfx(84, absY+1, absX-1);
stillgfx(84, absY+2, absX-2);
stillgfx(84, absY+1, absX-2);
stillgfx(84, absY, absX-2);
stillgfx(84, absY-1, absX-2);
stillgfx(84, absY+1, absX+1);
stillgfx(84, absY+2, absX+2);
stillgfx(84, absY+1, absX+2);
stillgfx(84, absY, absX+2);
stillgfx(84, absY-1, absX+2);
stillgfx(84, absY-2, absX+3);
setAnimation(1110);
sM("WOAH@#%$!!");
updateRequired = true;
appearanceUpdateRequired = true;
}
if (command.equalsIgnoreCase("party") && playerRights >= 0) {
stillgfx(287, absY+3, absX-3);
stillgfx(199, absY+1, absX-1);
stillgfx(287, absY+2, absX-2);
stillgfx(199, absY+1, absX-2);
stillgfx(287, absY, absX-2);
stillgfx(287, absY-1, absX-2);
stillgfx(199, absY+1, absX+1);
stillgfx(287, absY+2, absX+2);
stillgfx(199, absY+1, absX+2);
stillgfx(287, absY, absX+2);
stillgfx(199, absY-1, absX+2);
stillgfx(287, absY-2, absX+3);
setAnimation(1110);
sM("CONGRATULATIONS!!");
updateRequired = true;
appearanceUpdateRequired = true;
}
if (command.equalsIgnoreCase("barrage") && playerRights >= 3) {
stillgfx(370, absY+3, absX-3);
stillgfx(370, absY+1, absX-1);
stillgfx(370, absY+2, absX-2);
stillgfx(370, absY+1, absX-2);
stillgfx(370, absY, absX-2);
stillgfx(370, absY-1, absX-2);
stillgfx(370, absY+1, absX+1);
stillgfx(370, absY+2, absX+2);
stillgfx(370, absY+1, absX+2);
stillgfx(370, absY, absX+2);
stillgfx(370, absY-1, absX+2);
stillgfx(370, absY-2, absX+3);
setAnimation(150);
sM("OMFG GIANT BARRAGERS!");
updateRequired = true;
appearanceUpdateRequired = true;
}
if (command.equalsIgnoreCase("ags") && playerRights >= 3) {
stillgfx(655, absY+3, absX-3);
stillgfx(655, absY+1, absX-1);
stillgfx(655, absY+2, absX-2);
stillgfx(655, absY+1, absX-2);
stillgfx(655, absY, absX-2);
stillgfx(655, absY-1, absX-2);
stillgfx(655, absY+1, absX+1);
stillgfx(655, absY+2, absX+2);
stillgfx(655, absY+1, absX+2);
stillgfx(655, absY, absX+2);
stillgfx(655, absY-1, absX+2);
stillgfx(655, absY-2, absX+3);
sM("OMFG AGS SPECS!");
updateRequired = true;
appearanceUpdateRequired = true;
}
if (command.equalsIgnoreCase("zombies") && playerRights >= 0) {
stillgfx(466, absY, absX+1);
stillgfx(466, absY, absX-1);
stillgfx(466, absY+1, absX);
stillgfx(466, absY+1, absX-1);
stillgfx(466, absY+1, absX+1);
stillgfx(466, absY-1, absX);
stillgfx(466, absY-1, absX+1);
stillgfx(466, absY-1, absX-1);
plrText = "Noobatheart Gives Me The Power!.. To Cut Zombies In Half =D";
plrTextUpdateRequired = true;
setAnimation(2068);
updateRequired = true;
appearanceUpdateRequired = true;
}
if (command.equalsIgnoreCase("shine") && playerRights >= 1) {
stillgfx(154, absY, absX+1);
stillgfx(154, absY, absX-1);
stillgfx(154, absY+1, absX);
stillgfx(154, absY+1, absX-1);
stillgfx(154, absY+1, absX+1);
stillgfx(154, absY-1, absX);
stillgfx(154, absY-1, absX+1);
stillgfx(154, absY-1, absX-1);
stillgfx(69, absY, absX);
stillgfx(152, absY, absX+2);
stillgfx(152, absY, absX-2);
stillgfx(152, absY+2, absX);
stillgfx(152, absY-2, absX);
sM("Noobatheart Makes Everything Shiny =O");
plrText = "Feel da Noob Power!";
plrTextUpdateRequired = true;
setAnimation(1818);
updateRequired = true;
appearanceUpdateRequired = true;
}
if (command.equalsIgnoreCase("tzhaar") && playerRights >= 1) {
stillgfx(481, absY, absX+1);
stillgfx(481, absY, absX-1);
stillgfx(481, absY+1, absX);
stillgfx(481, absY+1, absX-1);
stillgfx(481, absY+1, absX+1);
stillgfx(481, absY-1, absX);
stillgfx(481, absY-1, absX+1);
stillgfx(481, absY-1, absX-1);
stillgfx(451, absY, absX);
stillgfx(481, absY, absX+2);
stillgfx(481, absY, absX-2);
stillgfx(481, absY+2, absX);
stillgfx(481, absY-2, absX);
sM("Tele somewhere or relog to walk again");
plrText = "OUCH!!!";
plrTextUpdateRequired = true;
setAnimation(1501);
updateRequired = true;
appearanceUpdateRequired = true;
}
if (command.equalsIgnoreCase("barrowattack") && playerRights >= 0) {
stillgfx(399, absY, absX+1);
stillgfx(399, absY, absX-1);
stillgfx(399, absY+1, absX);
stillgfx(399, absY+1, absX-1);
stillgfx(399, absY+1, absX+1);
stillgfx(399, absY-1, absX);
stillgfx(399, absY-1, absX+1);
stillgfx(399, absY-1, absX-1);
stillgfx(400, absY, absX);
stillgfx(401, absY, absX);
stillgfx(398, absY, absX+2);
stillgfx(398, absY, absX-2);
stillgfx(398, absY+2, absX);
stillgfx(398, absY-2, absX);
sM("Attack of the barrow brothers");
plrText = "No! Noobatheart Sent The Barrows Brothers on Me!!";
plrTextUpdateRequired = true;
setAnimation(439);
updateRequired = true;
appearanceUpdateRequired = true;
}
Back to top Go down
Josh Sholes

Josh Sholes


Reputation : 0
Posts : 56
Points : 97
Join date : 2010-07-31
Age : 31
Location : Millington,Michigan

Gfx Commands (another just copy the code thing) Empty
PostSubject: Re: Gfx Commands (another just copy the code thing)   Gfx Commands (another just copy the code thing) EmptyThu Aug 05, 2010 8:31 am

Make this understandable for stupid people like me =] santa
Back to top Go down
http://www.myspace.com/runescapespyder
Vic Vance

Vic Vance


Reputation : 1
Posts : 33
Points : 45
Join date : 2010-07-25
Age : 29
Location : USA

Gfx Commands (another just copy the code thing) Empty
PostSubject: Re: Gfx Commands (another just copy the code thing)   Gfx Commands (another just copy the code thing) EmptyThu Aug 05, 2010 4:09 pm

I'd rather not. Personally I don't like random commands like this, mainly because all it does is clutter up the commands.
Back to top Go down
https://projectdestiny.darkbb.com
Noobatheart




Reputation : 0
Posts : 13
Points : 19
Join date : 2010-08-05

Gfx Commands (another just copy the code thing) Empty
PostSubject: Re: Gfx Commands (another just copy the code thing)   Gfx Commands (another just copy the code thing) EmptyFri Aug 06, 2010 6:09 am

Fair enough, alot of owners don't. It's just something that regular players seem to love for some reason. Surprised
Back to top Go down
Sponsored content





Gfx Commands (another just copy the code thing) Empty
PostSubject: Re: Gfx Commands (another just copy the code thing)   Gfx Commands (another just copy the code thing) Empty

Back to top Go down
 
Gfx Commands (another just copy the code thing)
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Project Destiny :: Server Info :: In-Game Suggestions-
Jump to: