19.05.2010, 20:32
Cow Races
I supposed I got a little bored with this one, but I'm really proud of it.
It's a custom built ("built" is being used loosely) interior with 5 racing cows and 2 betting booths.
You hit "F" next to the booth and you place your bets.
The cows move at random speeds randomly until the winner get to the end of the line. Then the cows reset and all of the bets are removed. If you placed bets on the winning cow you get double your money back.
It's scripted so you can easily modify several aspects of it.
Change this incase your dialogs are interupting.
Changing this affects how often the cow's speed adjusts.
Changing these affects the cow's top and bottom speed, it's randomized inbetween them.
This is how long the 'Intermission' is between races. The races actual time will vary.
Version 2 has the following features:
Version 2 introduces the "Rig the race" feature in the betting booths. You can affect an individual cow with one or more affects to help your favorite cow win!
Steroids - This gives for higher random speeds - Cancels out Sleeping Pills
Sleeping Pills - This gives lower random speeds - Cancels out Steroids
Final Stretch - near the end, the affected cow will stop changing speeds and stick with what it has until the finish
Pit Stop - This stops the cow for a period of time near the end of the race
Each one can only be affected once, so multiple uses does nothing, and can't be undone (So if a cow has both Steroids and Sleeping Pills, more steroids will NOT affect the cow)
This affects the randomizer by that amount if Steroids and/or Sleeping Pills are used.
This is how long Pit Stop affects a cow in milliseconds
Set this to 0 to remove the "Rig the Race" feature
This is the cost of the "Steroids" rig, set to 0 to remove
This is the cost of the "Sleeping Pills" rig, set to 0 to remove
This is the cost of the "Final Stretch" rig, set to 0 to remove
This is the cost of the "Pit Stop" rig, set to 0 to remove
There are a few commands implemented, but you can remove them if you wish.
/GoToRaces -- Teleports you to the race
/bAddCash -- Adds $500 ( I got too lazy )
The interior is built inside the stadium at Las Venturas.
The objects and texts will delete themself if you unload the filterscript.
Video
![](http://video.xfire.com/2b643e-4.jpg)
Pastebun
v2 Pastebin <- Fixed a bug redownload
v1 Pastebin
I supposed I got a little bored with this one, but I'm really proud of it.
It's a custom built ("built" is being used loosely) interior with 5 racing cows and 2 betting booths.
You hit "F" next to the booth and you place your bets.
The cows move at random speeds randomly until the winner get to the end of the line. Then the cows reset and all of the bets are removed. If you placed bets on the winning cow you get double your money back.
It's scripted so you can easily modify several aspects of it.
Код:
#define USE_DIALOG_ID 2
Код:
#define MAX_PACES
Код:
#define MIN_SPEED 1
Код:
#define MAX_SPEED 5
Код:
#define RACE_INTERVAL 30000
Version 2 has the following features:
Version 2 introduces the "Rig the race" feature in the betting booths. You can affect an individual cow with one or more affects to help your favorite cow win!
Steroids - This gives for higher random speeds - Cancels out Sleeping Pills
Sleeping Pills - This gives lower random speeds - Cancels out Steroids
Final Stretch - near the end, the affected cow will stop changing speeds and stick with what it has until the finish
Pit Stop - This stops the cow for a period of time near the end of the race
Each one can only be affected once, so multiple uses does nothing, and can't be undone (So if a cow has both Steroids and Sleeping Pills, more steroids will NOT affect the cow)
Код:
#define RIG_SPEED 2
Код:
#define RIG_PIT_STOP_TIME 2000
Код:
new PlayersCanRig=1;
Код:
new RigSteroids=1000;
Код:
new RigSleepingPills=750;
Код:
new RigFinalStretch=1200;
Код:
new RigPitStop=13500;
There are a few commands implemented, but you can remove them if you wish.
/GoToRaces -- Teleports you to the race
/bAddCash -- Adds $500 ( I got too lazy )
The interior is built inside the stadium at Las Venturas.
The objects and texts will delete themself if you unload the filterscript.
Video
![](http://video.xfire.com/2b643e-4.jpg)
Pastebun
v2 Pastebin <- Fixed a bug redownload
v1 Pastebin