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

0 Members and 1 Guest are viewing this topic.

Offline Toumaz

  • Veteran
  • *****
  • Posts: 1906
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: 1906
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: 1906
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: 1906
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: 1906
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: 1906
Re: Counter-Strike v1.01
« Reply #19 on: November 29, 2007, 01:58:59 am »
Extract it.

Offline A Zombie

  • Major(1)
  • Posts: 25
  • BRAINS!!!
Re: Counter-Strike v1.01
« Reply #20 on: November 29, 2007, 02:22:19 am »
Ok Thx  ;D

Date Posted: November 29, 2007, 02:03:19 am
so i just do Download script>>>extract to soldatserver>>>put the script in folder Script>>>click on soldatserver>>>play soldat

Like that?

Offline Iq Unlimited

  • Flagrunner
  • ****
  • Posts: 864
  • mr. foobar2000
Re: Counter-Strike v1.01
« Reply #21 on: November 29, 2007, 08:41:36 am »
Yes, exactly like that.

Offline A Zombie

  • Major(1)
  • Posts: 25
  • BRAINS!!!
Re: Counter-Strike v1.01
« Reply #22 on: November 29, 2007, 08:45:17 am »
K Thx ;D

Offline MR X

  • Soldier
  • **
  • Posts: 148
  • Soldat Rulezz and must be played forever
Re: Counter-Strike v1.01
« Reply #23 on: November 29, 2007, 09:40:03 am »
Hello Toumaz. ive Translated your script to dutch
but i cant buy weapons anymore. it says no weapon found with HK or another weapon name you typed in when you try to buy. can you fix it? see attachment if so

Soldat Rulezz and must be played forever

Offline Toumaz

  • Veteran
  • *****
  • Posts: 1906
Re: Counter-Strike v1.01
« Reply #24 on: November 29, 2007, 10:19:55 am »
Fixed.

Offline MR X

  • Soldier
  • **
  • Posts: 148
  • Soldat Rulezz and must be played forever
Re: Counter-Strike v1.01
« Reply #25 on: November 30, 2007, 06:42:41 pm »
Thanks it works again  :)
Soldat Rulezz and must be played forever

Offline jeffreydj

  • Major(1)
  • Posts: 10
Re: Counter-Strike v1.01
« Reply #26 on: January 12, 2008, 11:56:51 am »
when i try to buy a weapon the scripts says, that i bought it but i dont get one. why?

Offline Toumaz

  • Veteran
  • *****
  • Posts: 1906
Re: Counter-Strike v1.01
« Reply #27 on: January 14, 2008, 06:50:58 am »
when i try to buy a weapon the scripts says, that i bought it but i dont get one. why?
Could you be a bit more specific as to how that happened? Should work without any problems whatsoever, really.

Offline jeffreydj

  • Major(1)
  • Posts: 10
Re: Counter-Strike v1.01
« Reply #28 on: January 14, 2008, 04:06:15 pm »
i type "/buy m79" for instance and i get a server-message, which says, that i have bought the M79 and my cash decreases. but i get no weapon.

Offline Toumaz

  • Veteran
  • *****
  • Posts: 1906
Re: Counter-Strike v1.01
« Reply #29 on: January 15, 2008, 04:51:58 am »
It should be available in the weapon list upon your next respawn.

Offline jeffreydj

  • Major(1)
  • Posts: 10
Re: Counter-Strike v1.01
« Reply #30 on: January 15, 2008, 10:32:34 am »
ok...thanks...now i understand, how the scripts works. but when i disable the weapons menu before i spawn i cant select a weapon after spawning. what can i do, that it doesnt happen?

Offline Toumaz

  • Veteran
  • *****
  • Posts: 1906
Re: Counter-Strike v1.01
« Reply #31 on: January 18, 2008, 09:01:43 am »
Eh? If you've disabled it using tab, just press tab again. If you've selected a weapon and then purchased a weapon, tough luck. You can still buy a weapon with the weapon menu open though... so do it that way instead.

Offline xmRipper

  • Soldat Beta Team
  • Flagrunner
  • ******
  • Posts: 742
    • Personal
Re: Counter-Strike v1.01
« Reply #32 on: January 20, 2008, 04:43:00 am »
Toumaz, most of players (noobs) can not buy weapons.

If weapons are be able to buy in weapons menu, that would be better.
In weapons menu displays weapons which player afford to buy that.

(sorry, bad english)
Co-Founder / CTO @ Macellan
Founder Turkish Soldat Community

Offline Genzhou

  • Major(1)
  • Posts: 4
Re: Counter-Strike v1.01
« Reply #33 on: April 14, 2008, 07:26:42 am »
Toumaz, most of players (noobs) can not buy weapons.

If weapons are be able to buy in weapons menu, that would be better.
In weapons menu displays weapons which player afford to buy that.
but the problem is: the menu is used for selecting all the weapons you bought ( and the weapons you got on the ground ).
and with menu , you cant buy armor vest and other extra stuffs...

in fact this script isnt really made for noobs... but when you know how tu use it, its maybe one of the funniest.
im using macro keys of the G15 keyboard to buy/sell weapons and its really great as if.

good script and thank you to share it.

Offline Toumaz

  • Veteran
  • *****
  • Posts: 1906
Re: Counter-Strike v1.4
« Reply #34 on: October 30, 2008, 03:36:18 am »
-mega bump-

After tons of internal updates done on my server, I've released v1.4 publically, and the new version is attached to the first post. Enjoy.

Offline Rellik

  • Major(1)
  • Posts: 23
Re: Counter-Strike v1.4
« Reply #35 on: October 30, 2008, 01:30:50 pm »
Thanks!

Offline Toumaz

  • Veteran
  • *****
  • Posts: 1906
Re: Counter-Strike v1.4
« Reply #36 on: October 31, 2008, 06:15:43 pm »
For anybody having downloaded the new version already, please redownload as a rather major bug related to buying the stat gun managed to slip in. Apologies!

Edit: I'm an idiot, so redownload it again.
« Last Edit: November 01, 2008, 02:49:31 am by Toumaz »

Offline miketh2005

  • Soldat Beta Team
  • Flagrunner
  • ******
  • Posts: 668
  • What's the URL for www.microsoft.com?
Re: Counter-Strike v1.4
« Reply #37 on: December 15, 2008, 12:07:06 am »
cant this work on DM servers? thatd be cool
Quote from: 'Ando.' pid='12999178' dateline='1309046898'
My new password is secure as shit :)
Mate, I am not sure Shit is even secured nowadays.

Offline tena

  • Major(1)
  • Posts: 2
Re: Counter-Strike v1.4
« Reply #38 on: July 23, 2011, 01:10:24 am »
I hope you read this..
Can I fix something and translate it to Korean?

Offline Toumaz

  • Veteran
  • *****
  • Posts: 1906
Re: Counter-Strike v1.4
« Reply #39 on: July 23, 2011, 05:18:26 pm »
Eeyup.

Offline tena

  • Major(1)
  • Posts: 2
Re: Counter-Strike v1.4
« Reply #40 on: July 23, 2011, 11:25:54 pm »
thanks.