Author Topic: Counter-Strike v1.4  (Read 22265 times)

0 Members and 2 Guests are viewing this topic.

Offline Toumaz

  • Veteran
  • *****
  • Posts: 1904
Counter-Strike v1.4
« on: August 12, 2007, 02:44:13 pm »
Script Name: Counter-Strike script for Soldat (v1.4)
Original Author: Toumaz
Core Version: 2.6.2 or higher


Features

  • Money system. It's like advance mode, only you get money and choose what to buy yourself.
  • Accessories. Apart from weapons you can buy cluster grenades, bulletproof vests, and much more for your hard-earned money.
  • Medics. Every team has a medic of their own to support.
And loads more I can't possibly be arsed to list.

Changelog

Version 1.4 (2008-10-30)
- Added Predator accessory
- Added Berserker accessory
- Removed buy time entirely
- Made the stat gun slightly more powerful
- Lowered the price of the stat gun to $6500
- Lowered the price of cluster grenades to $1250
- Fixed the bug where weapons were lost upon switching team
- Selling a weapon now gives 33% of its buy cost (changed from 25%)
- All weapons now have static prices (M79/Barrett $2250, Minigun $1500, all others $2000)

In-game commands

/buy <weapon>Write a part of any weapon/accessory's name to buy it.
You can also use the weapon's number.
Example: /buy bar and /buy 8 would both purchase a Barrett.
/sell <weapon>Sells a weapon you already have for half the purchase price. Same syntax as /buy.
/pricesDisplays the weapon & accessory prices.
/moneyHow much money you have at the moment

The money you get whenever you kill somebody, win a round, etc is all customizable. Look inside the script file for details.

Setting it all up

Extract the zip file attached to this post to your server directory (NOT soldatserver/scripts; this script uses a WM).
Then for some Soldat.ini configuration fun:

  • Enable survival mode (Survival_Mode=1)
  • Enable advance mode (Weapons_Mode=1) and set Advance_Amount=200 or something ridiculously high (this is because I am a lazy **** and it's easier for me just having you set a server option)
  • Set the game mode to Capture the Flag (GameStyle=3)

Then open up CounterStrike.pas in an editor of your choice if you feel like making any changes to the default configuration.

Anyhow, enjoy.
« Last Edit: November 02, 2008, 04:53:49 am by Toumaz »

Offline Iq Unlimited

  • Flagrunner
  • ****
  • Posts: 864
  • mr. foobar2000
Re: Counter-Strike
« Reply #1 on: August 12, 2007, 02:59:29 pm »
been waiting for this kind of script for far too long, Go Toumaz! :P.

Offline Avarax

  • Veteran
  • *****
  • Posts: 1529
    • Official Hexer & MMod site
Re: Counter-Strike
« Reply #2 on: August 12, 2007, 05:00:10 pm »
Don't forget to use the CS Mappack and a CS Mod for the ultimate feeling ;)

cool script, when do you actually loose the weapons?
I like to have one Martini
Two at the very most
Three I'm under the table
Four I'm under the host

Offline Toumaz

  • Veteran
  • *****
  • Posts: 1904
Re: Counter-Strike v1.01
« Reply #3 on: August 12, 2007, 05:16:19 pm »
Don't forget to use the CS Mappack and a CS Mod for the ultimate feeling ;)
True true ;)

