October 22, 2019, 02:41:25 PM

Author Topic: Warcraft Source 0.78 for Counterstrike Source & Global Offensive  (Read 32955 times)

Offline Manifest

  • Race & effect creator
  • Moderator
  • Level 7 Expert
  • *****
  • Posts: 1063
  • Country: dk
  • Content creator for the new WCS version by Kami.
Update:

  • Added Flame Predator, Crypt Lord and Succubus Hunter back in

I decided that I will not add Chameleon in future updates as it is not a part of any Warcraft story and is more like recycling already used skills.
I will however have a look at some of the original Warcraft Races and Heroes and might add some of those in the future.

This sounds like a good decision Kami, I have never actually played Warcraft so I've always were under the impression that chameleon was one of the characters description or one of the monsters you might've encountered in a quest.
If it is not part of it, then I think we should remove it from the default races.

I am on a new laptop, or well, I am on an old laptop but another one than previously as I had to send the other in for repair, did you find a solution for the crypt lord issue with the Spiked Carapace skill, absorbing 100% of the value?

Also I will remove Chameleon from my folder as well.
"BRAVORA: Bruh it is fucking operation crystal night when you are approving races."


Offline Kami

  • Developer
  • Level 7 Expert
  • *****
  • Posts: 889
  • Country: de
  • Pokemon Master!
Update:

  • Added wcs_resize <userid> <size> - 1.0 means normal size, 2.0 double size and so on

Example of wcs_resize in action:




Also Absorb and resist are now handled with PreEvent player_hurt, which seems to work quite well.

I'm not sure what I did wrong with the take_damage approach :D
« Last Edit: June 30, 2018, 10:19:38 AM by Kami »

Offline BRAVORA

  • Level 0 Beginner
  • Posts: 18
  • Country: fi
  • Proffesional community server "stress" tester
Quote
Added wcs_resize <userid> <size> - 1.0 means normal size, 2.0 double size and so on

*Vietnam flashbacks*



But still awesome :D
Quote Collection

Quote
Manifest : I love Swedish Women.
Manifest: "I think CSGO will also be a more mature audience when we announce CSGO"
Manifest: "10 inches restraining order from my penis"
Helve: heh if it is really too much i'll just fuck the sandwich

Offline Kami

  • Developer
  • Level 7 Expert
  • *****
  • Posts: 889
  • Country: de
  • Pokemon Master!
Giant people are pretty cool :D

You can also use wcs_setfx size <userid> =/+/- <value> <duration> now, if you want timed resizing :)

Offline WCS - Wookie

  • Level 6 Experienced
  • *****
  • Posts: 133
  • Country: nz
  • Qualified Teacher, working in IT and loving WCS.
Damn Kami this shit is super cool, Why couldnt we have had this back when css wasnt so dead :( Love the work you are putting into this. I'll try and do my part and keep the community for this mod going
If you like WCS and are from AUS/NZ drop by our server to take a look.


Offline Kami

  • Developer
  • Level 7 Expert
  • *****
  • Posts: 889
  • Country: de
  • Pokemon Master!
Update:

  • Added a new race: Goblin Tinker
  • Added new effect command wcs_spark_effect <x> <y> <z> <magnitude> <trail_length> <duration

Goblin Tinker is a knife race and has the following skills:

Goblin Mines - Gives you the ability to spawn a goblin mine that will explode when an enemy comes close to it.

Demolish - You have a 15% chance to cause 5% to 25% extra damage to your enemies.

Robo Goblin - Increases your health by 10 to 100 and your speed by 10% to 75%

Cluster Rockets  - You fire 1 to 8 rockets that will detonate with 15 to 45 damage each.

Offline BRAVORA

  • Level 0 Beginner
  • Posts: 18
  • Country: fi
  • Proffesional community server "stress" tester
Looks cool :D but are the mines invisible?  ???  *Kamiqawa's goblin techies flashbacks*
Quote Collection

Quote
Manifest : I love Swedish Women.
Manifest: "I think CSGO will also be a more mature audience when we announce CSGO"
Manifest: "10 inches restraining order from my penis"
Helve: heh if it is really too much i'll just fuck the sandwich

Offline Kami

  • Developer
  • Level 7 Expert
  • *****
  • Posts: 889
  • Country: de
  • Pokemon Master!
They should actually spawn a little glow in the middle and a faint circle around it. The circle may be too low to see sometimes.

Offline BRAVORA

  • Level 0 Beginner
  • Posts: 18
  • Country: fi
  • Proffesional community server "stress" tester
Quote
They should actually spawn a little glow in the middle and a faint circle around it. The circle may be too low to see sometimes.

Awesome, can't wait to see this race someday in action :D i play on 800x600 resolution so hopefully i can actually see the glow and the fainted circle ;D
Quote Collection

Quote
Manifest : I love Swedish Women.
Manifest: "I think CSGO will also be a more mature audience when we announce CSGO"
Manifest: "10 inches restraining order from my penis"
Helve: heh if it is really too much i'll just fuck the sandwich

Offline Crossale

  • Level 0 Beginner
  • Posts: 3
  • Country: ru

I have problem with the installation

Code: [Select]
[SP] Successfully loaded plugin 'es_emulator'.
[SP] Loading plugin 'wcs'...
CGameEventManager::AddListener: event 'wcs_gainxp' unknown.

[SP] Caught an Exception:
Traceback (most recent call last):
  File "..\addons\source-python\packages\source-python\plugins\command.py", line 162, in load_plugin
    plugin = self.manager.load(plugin_name)
  File "..\addons\source-python\packages\source-python\plugins\manager.py", line 193, in load
    plugin._load()
  File "..\addons\source-python\packages\source-python\plugins\instance.py", line 74, in _load
    self.module = import_module(self.import_name)
  File "..\addons\source-python\plugins\wcs\wcs.py", line 77, in <module>
    from wcs import restrictions
  File "..\addons\source-python\plugins\wcs\restrictions.py", line 24
    from entities.helpers import edict_from_pointer, index_from_pointer, edict_from_baseentity
       ^

IndentationError: expected an indented block


[SP] Plugin 'wcs' was unable to be loaded.

Please, help me
Server CS GO on Windows

Offline Kami

  • Developer
  • Level 7 Expert
  • *****
  • Posts: 889
  • Country: de
  • Pokemon Master!
Hey I messed Up there sorry. Try redownloading and installing again. It should be fixed now :)

