Script Name: CityRPG
Script Description: Currently running at 122.105.233.225:23073
An idea originally suggested by
bloodzcape jezza quite some time ago (I even forgot who it was it was so long ago), CityRPG is a simple attempt to bring some of the mechanics featured in games like GTA into Soldat. I didn't have the time to do it then, but I'm free at the moment so I've decided to do it over the past week or so.
There is no real goal in this game mode. Feel free to run amok or be more strategic in your gameplay.
Some things you should know:
Killing players makes them drop their money on the ground. Pick it up by pressing the crouch button where they died.
Beware of the fuzz. Killing players or attacking them will attract their attention and make them hunt you down.
If the fuzz are onto you, you can stay out of sight until they give up the chase.
Get into too much trouble and SWAT teams or even soldiers will come after you.
When you die, you drop your money and your bank account gets billed for your health expenses.
It is wise to deposit your money into the ATM so you don`t drop it when you die.
If you are killed by the fuzz, your bail will also be drained from your bank account.
Your money, bail and wanted level are displayed in the bottem-left corner.
You can go to the hospital to heal your ailments or for plastic surgury that will prevent the fuzz from recognising you.
You can also go to the gun store to buy and sell weapons and buy bulletproof vests.
To enter or exit the gun store or hospital, hold the grenade button.
You can rob people, but they will notice if it isn't from behind, and you can be noticed by the Fuzz.
The script runs off of a modified version of
inf_Zitrone (included)...I hardly felt in the mood to create such a map from scratch. It could easily be used with modified versions of other maps with spawn locations marking certain key places (ATM, hospital entrance/exit, etc) used in the same way.
Requirements:
-All weapon availabilty set to 0
-0 grenades
-Disable weapon anti-cheat (since any weapons bought will set that off)
Everything else that matters is set by the script itself, including setting the gamemode to Rambomatch (it has the most ideal bot behavior).
Original Author(s): Snowy
Core Version: 2.6.5
Code:
//buy vest command
else if Text = '/buy vest' then begin
if GetPlayerStat(ID,'vest') < 100 then begin
buyvalue := VESTCOST;
if (playercash[ID] >= buyvalue) then begin
SpawnObject(GetPlayerStat(ID,'x'),GetPlayerStat(ID,'y'),19);
playercash[ID] := playercash[ID] - buyvalue;
minusdollars[ID] := minusdollars[ID] + buyvalue;
minusseconds[ID] := 3;
end
else begin
WriteConsole(ID,'Cannot afford',$EEFFFFFF);
end;
end
else begin
WriteConsole(ID,'Already have',$EEFFFFFF);
end;
Known bugs:
-Thrown knives don't do damage and disappear (Soldat's fault; how it handles knives if they aren't enabled in the weapon menu)
-Forceweapon with fist as secondary bugs that fist (can't punch or pickup) until you roll, press grenade, etc (Soldat's fault).