Garry's Mod

Garry's Mod

nZombies - A Nazi Zombies Gamemode [Content Pack]
MoggyMike 2017 年 12 月 31 日 上午 10:12
How to make a easteregg ending on nzombies? (Note: Not a easter egg song, an easter egg ENDING)
Hey Zet0r, i think im really good at making maps now. Now may i ask this question, how to u make a easter egg ending? Like not the easteregg song, like an actual ending.
< >
正在显示第 1 - 4 条,共 4 条留言
Zet0r  [开发者] 2017 年 12 月 31 日 下午 12:39 
Easter eggs are often so complex and so map-dependant, you won't get around them without scripting. Easter eggs have steps that have you do puzzles or objectives that fit the map, such as overwriting control panels, opening secret rooms, etc.

To make such an easter egg, you will need to make a Map Script. It requires you know how to code Lua and gmod. Using that, you can control all elements in the map, any gamemode features, player teleports, doors, anything at all (all the gamemode does is code too). I can't really tell you how to code the easter egg since it's gonna be so different, but you can see what I have done with Imprisoned here:
https://github.com/Zet0rz/nzombies/blob/master-workshop/lua/nzmapscripts/nz_zs_obj_station%3BImprisoned.lua

You can end the game by calling the function "nzRound:Win()" with the message you want it to display.
MoggyMike 2017 年 12 月 31 日 下午 7:56 
wow ok, thats something. Ok, maybe i might need to learn how to code and alot of coding stuff.
livebrains123 2018 年 1 月 5 日 下午 7:37 
ya, was just going to ask a question about this, I am just getting into lua script and this is going to be HUGE help
Hideo Kojima 2019 年 11 月 19 日 下午 5:44 
You can use certain maps such as the Inside Chernobyl map where you have to blow up the reactor which will unlock a door.
< >
正在显示第 1 - 4 条,共 4 条留言
每页显示数: 1530 50