Skip to content

A source code repository for sourcemod. (Now inherited by Polarsky)

License

Notifications You must be signed in to change notification settings

lamya3/mqsrv-insurgency-sourcemod-release

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mqsrv-insurgency-sourcemod


GOOGLE TRANSLATED HAHA
README also available in Chinese simplified: 中文自述文件

A source code repository of sourcemod plugins, which can be used for game Insurgency2. Most of them can only be run under sv_playlist nwi/coop (but not absolute).

By default, my code or some external code I have modified will be released under GPLv3. only GPLv3 Certainly, due to license restriction from external codes, additional license may be used. For more details about that, please refer subsection Source and license.

Because my English sucks, there may be ambiguity or difficult to understand what's mean in README. I think you should initiate an issue first if you don't understand something (including license-violation or mistake).


Contents


Level chooser

Description

A very simple debug plugin. You can use it to change your current game level by a command. If you compile this plugin's sourcecode directly, you can only use it on game mode outpost or survival, and change level between 0 to 100. (IDK why outpost have level 100 even more......)

Plugin's smx

level chooser.smx

Sourcecode

level chooser.sp

Cvars, commands and usage
//commands
sm_lv <int>    //Just use it in client console and input a level number to replace <int> (integer between 0 to 100)
Source and license

Polaris (GPLv3)

Playlist coop enforcer(1.6.1,1.6.2)

Description

Yeah, you read that right... there are 2 code versions about this plugins, they are very simple and they have some little buggy. This plugins can enforce your playlist as coop.playlist, even use illegal map like dust2 in playlist coop! version 1.6.1 use HookConVarChange() instead of a 0.1sec repeat timer in version 1.6.2, I think that 1.6.1 use less performance but 1.6.2 is more reliability. I have no choice, so I release both of them and let you make a decision.

If you use 1.6.1, you have to start your server with bulit-in maps like +map sinjar_coop checkpoint, then change to custom map manually ( just use map command in console). maybe no need to do that if you use 1.6.2

Finally, both 2 versions incompatible with bulit-in map in mapcyclelist.txt like sinjar_coop, tell etc., you can not vote any custom maps again when you rtv and changed to a bulit-in map.

Plugin's smx

Playlist coop enforcer 1.6.1.smx

Playlist coop enforcer 1.6.2.smx

Sourcecode

Playlist coop enforcer 1.6.1.sp

Playlist coop enforcer 1.6.2.sp

Cvars, commands and usage
//No commands for them, just put it in plugins folder.

//1.6.1
//To use this plugin: you have to set your map as game's built-in map in start commands, like +map tell_coop checkpoint
//in addition, inside the game, you need to change maps between built-in map and custom maps aleast once
//or else, your server will only run in playlist custom, even use command map <map name>! you have to do like mentioned above.

//1.6.2
//it should be work well directly?

//Known bugs: 
//1.Throw can't find prop errors when changing map, but no hardly affects for game and plugins functions; 
//2.Server will not hibernate, cuz for maintenance functions;
//3.You can't vote a custom map when you change your map from a custom map to built-in map last time, so you have to use custom map only in mapcyclelist.txt (but built-in map when server start).
Source and license

Polaris (GPLv3)

End of outpost

Description

As we known, we can get an achievement when we play game mode outpost and reach level 20. But maybe you don't know we are unable to win this game, even you reach level 2147483647 (32bit int). You really want to win this game? perhaps you can try this!

This plugin can set a level that judge the status as victory when you reach it. Although NWI seems didn't design a win status for game mode outpost? but I tried to reproduce it with bob's idea and we made it finally.

Plugin's smx

End of outpost.smx

Sourcecode

End of outpost.sp

Cvars, commands and usage
//cvar.
sm_outpost_endlevel 25 //what level we should get victory? integer between 3 to 2147483647, default is 25.
Source and license

Polaris (GPLv3)

About

A source code repository for sourcemod. (Now inherited by Polarsky)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published