katashy Posted August 21, 2009 Share Posted August 21, 2009 Me and another member are creating Runescape god capes and staffs. We are also making RS skill capes. While we can make the items, we're useless at scripting So, I was wondering if anyone can create us 2 scripts. 1: Theres a chest, you open it, and it gives you a choice of what god you want. Then you choose, and it'll open showing only the chosen gods staff and cape. You cannot repeat this on the same character, so... run once or something. 2: There is a wise old man, and he gives you the capes when you get to level 100 in that skill. The capes are given through dialogue, not barter, and you can only get another if you lose it. So, thanks to everyone in advance. P.S. Can you also tell me how to add these scripts onto an item or NPC? Cheers. Link to comment Share on other sites More sharing options...
Peppez Posted August 21, 2009 Share Posted August 21, 2009 Me and another member are creating Runescape god capes and staffs. We are also making RS skill capes. While we can make the items, we're useless at scripting So, I was wondering if anyone can create us 2 scripts. 1: Theres a chest, you open it, and it gives you a choice of what god you want. Then you choose, and it'll open showing only the chosen gods staff and cape. You cannot repeat this on the same character, so... run once or something. 2: There is a wise old man, and he gives you the capes when you get to level 100 in that skill. The capes are given through dialogue, not barter, and you can only get another if you lose it. So, thanks to everyone in advance. P.S. Can you also tell me how to add these scripts onto an item or NPC? Cheers. I could do the chest idea (probably), as for the dialouge script, for some reason my dialouge scripts don't run in-game :(. Link to comment Share on other sites More sharing options...
katashy Posted August 21, 2009 Author Share Posted August 21, 2009 Wow, could you? That would be awesome. You would get your name in the credits too! If you need any more info, PM me. Also, why no check out the RS skill capes thread? Link to comment Share on other sites More sharing options...
Peppez Posted August 21, 2009 Share Posted August 21, 2009 Wow, could you? That would be awesome. You would get your name in the credits too! If you need any more info, PM me. Also, why no check out the RS skill capes thread? I saw your blender staffs, good job I might (MIGHT) be able to texture them (usually just do retexts, but if I know where to put the stuff them I guess I might be able to do the tex). I'll try to PM you the script you'll need to type into the CS Script Editor, and how to use it :D. OH, and how about instead of a chest, its like an altar to the three gods? Link to comment Share on other sites More sharing options...
katashy Posted August 21, 2009 Author Share Posted August 21, 2009 good idea with the altar! but I don't know how to make one. oh and sorry about texturing, I've got someone doing that. but that script would be great. Link to comment Share on other sites More sharing options...
cloakedbolt Posted August 27, 2009 Share Posted August 27, 2009 ScriptName ChoiceChest short SHOrunonce short SHOchoice Begin OnActivate If ( SHOrunonce == 0 ) MessageBox "Which god do you worship?", "Mercury", "Jupiter", "Venus", "Mars" Set SHOrunonce to 1 Elseif ( SHOrunonce == 2 ) Activate Endif Set SHOrunonce to 2 End Begin GameMode If ( SHOrunonce == 1 ) Set SHOchoice to GetButtonPressed If ( SHOchoice == -1 ) Return Elseif (SHOchoice == 0 ) player.additem MercuryStaff player.additem MercuryCape Elseif (SHOchoice == 1 ) player.additem JupiterStaff player.additem JupiterCape Elseif (SHOchoice == 2 ) player.additem VenusStaff player.additem VenusCape Elseif (SHOchoice == 3 ) player.additem MarsStaff player.additem MarsCape Else Return Endif Endif End Link to comment Share on other sites More sharing options...
katashy Posted August 27, 2009 Author Share Posted August 27, 2009 ScriptName ChoiceChest short SHOrunonce short SHOchoice Begin OnActivate If ( SHOrunonce == 0 ) MessageBox "Which god do you worship?", "Mercury", "Jupiter", "Venus", "Mars" Set SHOrunonce to 1 Elseif ( SHOrunonce == 2 ) Activate Endif Set SHOrunonce to 2 End Begin GameMode If ( SHOrunonce == 1 ) Set SHOchoice to GetButtonPressed If ( SHOchoice == -1 ) Return Elseif (SHOchoice == 0 ) player.additem MercuryStaff player.additem MercuryCape Elseif (SHOchoice == 1 ) player.additem JupiterStaff player.additem JupiterCape Elseif (SHOchoice == 2 ) player.additem VenusStaff player.additem VenusCape Elseif (SHOchoice == 3 ) player.additem MarsStaff player.additem MarsCape Else Return Endif Endif End Thats awesome, but see the staff names and everything? Did you make them wrong for me to change it to what I want? Like the item IDs and names, or did you read it wrong? Just wondering... I could change this to suit my mod, and you'll get your name in the credits for helping. Link to comment Share on other sites More sharing options...
cloakedbolt Posted August 28, 2009 Share Posted August 28, 2009 They are just placeholders. I guess I didn't notice you supplied the IDs. I don't even know if the script works. It's mostly based on the example on the official CS wiki. Anyway, if it works and you want to use it, go ahead. It's an "object" script in case you're wondering. P.S.: I don't know much about Runescape. Link to comment Share on other sites More sharing options...
Recommended Posts