How do you make things such as the swamp pet, wind pet, etc etc etc and make them buyable. i also dont know how to make new “weapons” for the d button, so help on how to do that would be appreciated too
//GR NPC Made by Beholder
//Swamp Hag Pet V 0.7
//Buy by saying buy Swamp Hag…
//This is a hidden weapon, so nobody will know you have it!
//Swamp hag is ridiculously cheap, but she’ll leave you for good if you run out of MP!
if(playerchats && strequals(#c,buy Swamp Hag) && playerrupees>11){
toweapons -swamphag;
setplayerprop #c,I’d shake that bush!;
playermp=100;
playerrupees=playerrupees-12;
}
if (playerchats && isweapon && playermp>0){
setplayerprop #c,i need 2 p right about now… bbs;
sleep 6;
i=random(0,5);
if(i<1){hurt 2;}
else if(i<2){freezeplayer 2; setani grab,; setplayerprop #c,ehee! I’m inside you!;playermp-=10;}
else if(i<3){freezeplayer 2; setani pull,; setplayerprop #c,B cursed wit me u lazi kunt1;playermp-=10;}
else if(i<3){setlevel2 hell3.zelda,13,31;}
else if(i<4){setplayerprop #C0,orange;setplayerprop #C1,orange;setplayerprop #C2,orange;setplayerprop #C3,orange;setplayerprop #C4,orange;}
else {setplayerprop #c,setnick Bewitched lolz;}
playermp-=10;
}
if (isweapon && playerchats){setplayerprop #c,i need 2 p right about now… bbs;}
if (playerchats && isweapon && playermp=0){destroy;}
i was thinking more along the lines of what they have in kondie dev, something you keep with you in the weapons menu.
lol i tried the witch thing and its retarded
I could give you a lot more to work with, but you just want the script… In which case it would be best if somebody just closed the thread.
no i dont just need the script. just like mini instructions on what to do
and how to add weapons to the Q menu thingy
open the file commands.rtf in word, study it, its all the stuff you need to know on making scripts.
if (flag){toweapons weaponname;}
if (weaponfired){}
That shitty script? I thought he actually wanted pets.
[QUOTE=VariousWeapon;50752]
That shitty script? I thought he actually wanted pets.
[/QUOTE]
no he got it right lol i tried to be clear with the morph/form/whatever you wanna call them part
Merged doublepost_______________
[QUOTE=tricxta;50749]
if (playerenters)toweapons testform;//"add weapons to the Q menu thingy "
if(weaponfired){
if (this.form==0){
replaceani walk,formgani;
replaceani idle,formgani;
replaceani sword,formgani;
replaceani pull,formgani;
replaceani push,formgani;
this.form=1;
}
else {
replaceani walk,walk;
replaceani idle,idle;
replaceani sword,sword;
replaceani pull,pulll;
replaceani push,push;
this.form=0;
}
}
change the words formgani to there relevant gani, eg if its a rabbit you want, replace the words formgani beside walk with rabbitwalk.
To make a form in general: //mini instructions on what to do
1)make or steal the image
2)make or steal the ganis
3)make or steal the script
Do this and you cant go wrong
how do I know all this? I did a shit load on kondie dev then got fired by the evil calebponessa who thinks his so good :eek: what… who said that >.>
[/QUOTE]
ok but the person doesn’t change shape… he just goes invisible
did you replace thje formgani word into the actual gani (minus the .gani) instead of copy-pasting the script and trying to work it as is?
if (playerenters)toweapons shadowpet;//"add weapons to the Q menu thingy "
if(weaponfired){
if (this.form==0){
replaceani walk, ishadowpetwalk.gani;
replaceani idle,ishadowpetidle.gani;
replaceani sword,formgani;
replaceani pull,formgani;
replaceani push,formgani;
this.form=1;
}
else {
replaceani walk,walk;
replaceani idle,idle;
replaceani sword,sword;
replaceani pull,pulll;
replaceani push,push;
this.form=0;
}
}
thats what i did
(ps im sorry whoever im stealing the shadow pet from im just using it to test it out)
do you have ishadowpetwalk and ishadowpetidle gani’s?
yes. (that would be a little silly if i didnt)
lol only losers use the word silly
anyways yes i do have them, but there just a shadow.
try removing the .gani and the "//"add weapons to the Q menu thingy “” from the script
Yeah, don’t include the .gani extension.
It didnt work, nothing changed. The actual gani file, when i open it in graal shop its just a shadow. Is that the problem?
If it’s the old graalshop: Yes. Yes it is.
if (created || playerenters) {
setimg block.gif;
}
if (rightmousebutton){
toweapons Forms/Shadow Pet;
}
if (weaponfired) {
if (strtofloat(#s(client.form))==0) {
setstring client.form,1;
replaceani idle,ishadowpetidle;
replaceani walk,ishadowpetwalk;
replaceani swim,ishadowpetidle;
setani ishadowpetidle,;
} else {
setstring client.form,0;
replaceani idle,idle;
replaceani walk,walk;
replaceani swim,swim;
setani idle,;
}
}
This will work for you. Try it with other ganis too, you’ll get the hang of it.
I all piss me off.
[QUOTE=Spooon;50935]I all piss me off.[/QUOTE]
???