Skocz do zawartości

  • Zaloguj korzystając z Facebooka Zaloguj korzystając z Twittera Zaloguj przez Steam Zaloguj poprzez Google      Logowanie »   
  • Rejestracja

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


[CS:GO] Rally Race

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

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156

  • Postów:7115
  • Lokalizacja:AMXX.PL

Napisano 05.05.2015 22:15

<div><img src="http://www.lady-nata...-race-csgo.png"border="0" alt="" /><br /><br />Original Author: <a href="" target="_blank">raydan</a><br /><br /><b>CS:GO Rally Race</b><br />This is a direct descendent of raydan's <a href="" target="_blank">old Rally Race mod</a> for CS:S. Credit goes to him for the original idea and much of the functionality of this plugin. Sometime in 2011 I unofficially took over developing the CS:S version, but now I have taken it and made a new CS:GO version.<br /><br /><b>Current Version</b><br />0.49<br /><br /><b>CVARS</b><br />rallyrace_version_csgo -- version number<br />car_horn_delay -- Delay between horn honks in seconds -- Defaults to 1.0<br />rallyrace_readytime -- Wait time between races in seconds -- Defaults to 20<br />rallyrace_racetime -- Maximum race time in seconds -- Defaults to 320<br />rallyrace_raceround -- Number of races before map vote -- Defaults to 6<br />rallyrace_use -- If 1 this lets players press +use (e) to exit the car -- Defaults to 1<br /><br /><b>Files</b><br /><a href="" target="_blank"></a><br /><br />The above file contains a basic install.<br /><br />What does a Rally Race server need?<br />- A compatible map<br />- A car model<br />- A script for the car<br />- The plugin and configs<br />- mapchooser.smx<br />Optional: sounds and custom surfaceproperty scripts<br /><br />In the .zip above I include<br />- 5 cars<br />- Scripts for those cars and other cars not present<br />- Configs for RR<br />- 3 other plugins -- sm_downloader, rallyrace_times, and mapchooser.smx<br /><br />sm_downloader and rallyrace_times are optional, but you probably want them. mapchooser is mandatory.<br /><br /><b>Maps</b><br />CS:GO Rally Race maps work exactly the same as the CS:S ones, except the spectate zone doesn't work right now. It is okay to add the spectate zone brush, in the future I may get it operational.<br /><br />Here are some maps you can download and use right away:<br /><a href="" target="_blank">http://csgo.gamebana...s/185645</a><br /><a href="" target="_blank">http://csgo.gamebana...s/185647</a><br /><a href="" target="_blank">http://csgo.gamebana...s/185586</a><br /><br />The map needs a few things to work right, I'm just copying raydan's explanation as this stuff has not changed.<br /><br /><div align="left">Check Point: car check points<br />Classname: &quot;trigger_multiple&quot;<br />Targetname: &quot;checkpoint_#&quot;+(1..)<br />Wait (Delay before reset): 0.1 (best value is 0.1, don't set 0)<br />for the first checkpoint, targetname must be &quot;checkpoint_#1&quot;, second checkpoint, &quot;checkpoint_#2&quot;. (up to checkpoint_#x , where x is the largest integer number in sourcemod, and don't make stupid things, like checkpoint_#-1, checkpoint_#a, checkpoint_## and so on, if server crash don't ask me)</div> <br /><div align="left">Ready Zone: when player inside the zone, mean player can play on next race round<br />Classname: &quot;trigger_multiple&quot;<br />Targetname: &quot;ready_zone&quot;<br />Wait: 0.1 or default<br />Create a &quot;env_sprite&quot;, use model &quot;zx2_car/go.vmt&quot;, put it into the &quot;ready_zone&quot; center, it will show a &quot;GO!&quot; picture</div> <br /><div align="left">Spectate Zone: when player inside the zone, switch player to spectate team directly<br />Classname: &quot;trigger_multiple&quot;<br />Targetname: &quot;spectate_zone&quot;<br />Wait: 0.1 or default<br />Create a &quot;cycler&quot;, use model &quot;models/gman.mdl&quot;, let player know there is a spectate zone (or some sexy model)</div> <br /><div align="left">Car Spawn Point: car spawn points<br />Classname: &quot;info_target&quot;<br />Targetname: &quot;car_spawn&quot;</div>Angle: you must set the correct angle<br /><br /><b>Cars</b><br />I use prop_vehicle_driveable. Most cars from the CS:S Rally Race will work, but you need to use appropriate flags in carconfig.txt<br /><br />I'll explain the variables with this example:<br /><div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
<div class="alt2">
<hr />
<code style="white-space:nowrap">
<div dir="ltr" style="text-align:left;">
<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"4"<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"name"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"Dodge&nbsp;Charger"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"type"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"charger"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"model"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"models/natalya/vehicles/dodge_charger_1969.mdl"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"script"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"scripts/vehicles/69chargersticky.txt"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&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nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"vip"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"0"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"siren"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"0"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"police_lights"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"0"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"lights"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"2"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"view"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"1"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"driver"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"1"<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">}&nbsp;
<br /></span><span style="color: #0000BB"></span>
</code><!-- php buffer end -->
<hr />
</div>name - car name as it will be displayed<br />type - unused right now<br />model - path to the .mdl<br />script - path to the vehicle script (determines handling of the car)<br />val_1 - unused right now<br />val_2 - unused right now<br />skin_min - should be 0<br />skin_max - maximum skin number, this is indexed so if the car has 10 skins you put 9 here<br />&quot;0&quot; - name for the colour or whatever of the skin of this number<br />&quot;1&quot; - name for the next colour etc<br />&quot;vip&quot; - leave this 0 unless you want only server admins or vips to use this car<br />(to make someone a VIP add them to the admin config file, but give immunity 0 and no flags)<br />siren - does this car have a police siren? use 0 for most cars<br />police_lights - if the car has attachments for flashing police lights set this to 1<br />lights - 1 means brake lights only, 2 means headlights also, these are determined by the model<br />view - does this model have an attachment for 3rd person? if so use 1<br />driver - is using a CS:S car set to 0 or else server can crash<br /><br />driver, view, lights, and police_lights are all dependent upon the vehicle model. If it doesn't have the right stuff set them to 0. driver MUST be set to 0 for all vehicles except the dodge charger in the above .zip file because I have not made any other car work with a driver view model for CS:GO. Even if the view model worked for CS:S rally race it won't work now, so keep it 0. Look at the charger .mdl in HLMV to see the attachments.<br /><br />If you want to model a car and give it functionality use the following attachment names:<br /><br />Brakes:<br />light_rr<br />light_rl<br />Headlights:<br />light_fr<br />light_fl<br />Police Lights:<br />light_bar1<br />light_bar2<br />3rd Person:<br />vehicle_3rd &lt;-- this one floats behind the vehicle up in the air<br />View Model:<br />vehicle_driver_eyes &lt;-- for driver view model, but this REQUIRES a skeleton rigged properly<br /><br />Talk to me on Steam (natalyaaf or natalya_fs) if you want to make a compatible car model I can explain everything in detail.<br /><br /><br /><b>Other Notes</b><br />@ SM Mods:<br />If there are problems with this submission, I apologize, I can fix stuff or whatever if need be.<br /><br />@ Everyone else:<br />Thanks for downloading, I hope you have fun racing on CS:GO</div>

<br /> <div style="padding:6px">

<fieldset class="fieldset">
<legend>Attached Files</legend>
<table cellpadding="0" cellspacing="3" border="0">
<td><img class="inlineimg" src="https://forums.allie.../attach/sp.gif"alt="File Type: sp" width="16" height="16" border="0" style="vertical-align:baseline" /></td>

<a href="http://www.sourcemod...03"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1430860764">GetSource</a> (rallyrace.sp - 88.3 KB)



Wyświetl pełny artykuł

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

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