<div><img src="http://www.lady-nata...-race-csgo.png"border="0" alt="" /><br /><br />Original Author: <a href="https://forums.alliedmods.net/member.php?u=20289" target="_blank">raydan</a><br /><br /><b>CS:GO Rally Race</b><br />This is a direct descendent of raydan's <a href="https://forums.alliedmods.net/showthread.php?t=110160" 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="http://www.lady-natalya.info/downloads/RallyRace_N-GO-0.49.zip" target="_blank">http://www.lady-nata...0.49.zip</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="http://csgo.gamebanana.com/maps/185645" target="_blank">http://csgo.gamebana...s/185645</a><br /><a href="http://csgo.gamebanana.com/maps/185647" target="_blank">http://csgo.gamebana...s/185647</a><br /><a href="http://csgo.gamebanana.com/maps/185586" 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: "trigger_multiple"<br />Targetname: "checkpoint_#"+(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 "checkpoint_#1", second checkpoint, "checkpoint_#2". (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: "trigger_multiple"<br />Targetname: "ready_zone"<br />Wait: 0.1 or default<br />Create a "env_sprite", use model "zx2_car/go.vmt", put it into the "ready_zone" center, it will show a "GO!" picture</div> <br /><div align="left">Spectate Zone: when player inside the zone, switch player to spectate team directly<br />Classname: "trigger_multiple"<br />Targetname: "spectate_zone"<br />Wait: 0.1 or default<br />Create a "cycler", use model "models/gman.mdl", 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: "info_target"<br />Targetname: "car_spawn"</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"> </span><span style="color: #DD0000">"4"<br /> </span><span style="color: #007700">{<br /> </span><span style="color: #DD0000">"name" "Dodge Charger"<br /> "type" "charger"<br /> "model" "models/natalya/vehicles/dodge_charger_1969.mdl"<br /> "script" "scripts/vehicles/69chargersticky.txt"<br /> "val_1" "10"<br /> "val_2" "1"<br /> "skin_min" "0"<br /> "skin_max" "9"<br /> "0" "Black"<br /> "1" "White"<br /> "2" "Red"<br /> "3" "Orange"<br /> "4" "Yellow"<br /> "5" "Dark Green"<br /> "6" "Blue"<br /> "7" "Purple"<br /> "8" "Pink"<br /> "9" "Bright Blue"<br /> "vip" "0"<br /> "siren" "0"<br /> "police_lights" "0"<br /> "lights" "2"<br /> "view" "1"<br /> "driver" "1"<br /> </span><span style="color: #007700">}
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</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 />"0" - name for the colour or whatever of the skin of this number<br />"1" - name for the next colour etc<br />"vip" - 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 <-- this one floats behind the vehicle up in the air<br />View Model:<br />vehicle_driver_eyes <-- 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">
<tr>
<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>
<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)
</td>
</tr>
</table>
</fieldset>
</div>
Wyświetl pełny artykuł
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.
|
Guest Message by DevFuse

[CS:GO] Rally Race
Temat rozp. Adminek AMXX.PL, 05.05.2015 22:15
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych