Rio
Reactions
Comments
-
You could copy the whole AlienTeam.lua and change the local functions into non-local functions which you then can override. The downside is, that you have to replace your AlienTeam.lua everytime there is an update for NS2.
-
I wouldn't recommend it, but you can even "overwrite" Lua functions, which are defined by the Spark engine.
-
Oh well, I forgot that the mod overwrites the VoiceOver.lua and haven't updated the file with the one in build 255. Thank you guys.
But still, hotloading doesn't seem to work and just crashes my game. Am I the only one with this problem? -
I like the idea of a CTF game mode. I also thought about making it, but I stopped because I couldn't find a good solution regarding the balance between both teams.
-
Seems like no one updated the builder_setup.xml for the new shader files.
This also causes the game to crash when changing a file with hotload enabled.Remove this (otherwise builder throws errors)in Mod breaking changes in the next patch Comment by Rio September 2013
(Quote) Exactly. I don't know why you're getting that error message in Fmod. There's a very good tutorial about adding sounds to Fmod he…The length of sound files are defined in the ns2/sound/NS2.soundinfo file. If the length is -1, it's a looping sound which means it only stops when you destroy the sound effect. If the length is 0, the sound is very short, not exactly 0 seconds, but…Build 252/253 most likely breaks this mod, but on the other side the new build adds some of the features I wanted to add in the Faded mod. I'm going to release an update next weekend, so stay tuned for:-
* Repairable power nodes
* The Faded gets…
What about the surface_shader files? Is the format of those going to change too?
Can you maybe provide the NS2 shaders with the new format as a reference to mod authors?It is alive, I just don't have the time to add new features at the moment. I got some cool ideas planed though.
The steam group for the mod is probably a good idea too. Let me see if I can get something started this weekend.I think I saw an admin mod (Shine?) which shuffles the teams based on the NS2Stats rank of the players. Maybe that's something you want to look at.Fixed for build 500.
Added an option for clients to exclude from Faded selection (type nofade or nofaded in chat)
Added new help messagesSeems like it's fixed with build 500.The crash is probably because of the new Lua JIT. I'm modifying and hooking some Spark Engine Lua functions in my mod which are defined in the engine, not in Lua itself, that's probably what causes the bug. I haven't spent much time investigating wh…Sorry guys, but I don't have the time to work on the mod at the moment. If there is a programmer out there, willing to help me, message me!Thanks for hosting the Faded mod, I really appreciate it!
It's really awesome to have someone who is supporting all those great mods for NS2!Shouldn't your event fire first, if your script gets loaded first? Just create a CustomServer.lua, load your script which hooks into the WebRequest event and load the original Server.lua last.
Here's an alternative solution and some very…Maybe that guide helps you:
http://steamcommunity.com/sharedfiles/filedetails/?id=122760829Hooking is just a fancy name for overwriting already defined Lua functions, extend them and call the original functions again. Lua functions can be assigned to variables and can also be simply redefined. That's why you can do something like this:
Surface shaders are included in the consistency check and therefore you can't use a changed shader on a server other than your own.Not that hard. One of the last updates added drawing lines between the phase gates, so you can hook into that and just draw a number next to the phase gates.
The class for that is GUIMinimapConnection and there's a local function in GUIMinimap…The addbot console command needs either cheats or dev enabled. Both should also disable the commander check, but I haven't tested it. Try "dev 1" in the console.I forgot to say, that the key of the tip video is also the language gamestring for the tip text, e.g.:// gamestrings/enUS.txt TIPVIDEO_1_EXOSUIT_EXOEGGS = "Exosuits may crush eggs by …
There's a file called GUITipVideo_Data.lua which contains all the videos assigned to a table called gTipVideos. Because the table is global, you just need to add your videos to it:// MyGUI…
I just did a quick search and found those things which might be interesting to you:
Client.lua: Line 237-244:elseif className == "minimap_extents" then
GUIMinimap…(Quote) They are in one of the folders located here: %appdata%\Natural Selection 2\Workshop\ (for me this would be C:\Users\Rio\AppData\Roaming\Natural Selection 2\Workshop).
(Quote) Changed it.
New version!
added fade vision, which behaves like the default alien vision
improved alien vision: alien vision now causes the distortion effect when activated and shows marines through walls and on the map
decreased wall gri…Added chapter 2: Hello (unknown) world!I agree that the yellow text for modded server can be irritating. Just because a server is running an admin mod shouldn't force the server to be flagged as modded.
A better approach in my opinion would be to only show servers as modded if one …