owner_2019 Opublikowano Marzec 23, 2016 o 17:23 Udostępnij Opublikowano Marzec 23, 2016 o 17:23 Hey everybody! So soon is easter day, so I decided to create plugin. In Latvia we have tradition to hide eggs, and later other people go seach for them. Thats the main thing that I have created here. So again, the idea is that admins hide the egg/s around the map/s and other players search for them. If someone finds the egg, no one can't pick up the egg. Later admin check the config file, sees who has found the egg, and can give him some kind of bonus - vip, shop points or something. Admins can't pick up the eggs!Later I will maybe create that it will support zephyrus store, and will automaticly give credits, when someone will find the egg. Here are few images of the plugin in action Spoiler Config is pretty simple. So first of all you need to configure the modelsinmap plugin : ____________________________________________(sourcemod/configs/models/models.cfg) PHP Code: "models" { "Egg" { "model_path" "models/spk_easteregg.mdl" "solid" "1" "size" "0.6" } "Egg2" { "model_path" "models/spk_easteregg.mdl" "solid" "1" "size" "0.6" } } ____________________________________________ And second config is for easter day plugin.(sourcemod/configs/eggs/eggs.cfg) PHP Code: "Eggs" { "Egg" { "found" "0" } "Egg2" { "found" "0" } } Name in model.cfg and in eggs.cfg need to be the same, otherwise it will not work!Notes:When someone will find any egg, the eggs.cfg will change the egg row to something like this http://prntscr.com/aizv9v ____________________________________________Here are no commands, only command is when someone is near to egg, he can press E to show that he found the egg! :) Command for plugin "models in map", check in this topicModels in map Install plugin - models for map (link to plugin) Install easter egg plugin Edit both plugin config files (examples bit higer) Reload all plugins in server Write command: !props , select your egg model, place it in map. Move it by E, MOUSE 1/2 Click save in the menu Restart the round, your done! You can use only one egg for one map! This is egg model (fastdownload and server files :P) Attached Files Easter egg.7z (17.2 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi
Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto
Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.
Zarejestruj nowe konto
Załóż nowe konto. To bardzo proste!
Zarejestruj sięZaloguj się
Posiadasz już konto? Zaloguj się poniżej.
Zaloguj się