[CSS] Rally Race Mod
7 Attachment(s)
[IMG]http://img9.**************/img9/4986/cssbuggy.png[/IMG] Counter Strike:Source Rally Race Mod This is a CSS mod. Drive HL2 vehicle in CSS to play rally race. Support vehicle engine sound, car engine boost, 16 racer in a map, checkpoints, place. That is possible to create a drivable vehicle in TF2, DODS, L4D1/2(use vehicle kill zombie)You can use the extension to make you own Race Mod Current Version extension 1.0.0.1 plugin 1.0.0.5 Code:
rallyrace_readytime - 20 - Ready Time :arrow:Video: http://www.youtube.com/watch?v=RV3ZOzGbhak :arrow:Newbie Install: 1. Download newbie_pack_plugin.zip, unzip to "cstrike" folder 2. Download "rallyrace.sp" & Compile the "rallyrace.sp" :arrow:Manual Install: 1. Download css_patch.zip, unzip to "cstrike" folder 2. Go to "cstrike\scripts" folder, open "game_sounds_manifest.txt" file. Add the following code Code:
"preload_file" "scripts/game_sounds_vehicles.txt" Code:
game_sounds_manifest 4. Download rallyrace_plugin.zip, unzip to "cstrike\addons\sourcemod". 5. Download "rallyrace.sp" & Compile the "rallyrace.sp" :arrow:Race map: race_derby_v1.zip is a map file another 2 map files, http://www.sendspace.com/file/er7v8f You can create race map for this plugin There are 4 types special entity for this plugin, all are defined in rallyrace.sp: Check Point: car check points Classname: "trigger_multiple" Targetname: "checkpoint_#"+(1..) Wait (Delay before reset): 0.1 (best value is 0.1, don't set 0) 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) Ready Zone: when player inside the zone, mean player can play on next race round Classname: "trigger_multiple" Targetname: "ready_zone" Wait: 0.1 or default Create a "env_sprite", use model "zx2_car/go.vmt", put it into the "ready_zone" center, it will show a "GO!" picture Spectate Zone: when player inside the zone, switch player to spectate team directly Classname: "trigger_multiple" Targetname: "spectate_zone" Wait: 0.1 or default Create a "cycler", use model "models/gman.mdl", let player know there is a spectate zone (or some sexy model) Car Spawn Point: car spawn points Angle: you must set the correct angleClassname: "info_target" Targetname: "car_spawn" :arrow:How to control my car: W = Forward S = Backward A = Left D = Right Space bar = Handbrake Shift = Boost :arrow:Requirement: sourcemod mapchooser.smx metamod source 1.7.1 + sourcemod 1.2 + :arrow:For plugin coding: hope you can read my code, because there are no comment (may be add back later)server will crash if you remove a car that contain driver inside. You should kill or remove the driver first. use "rallyrace.inc" to create plugin for this mod :arrow:How to Add Car: support up to 100 cars, if you need more, open the "rallyrace.sp", change MAX_CAR value example to add tacoma car http://forums.alliedmods.net/showpos...3&postcount=57 open configs/rallyrace/carconfig.txt Code:
"RallyRaceCar" :arrow:Version: 1.0.0.1 Fix late join player Add some Cvars for config Add some code comment in .sp & .inc Add map vote Changed 2 forward prototype When race finish, all map entities will reset 1.0.0.2 Add remove idle weapon Remove team change message 1.0.0.3 Fix player team error 1.0.0.4 zip file not contain .sp file anymore Fix again, should work now 1.0.0.5 Add a forward OnPlayerFinishRace Add file configs/rallyrace/carconfig.txt Add file configs/rallyrace/download.txt . |
Re: [CSS] Rally Race Mod
Runs really nice.
Great work. This has lots of modding potential: new models, maps, etc. One thing I needed to change was to restart the round once the race is over. This resets the map so glass, barrells, etc gets reset. RallyRace::MOD 69.162.97.22:27015 |
Re: [CSS] Rally Race Mod
Can you please write a small plugin to spawn car by Admin command (for example in position where Admin is looking). I mean car that only Admin is allowed to drive by using E on car like in HL2, or if its too hard to do, just drivable by everyone, it can also be something like "Admin is typing command, and car is spawning in his angle and he is instantly driving it" - I think it would be the simplest way :shock:
I tried to do it myself, but my coding experience is not enough :| Also, it would be nice to parent a prop_dynamic with animated crouching player on the chair instead of nothing inside car :roll: Well, if its possible to do for you, you will get lots of +karma from me! :mrgreen: |
Re: [CSS] Rally Race Mod
Quote:
the reason why don't do that is "car spawn order is order by time of join ready zone" may be there are a signature to let all prop reset |
Re: [CSS] Rally Race Mod
Quote:
if you look the .sp file, you can know how to spawn a working jeep if spawn a default jeep, driver is invisible(observer/death player can't view the driver, same as HL2DM - airboat). if you make player visible, you can see the player is "stand on the jeep and using a knife", so wired. Who can fix that? |
Re: [CSS] Rally Race Mod
I see what you are saying about the spawn order.
It would be nice to reset the map objects. There must be another way. - A few notes - Bug: -The sound cuts out for a few seconds from time to time. A few players mentioned this. Comments: - It would be nice to keep the best lap time for each map. Gives you something to achive; player holding the best time on the map. - When a players joins during the race it should let them know they need to wait till the race is done. - Need a way to change the map, after x number of races or something. Thanks again for a great mod. |
Re: [CSS] Rally Race Mod
... i was working on a vehicle mod aswell but through scripting only, almost had it finished. good work never the less.
|
Re: [CSS] Rally Race Mod
Quote:
PHP Code:
|
Re: [CSS] Rally Race Mod
use CreateJeep() then teleport it, you will get a working jeep
|
Re: [CSS] Rally Race Mod
I have some problems, late joiner don't spam in the wait area also after the race has ended. they just stay dead. and it should force round end so the things in the map reload and the map change change after vote.
And it would be nice if there is a high score saving and some help cause people don't know what to do :) And see people in the cars, and if the first one finish the should be only like 30seconds for the other racers and then the round should restart. :) my server ip: 82.197.223.125:27015 |
All times are GMT -4. The time now is 14:16. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.