cool script, when do you actually loose the weapons?
If you die with a primary you'll lose it, or if you throw it out (to prevent somebody supplying weapons to his entire team without any costs for them). You can also steal weapons on the ground, and a bit more stuff. Go play it since I really can't be arsed writing out every single detail here (I'm lazy and very tired :().

And fixed a small bug in it (as I said, too tired), so v1.01 now.

Offline Tosty

  • Soldier
  • **
  • Posts: 172
  • Ultimate TW Medic
    • Just Click it
Re: Counter-Strike v1.01
« Reply #4 on: August 12, 2007, 05:58:03 pm »
Can u make it so you dont have to play on survival



Offline zyxstand

  • Veteran
  • *****
  • Posts: 1106
  • Mother of all Bombs
Re: Counter-Strike v1.01
« Reply #5 on: August 13, 2007, 09:26:54 am »
Can u make it so you dont have to play on survival

That's up to the server -
Toumaz said to use survival cuz it works better and practically those who would like this mode are ususally those who play R/S to begin, so this is meant for them.

Suggestion:
Mod the weapons to make some weaker and stronger (cuz currently they're very well balanced) - the weaker ones would cost less then and the stronger would be more expensive!
For example, the minimi would be twice as weak but would cost 2/3 the price of the AK (It seems currently AK is very similar to minimi).  Or have HK only have 10 bullets per magazine...
Can't think of anything original to put here...

Offline Toumaz

  • Veteran
  • *****
  • Posts: 1904
Re: Counter-Strike v1.01
« Reply #6 on: August 13, 2007, 09:34:31 am »
Can u make it so you dont have to play on survival

That's up to the server -
Toumaz said to use survival cuz it works better and practically those who would like this mode are ususally those who play R/S to begin, so this is meant for them.

It actually won't work at all if survival is disabled. Might fuck up a non-survival version of it later.

Mod the weapons to make some weaker and stronger (cuz currently they're very well balanced) - the weaker ones would cost less then and the stronger would be more expensive!
For example, the minimi would be twice as weak but would cost 2/3 the price of the AK (It seems currently AK is very similar to minimi).  Or have HK only have 10 bullets per magazine...

I know fuck all about making properly balanced weapons, and.. meh, I'm lazy. It should be pretty easy to just edit it in yourself ripping the dynamic pricing part out.

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Counter-Strike v1.01
« Reply #7 on: August 13, 2007, 11:38:04 am »
Lol, somebody released it sooner than I thought they would. Now mine is never going to catch on :) Oh well (thats if I ever work on it again)

Offline ass|reaper

  • Major(1)
  • Posts: 20
Re: Counter-Strike v1.01
« Reply #8 on: October 29, 2007, 01:56:29 am »
hey how do u add that script to my server?
its a linux and its hosted by enesce.com

Date Posted: October 27, 2007, 03:49:39 pm
hey how do u turn ur script offff!!!!!!

Date Posted: October 28, 2007, 12:03:02 am
hey try making one where u dont have to use the auoto money thing. all u have to do is customize the price and it stays like that. itll be much better for peps who dont leave the scrpt on forever.

Offline Kavukamari

  • Camper
  • ***
  • Posts: 435
  • 3.14159265358979, mmm... pi
Re: Counter-Strike v1.01
« Reply #9 on: November 13, 2007, 05:15:02 pm »
If either of those aren't set properly the script will bork.

err... bork?

just a small fix in the post :)
"Be mindful of fame, show a mighty courage, watch against foes. Nor shalt thou lack what thou desirest, if with thy life thou hast comest out from that heroic task."

Offline mxyzptlk

  • Veteran
  • *****
  • Posts: 1493
  • The Panda Ninja
Re: Counter-Strike v1.01
« Reply #10 on: November 13, 2007, 05:20:21 pm »
If either of those aren't set properly the script will bork.

err... bork?

just a small fix in the post :)
That is a highly technical coder's term.

"While preceding your entrance with a grenade is a good tactic in
Quake, it can lead to problems if attempted at work." -- C Hacking

Offline Toumaz

  • Veteran
  • *****
  • Posts: 1904
Re: Counter-Strike v1.01
« Reply #11 on: November 14, 2007, 12:18:41 am »
hey try making one where u dont have to use the auoto money thing. all u have to do is customize the price and it stays like that. itll be much better for peps who dont leave the scrpt on forever.
... bit late, but what the hell: just change WEAPONPRICE_MULTIPLIER to 0.

If either of those aren't set properly the script will bork.

err... bork?

just a small fix in the post :)
That is a highly technical coder's term.
It is indeed!

Offline A Zombie

  • Major(1)
  • Posts: 25
  • BRAINS!!!
Re: Counter-Strike v1.01
« Reply #12 on: November 28, 2007, 06:04:45 am »
Where is the server directory?
i dont seem to have one

Offline ghg

  • Camper
  • ***
  • Posts: 411
  • Village Idiot
Re: Counter-Strike v1.01
« Reply #13 on: November 28, 2007, 06:09:10 am »
*Dedicated server*
-=Gradius wuz you=-

Offline A Zombie

  • Major(1)
  • Posts: 25
  • BRAINS!!!
Re: Counter-Strike v1.01
« Reply #14 on: November 28, 2007, 06:16:55 am »

Offline MR X

  • Soldier
  • **
  • Posts: 148
  • Soldat Rulezz and must be played forever
Re: Counter-Strike v1.01
« Reply #15 on: November 28, 2007, 01:57:03 pm »
Can you give me permission to translate your script to Dutch?
Soldat Rulezz and must be played forever

Offline A Zombie

  • Major(1)
  • Posts: 25
  • BRAINS!!!
Re: Counter-Strike v1.01
« Reply #16 on: November 29, 2007, 01:39:46 am »
I cant make the script work  :(

can some1 teach me?

Offline Toumaz

  • Veteran
  • *****
  • Posts: 1904
Re: Counter-Strike v1.01
« Reply #17 on: November 29, 2007, 01:44:35 am »
Can you give me permission to translate your script to Dutch?
I don't see why not. Go ahead.

I cant make the script work  :(

can some1 teach me?
http://forums.soldat.pl/index.php?topic=21468.0

Offline A Zombie

  • Major(1)
  • Posts: 25
  • BRAINS!!!
Re: Counter-Strike v1.01
« Reply #18 on: November 29, 2007, 01:56:14 am »
Do I have to extract it from the ZIP file or just put it in the script folder?

Offline Toumaz

  • Veteran
  • *****
  • Posts: 1904
Re: Counter-Strike v1.01
« Reply #19 on: November 29, 2007, 01:58:59 am »
Extract it.