|
||
|
|||||||
| Custom Script Release Archive This is a pre-script database archive of what our users had released. |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Forum Newbie
Join Date: Jan 2004
Posts: 88
|
Just in time for the holidays a good ol fashion easter egg hunt. This zip can be used multiple ways but here is how I am doing it and it requires the dialog npc script from these forums.
There is an NPC which you place wherever you like she is the easter bunny's aid. Players run up and talk to her and she tells you how some one has stolen all of the easter bunny's eggs, and hidden them all over town so there are no eggs to dye! The players have to run around and find the undyed eggs and return them to the easter bunny's aid, who will then dye and reutn them to the player. There is a 1 in 10 chance to get a rare colored egg and all the eggs have a special surprise when you double click them. If you don't want to use the dialog npc script or simply don't have it, you can still just hide the dyed eggs all over for the players to find. The zip has the following: DyeEggs.cs EasterHunt.xml DyedEasterEggs.cs UndyedEasterEggs.cs DyeEggs: Place this in the scripts portion of the dialog npc, this is what happens when a player gives the npc an egg. EasterHunt: Place this in the dialog folder of the dialognpc's along with any other npc's you may have made. This is the actual easter bunny aid. DyedEasterEggs: Place this in your scripts folder doesn't matter where but I suggest making a custom folder if you don't have one and sticking it in there. UndyedEasterEggs: Place this in your scripts folder same as above. These are obviously what you hide all over town or whever you have the hunt. |
|
|
|
|
#2 (permalink) |
|
Forum Novice
Join Date: Sep 2004
Posts: 281
|
Sounds great- Im not seeing the DyedEasterEggs.cs script and getting this error
Scripts: Compiling C# scripts...failed (1 errors, 0 warnings) - Error: Scripts\Custom\DialogNPC\DialogNPC Script\DyeEggs.cs: CS0246: (line 14 , column 25) The type or namespace name 'DyedEasterEggs' could not be found (are you missing a using directive or an assembly reference?) |
|
|
|
|
#3 (permalink) |
|
Forum Newbie
Join Date: Jan 2004
Posts: 88
|
Thats odd I just downloaded the file and unzipped it and they are all there.
I will upload it seperatley though just in case something is going screwy, here are the 3 cs's. You will still need the .xml file from the zip though if you plan on using the npc to change the undyed eggs into dyed eggs. |
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|