Raised This Month: $51 Target: $400
 12% 

[INS] Insurgency_Maps plugin natives GitHub


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 09-10-2016 , 15:52   [INS] Insurgency_Maps plugin natives GitHub
Reply With Quote #1

GitHub https://github.com/ambaca/insurgency_maps

For Insurgency 2014 game.
This game can use different gamemodes in one same map (depends how map is created).



So I tried create this plugin+natives to get more control to handle maps with different gamemodes.

Plugin try search all maps cpsetup script files and save gamemodes inside of those to own KeyValue tree.

Maps which not have this txt file (or file have zip inside map) will not get stored into KeyValues tree.
To do

Legacy workshop maps also not automatically get stored into KeyValues tree.
To do


zip file include all files, plugins, source and inc. https://github.com/ambaca/insurgency_maps/releases

Loading insurgency_maps.smx and insurgency_maps_menu.smx
you get into Admin Menu/Server Commands a new option "Change Level"


I attached inc file to show (current) natives

Enjoy
Attached Files
File Type: inc insurgency_maps.inc (1.7 KB, 129 views)
__________________
Do not Private Message @me

Last edited by Bacardi; 10-10-2017 at 11:57. Reason: No extension C++
Bacardi is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 09-11-2016 , 12:30   Re: [INS] Insurgency_Maps extension GitHub
Reply With Quote #2

Are you planning to create an extension to get all the maps from the game's internal state? Extensions are C++ ;)
__________________
Peace-Maker is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 09-11-2016 , 12:35   Re: [INS] Insurgency_Maps extension GitHub
Reply With Quote #3

No..., this topic can move "snippet and tutorials"
Bacardi is offline
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 09-11-2016 , 15:19   Re: [INS] Insurgency_Maps extension GitHub
Reply With Quote #4

Quote:
Originally Posted by Bacardi View Post
No..., this topic can move "snippet and tutorials"
Done

Nice job!
sneaK is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:08.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode