Skocz do zawartości

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

[CSGO] Randomly generated maps


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
Brak odpowiedzi do tego tematu

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156
Profesjonalista

  • Postów:7 488
  • Lokalizacja:AMXX.PL
Offline

Napisano 01.09.2014 22:58

<!-- BEGIN TEMPLATE: postbit_external -->
<div><b>Description</b><br />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.<br /><br /><b>Download</b><br />To download the plugin and maps I have made (both source and compiled bsp) go to the Github page at <a href="https://github.com/k...s/csgo-scavenge" target="_blank">https://github.com/k...go-scavenge</a> and download the latest release which should be <a href="https://github.com/krisives/csgo-scavenge/archive/master.zip" target="_blank">https://github.com/k...ster.zip</a><br /><br /><b>Install<br /></b>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 &quot;scv_&quot; and won't touch entities that don't begin with &quot;p_&quot;<br /><br /><b>Regenerating Level</b><br />You can use the server command &quot;scv_regen&quot; to regenerate the level layout. A new level will be regenerated each time the map changes.<br /><br /><b>Creating Maps</b><br />To create a map have it begin with &quot;scv_&quot; 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 &quot;p_&quot;. That entity will now be placed within the bounds.<br /><br />Setting the bounds is done by creating 4 info_target entities called &quot;bounds1&quot;, &quot;bounds2&quot;, &quot;bounds3&quot;, and &quot;bounds4&quot;. All the particles (things starting with &quot;p_&quot;) will be randomly placed within those bounds.<br /><br /><b>Map IDs</b><br />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)<br /><br /><b>Constraints</b><br />To force something to spawn a distance away from something else add a key to the entity in the Hammer editor called &quot;scv_constraint&quot; with a value like &quot;300 p_another&quot; this would force it to stay 300 units away from the entity p_another.<br /><br /><b>ChangeLog</b><br />See the commit log for now at <a href="https://github.com/krisives/csgo-scavenge/commits/master" target="_blank">https://github.com/k...s/master</a><br /><br /><b>Bugs</b><br />Report bugs in this thread or on the Github at <a href="https://github.com/krisives/csgo-scavenge/issues" target="_blank">https://github.com/k...e/issues</a><br /><br /><b>Submitting Changes</b><br />Respond to this thread or fork on Github. You can edit the files via the website if you fork on Github.<br /><br /><b>Demo Servers</b><br /><br />76.115.163.29 My demo server (west coast)</div>


<!-- END TEMPLATE: postbit_external -->

Wyświetl pełny artykuł




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych