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

[CSGO] Randomly generated maps


Post New Thread Reply   
 
Thread Tools Display Modes
Author
krisives
New Member
Join Date: Aug 2014
Plugin ID:
4334
Plugin Version:
2.0
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Randomly generates the locations of items within the map.
    Old 09-01-2014 , 17:58   [CSGO] Randomly generated maps
    Reply With Quote #1

    Description
    csgo-scavenge is a project I made to randomly generate the locations of things within maps. The idea is to provide a new type of gameplay where learning the map is at the advantage of the player and team.

    Download
    To download the plugin and maps I have made (both source and compiled bsp) go to the Github page at https://github.com/krisives/csgo-scavenge and download the latest release which should be https://github.com/krisives/csgo-sca...ive/master.zip

    Install
    Copy the scavenge.smx file into your sourcemod plugins directory and copy the scv_ BSP files from maps into your servers maps directory. The plugin won't do anything on maps that don't start with "scv_" and won't touch entities that don't begin with "p_"

    Regenerating Level
    You can use the server command "scv_regen" to regenerate the level layout. A new level will be regenerated each time the map changes.

    Creating Maps
    To create a map have it begin with "scv_" so that the plugin goes into affect. Next tie each piece of the level you want to spawn to an entity using CTRL+T in the Hammer editor. I use the entity type func_brush. Name the entity something that begins with a "p_". That entity will now be placed within the bounds.

    Setting the bounds is done by creating 4 info_target entities called "bounds1", "bounds2", "bounds3", and "bounds4". All the particles (things starting with "p_") will be randomly placed within those bounds.

    Map IDs
    Each map has a 32 bit unique number used to generate it. If you remember the map ID you can load the same map again! (TODO more on this)

    Constraints
    To force something to spawn a distance away from something else add a key to the entity in the Hammer editor called "scv_constraint" with a value like "300 p_another" this would force it to stay 300 units away from the entity p_another.

    ChangeLog
    See the commit log for now at https://github.com/krisives/csgo-sca...commits/master

    Bugs
    Report bugs in this thread or on the Github at https://github.com/krisives/csgo-scavenge/issues

    Submitting Changes
    Respond to this thread or fork on Github. You can edit the files via the website if you fork on Github.

    Demo Servers

    76.115.163.29 My demo server (west coast)

    Last edited by krisives; 09-01-2014 at 17:59.
    krisives is offline
    intercostal_noisE
    Member
    Join Date: May 2014
    Old 08-11-2015 , 07:05   Re: [CSGO] Randomly generated maps
    Reply With Quote #2

    Is it possible to do something like parsing the map entities and throw them automatically randomised on the map without the need to make own maps? may be with a whitelist for mapnames?

    noisE
    intercostal_noisE 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 09:44.


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