Offline Kami

  • Developer
  • Level 7 Expert
  • *****
  • Posts: 889
  • Country: de
  • Pokemon Master!
Update:

  • Added a Mana System

New Commands introduced with Mana System:

Code: [Select]
wcs_set_max_mana <userid> <amount>
wcs_set_mana <userid> <amount>
wcs_get_max_mana <userid> <var>
wcs_get_mana <userid> <var>
wcs_give_max_mana <userid> <amount>
wcs_give_mana <userid> <amount>
wcs_take_max_mana <userid> <amount>
wcs_take_mana <userid> <amount>
wcs_set_mana_regeneration <userid> <amount> <speed>

Every command that has a "_max_" refers to the maximum amount of mana you can have.

So doing wcs_give_max_mana event_var(userid) 50 would add 50 Mana to the maximum the player can hold

Every command without the "_max_" refers to the current amount of mana you have. Like 30 of a maximum of 100.

Example of usage:

Code: [Select]
event player_spawn
{
    es wcs_set_max_mana event_var(userid) 100 //this will set the maximum mana of the player to 50
    es wcs_set_mana_regeneration event_var(userid) 3 0.1 //this will regenerate 3 Mana every 10th of a second
}

if you now want to use this in a skill you can do something like this:

Code: [Select]
event player_hurt
{
    es wcs_get_mana event_var(attacker) wcs_tmp
    if (server_var(wcs_tmp) >= 50) do
    {
        es wcs_take_mana event_var(attacker) 50
        es wcs damage event_var(userid) event_var(attacker) 10
    }
}

This would check if you have above 50 mana and if so take that from you and deal damage to your enemy.

Offline WCS - Wookie

  • Level 6 Experienced
  • *****
  • Posts: 133
  • Country: nz
  • Qualified Teacher, working in IT and loving WCS.
So this is an addon that we could use for some races not a requirement for all races correct?

I could see this being particularly useful for balancing of a racelist. Just curious is there a recharge rate or is this only on spawn?

Could we tie gaining mana back to killing people?
Could we also potentially create a skill that can be activated (like ability) to give a burst of mana to all nearby allies?
If you like WCS and are from AUS/NZ drop by our server to take a look.


Offline Kami

  • Developer
  • Level 7 Expert
  • *****
  • Posts: 889
  • Country: de
  • Pokemon Master!
There is no default recharge rate. If you want a player's mana to regenerate on its own you need to use

wcs_set_mana_regeneration <userid> <amount per repeat> <time in seconds to wait between repeats>

You can set the regeneration on any event though. Like for example have a static amount on mana and when you kill someone you could set the regeneration.

to disable regeneration you can use:

wcs_set_mana_regeneration <userid> <amount> -1


And ofc you can tie gaining mana to killing people.

just use wcs_give_mana <userid> <amount> on a player_death event

And you ofc create a skill that would give everyone around you mana. Just use wcs_nearcoords with wcs_give_mana and you should be good :)

Offline Kami

  • Developer
  • Level 7 Expert
  • *****
  • Posts: 889
  • Country: de
  • Pokemon Master!
Update:

  • Expanded the numberoflevels key in the races to allow for different maximum skill levels for each skill

Example:

Code: [Select]
[Example race]
    #Requirement section
    required       = 0
    maximum        = 0

    #Restrict section
    restrictmap    = ""
    restrictteam   = 0
    restrictitem   = ""
    teamlimit      = 0

    #Other info
    author         = "Kami"
    desc           = "Example race"
    spawncmd       = ""
    deathcmd       = ""
    roundstartcmd  = ""
    roundendcmd    = ""
    preloadcmd     = ""
    allowonly      = ""
    onchange       = ""

    #Skill information
    numberofskills = 3
    numberoflevels = "4|3|1"
    skillnames     = "4 Levels|3 Levels|1 Level"
    skilldescr     = "This skill has 4 levels|This skill has 3 levels|This skill has 1 level"
    skillcfg       = "player_spawn|player_spawn|player_attacker"
    skillneeded    = "0|0|0"
    category       = "0"

    #Skill specific information
    [[skill1]]
        setting = "es_xset wcs_health 50|es_xset wcs_health 100|es_xset wcs_health 150|es_xset wcs_health 200"
        cmd     = "es wcs_setfx health event_var(userid) + server_var(wcs_health) 0"
        sfx     = ""

    [[skill2]]
        setting = "es_xset wcs_speed 0.5|es_xset wcs_speed 1.0|es_xset wcs_speed 1.5"
        cmd     = "es wcs_setfx speed event_var(userid) + server_var(wcs_speed) 0"
        sfx     = ""

    [[skill3]]
        setting = "es_xset wcs_dmg 10"
cmd     = "es wcs_dealdamage event_var(userid) event_var(attacker) server_var(wcs_dmg)"
        sfx     = ""

The important part here is:

Code: [Select]
numberoflevels = "4|3|1"

If you choose to use this on a race make sure to give every skill a maximum level. So if you have 4 skills there need to be 4 numbers in here.

Also you do only need as many settings for a skill as you got maximum levels.