WCS mod - drops weapon

A Forum Thread for Counter-Strike: Source

Yo, buddy. We are one of the oldest mod sites on the Interwebs. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation by sending dannin points.
  • Post: Give dannin your thoughts on this Thread.
  • Flag: Alert moderators and warn members of a problem with this Thread.
  • Watch: Get notified when this Thread is updated.
Mascot

Join the community!

Sign up

Already a Bananite? Login

I run the WCS mod on my CSS server. When i choose the Rapscallion race (7 hells races) it just drops any weapons but the knife. Anyone know how i make it stop doing that? I also run DM on the server. CSSDM or what it's called.

Posts

  • 9y
    iShot avatar
    iShot Offline
    Member Joined 10y
    1,548 points Ranked 3043rd
    9 medals 1 rare
    • 6 years a member Medal icon
    • 1 post awarded Exemplary Feedback Medal icon
    • 5 posts awarded Exemplary Feedback Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    • 1 year a member Medal icon
    I rather think that's just the point of that race... that you need to stab people to death in order to kill them...

    Try again...
    www.th-uk.com
  • 9y
    dannin avatar
    dannin Offline
    Member Joined 9y
    It may be, but the server was running before with the same races and there i cold use all weapons in that race.
    Bananite
  • 9y
    _moving_target_ avatar
    Member Joined 10y
    357 points Ranked 11465th
    It's either like iShot said where it is a "knife race" or someone edited the race so you could use weapons. I used to code wcs races and it was fairly common that mine got stolen. =(
    Or someone had the same name for two different races.
    Thank you NUMBER for the aweso avatar
    Mantra
    Thank you NUMBER for the aweso
  • 9y
    Robtronic avatar
    Robtronic Offline
    Member Joined 11y
    2,148 points Ranked 2173rd
    That is a knife race anyway, myself and friends run two wcs+dm server's and we remove that race due to it being knife with dm.
    Music Is The Answer. avatar
    Mantra
    Music Is The Answer.
  • 9y
    dannin avatar
    dannin Offline
    Member Joined 9y
    Well, i had it working before with rifels, so i know it can be done.

    moving target, would you maybe take a look at my race db and see if you can do anything?
    Bananite
  • 9y
    OhMyGodd avatar
    OhMyGodd Offline
    Member Joined 10y
    1,764 points Ranked 2660th
    It is a knife race only
    but you can simply change it.
    I used to code wcs for a rly long time but i stopped but i still remember eveything
    give me the code to that race and ill show u what to change
    OhMyGod Look at that. avatar
    Mantra
    OhMyGod Look at that.
  • 9y
    Locutus avatar
    Locutus avatar Offline
    Member Joined 9y
    1,145 points Ranked 4097th
    14 medals 3 rare
    • 25 posts awarded Exemplary Feedback Medal icon
    • 50 posts awarded Exemplary Feedback Medal icon
    • 6 years a member Medal icon
    • 1 post awarded Exemplary Feedback Medal icon
    • 5 posts awarded Exemplary Feedback Medal icon
    • 10 posts awarded Exemplary Feedback Medal icon
    Yeah you have to edit the race file.

    Gimme a second and I'll show you which line.
    will map 4 füd avatar
    Mantra
    will map 4 füd
  • 9y
    Locutus avatar
    Locutus avatar Offline
    Member Joined 9y
    1,145 points Ranked 4097th
    14 medals 3 rare
    • 25 posts awarded Exemplary Feedback Medal icon
    • 50 posts awarded Exemplary Feedback Medal icon
    • 6 years a member Medal icon
    • 1 post awarded Exemplary Feedback Medal icon
    • 5 posts awarded Exemplary Feedback Medal icon
    • 10 posts awarded Exemplary Feedback Medal icon
    Change this...

    "player_spawn_cmd" "es est_playplayer event_var(userid) ambient/atmosphere/cave_hit6.wav;es_delayed 1 est_RestrictAll event_var(userid);es_delayed 1.1 es est_UnRestrict event_var(userid) weapon_knife"

    To this.

    "player_spawn_cmd" "es est_playplayer event_var(userid) ambient/atmosphere/cave_hit6.wav"

    That makes it so you still get the ambient sounds (the sounds you hear in the background as rapscallion.) but you aren't restricted to only the knife.
    will map 4 füd avatar
    Mantra
    will map 4 füd
  • 9y
    _moving_target_ avatar
    Member Joined 10y
    357 points Ranked 11465th
    Just for a note, please mention you edited it in notes. I hated when people changed my races around without telling me, even if they didn't take credit for it. And don't take credit for the whole race either (unless you actually made it). Just trying to help the creators here.
    Thank you NUMBER for the aweso avatar
    Mantra
    Thank you NUMBER for the aweso
  • 9y
    dannin avatar
    dannin Offline
    Member Joined 9y
    Thats really great, thank you so much!

    Do one of you guys also know how to make it save each players xp and levels and such when they disconnect? everytime i get out and in again my xp and levels are reset to 0, so is everyone elses.

    I have the user db file from my old server, can i get that to work so everyone have their old levels?
    Bananite
  • 9y
    dannin avatar
    dannin Offline
    Member Joined 9y
    Moving target - i will do that!
    Bananite
  • 9y
    dannin avatar
    dannin Offline
    Member Joined 9y
    Darkkest - i think there is something wrong with the code you gave me, when i change the line to that one you wrote, i AM able to buy rifles and use it, but i can't level up anymore. if i write 'spendskills it just tells me that i've reached the maximum for that race. And when i choose the race it says i have 0 levels and 0xp. So it seems the spendskills menu is disabled when applying that code
    Bananite
  • 9y
    _moving_target_ avatar
    Member Joined 10y
    357 points Ranked 11465th
    First off, please don't double/triple post, just hit the little wrench icon to edit your post.

    Second, I don't know what to tell you about his code. It should work fine, all he did was take out the weapon restriction, nothing else. How did you change it.

    Did you copy and past so it ended up looking like this.

    "player_spawn_cmd" "player_spawn_cmd" "es est_playplayer event_var(userid) ambient/atmosphere/cave_hit6.wav"

    When it should look like this.

    "player_spawn_cmd" "es est_playplayer event_var(userid) ambient/atmosphere/cave_hit6.wav"

    Just a thought, otherwise I say change it again, save your file, then restart the server and try it again.
    Thank you NUMBER for the aweso avatar
    Mantra
    Thank you NUMBER for the aweso
  • 9y
    dannin avatar
    dannin Offline
    Member Joined 9y
    Sorry for triplepost.

    No, i only changed the part after player spawn cmd. And i just tried setting it back to original, then it worked. Then i tried to change the restriction time from 1 second to 400 seconds, same with the knife unrestriction - that did the same. I can choose the race, but not get any level with it.

    Is it possible to add a unrestrict_all weapons after 1.2 seconds maybe?
    Bananite
  • 9y
    _moving_target_ avatar
    Member Joined 10y
    357 points Ranked 11465th
    Wierd, and yes there is, but I don't know how. And I don't know what the matter is, it should work by just taking it out.

    How about you try getting rid of everything on that line so it just looks like this.

    "player_spawn_cmd"

    See if it works, if it does the sound might be the problem but again, I don't see why it should be.
    Thank you NUMBER for the aweso avatar
    Mantra
    Thank you NUMBER for the aweso
  • 9y
    dannin avatar
    dannin Offline
    Member Joined 9y
    I found a solution!
    I had a old version of the 7 hells races db-file, i just took the spawn cmd line from there, edited it and removed the restrictions, and loaded it. Works like a charm, weapons work, sounds working, and i am able to level up. thanks alot for your help anyway, without that i wouldn't have found this out!

    And another thing - do you know how to make it save players XP and levels when they disconnect? It doesn't make a userdb file, and i dont know how to make it do it.
    Bananite

Share

Shareable Image:
Share banner
HTML embed code:
BB embed code:
Markdown embed code:

More embeddable images

Bookmark and Share

Submitter

dannin avatar
dannin Offline
Member Joined 9y

dannin
Sign up to access this!
Sign up to access this!
Sign up to access this!
Sign up to access this!

Category

Stats

Posts
16
Views
3,121
Date Added
9y
bcp.crwdcntrl.net tracking pixel