Archived copy of warcraft-source.com, the Warcraft: Source (WCS) forum (2007–2011), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2008-06-15 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
June 15, 2008, 01:28:45 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Races and Items added into Download section from our great Race Coders!
Such as HOLLIDAY|NovaKiller|Stinkyfax|Frodo|TeacherCreature|Phat_Wizard
Google  
  Home   Forum   Help Search Login Register   *
Pages: [1]   Go Down
  Print  
This topic has not yet been rated! You have not rated this topic. Select a rating:
Author Topic: necro for real?  (Read 55 times)
Zoibs
Level 3 Trained Apprentice
***
Offline Offline

United States United States

Posts: 71


coleader of clan rzr as well as the server



Austin aka Zoibs Jr.

myServer 65.99.214.5:27016
(Warning: click connects through Steam)
« on: June 11, 2008, 08:02:37 PM »

i would love a race that was a "necro" where you could call upon the dead (when you kill someone or something) and it spawns maby a bot or somethign that would help kill things it would be amazing now i know about dople ganger and races like that but the bots just do what they want i want somehtign that will fallow you till death and give you the kills is this posible?
Logged

Frodo
WCS ESP Dev Team
Level 7 Expert

Offline Offline

Posts: 806


Actinosphaerium eichhorni


WWW
ckenduro
aulix
« Reply #1 on: June 11, 2008, 10:57:12 PM »

Try my Phantom Lancer. It already has give kills function and you can just modify it a bit and add bot_mimic so bots will follow u actually...
Logged

Goodbye. If you still want to contact me, write on [email protected].
Zoibs
Level 3 Trained Apprentice
***
Offline Offline

United States United States

Posts: 71


coleader of clan rzr as well as the server



Austin aka Zoibs Jr.

myServer 65.99.214.5:27016
(Warning: click connects through Steam)
« Reply #2 on: June 12, 2008, 03:22:23 AM »

ok never mind about that theres only one i dint get on there its the
Open es_wcs.txt.
Code
GeSHi (eventscripts):
Modify event player_death for skill 3 working:
Find those lines:
 
 es es_xif (server_var(wcs_deathcheck) = 1) do
 {
 
heres my player_death codeing
Code
GeSHi (eventscripts):
event player_death
{
if (server_var(wcs_debug) = 1) then profile begin playerdeath
 // check death events and give xp to the attacker
 es_xset wcs_deathcheck 0
 if (event_var(weapon) != "world") then es_xif (event_var(weapon) != "worldspawn") then es_xif (event_var(es_userteam) != event_var(es_attackerteam)) then es_xif (event_var(userid) != event_var(attacker)) then es_xset wcs_deathcheck 1
 if (server_var(wcs_cfg_allowbotsreward) = "0") then es_xif (event_var(es_steamid) = "BOT") then es_xset wcs_deathcheck 0
 ifx true(wcs_deathcheck) do
 {
   es_exists ex key WCSuserdata event_var(userid)
   ifx true(ex) do
   {
     es_keygetvalue wcs_skill WCSuserdata event_var(userid) player_death
     if (server_var(wcs_skill) != "0") do
     {
       // check race skills
       es wcs_checkskills event_var(userid) "player_death"
       // check for custom item action
       es wcs_checkevents event_var(userid) "WCSpd"
     }
   }
   // give XP, but run delayed
   es_delayed 2 wcs_deathhandle event_var(userid) event_var(attacker) event_var(weapon) event_var(headshot)
es wcs_debuglog checking attacker event_var(attacker)
   // attacker check
   es_exists ex key WCSuserdata event_var(attacker)
   ifx true(ex) do
   {
     es_keygetvalue wcs_skill WCSuserdata event_var(attacker) player_kill
     if (server_var(wcs_skill) != "0") do
     {
wcs_debuglog ATTACKER GOT SKILL!! So check player_kill...
       // check race skills
       es wcs_checkskills event_var(attacker) "player_kill"
       // check for custom item action
       es wcs_checkevents event_var(attacker) "WCSpk"
     }
   }
 }
 es wcs_deathhandle_items event_var(userid)
 es_keysetvalue WCSuserdata event_var(userid) ulti_immunity 0
if (server_var(wcs_debug) = 1) then profile end playerdeath
}
where would i put the
Code
GeSHi (eventscripts):
   es es_xexists wcs_exists key WCSuserdata event_var(attacker)
   es es_xif (server_var(wcs_exists) = 1) do
   {
es_xsetinfo wcs_bot 0
es_isbot wcs_bot event_var(attacker)
if (server_var(wcs_bot) = 1) then es_xif (event_var(es_attackername) = wolf) then est_killadd server_var(wolf) 1
if (server_var(wcs_bot) = 1) then es_xif (event_var(es_attackername) = wolf) then es_xtell server_var(wolf) #lightgreen You have extra score because of your image kill.
if (server_var(wcs_bot) = 1) then es_xif (event_var(es_attackername) = gunner) then est_killadd server_var(gunner) 1
if (server_var(wcs_bot) = 1) then es_xif (event_var(es_attackername) = gunner) then es_xtell server_var(gunner) #lightgreen You have extra score because of your image kill.
   }
 
« Last Edit: June 12, 2008, 03:57:31 AM by Zoibs » Logged

Zoibs
Level 3 Trained Apprentice
***
Offline Offline

United States United States

Posts: 71


coleader of clan rzr as well as the server



Austin aka Zoibs Jr.

myServer 65.99.214.5:27016
(Warning: click connects through Steam)
« Reply #3 on: June 12, 2008, 04:02:49 AM »

ok for the bot_mimic that requires turning sv_cheats on right? if so -.- bad ideas come to my server people
Logged

Frodo
WCS ESP Dev Team
Level 7 Expert

Offline Offline

Posts: 806


Actinosphaerium eichhorni


WWW
ckenduro
aulix
« Reply #4 on: June 12, 2008, 01:40:41 PM »

Code:
es es_xif (server_var(wcs_deathcheck) = 1) do
  {
=
Code:
   es_exists ex key WCSuserdata event_var(userid)
    ifx true(ex) do
    {
Logged

Goodbye. If you still want to contact me, write on [email protected].
Zoibs
Level 3 Trained Apprentice
***
Offline Offline

United States United States

Posts: 71


coleader of clan rzr as well as the server



Austin aka Zoibs Jr.

myServer 65.99.214.5:27016
(Warning: click connects through Steam)
« Reply #5 on: June 12, 2008, 04:01:29 PM »

ahh kk thx
Logged

Zoibs
Level 3 Trained Apprentice
***
Offline Offline

United States United States

Posts: 71


coleader of clan rzr as well as the server



Austin aka Zoibs Jr.

myServer 65.99.214.5:27016
(Warning: click connects through Steam)
« Reply #6 on: June 12, 2008, 05:33:27 PM »

well i got it all done i think but i cant test being as im at my dads and hes got windows me but thx for help
Logged

Zoibs
Level 3 Trained Apprentice
***
Offline Offline

United States United States

Posts: 71


coleader of clan rzr as well as the server



Austin aka Zoibs Jr.

myServer 65.99.214.5:27016
(Warning: click connects through Steam)
« Reply #7 on: June 12, 2008, 07:39:42 PM »

ok umm one last thing do you know of a way to put skins on the bots like the zombie skins or something so then they look like there undead minnions? and the whole bot_mimic thing how would i make that work so that no one elts on server can use it?
« Last Edit: June 12, 2008, 09:21:03 PM by Zoibs » Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
June 14, 2008, 12:19:10 AM
June 13, 2008, 03:03:35 PM
Howard Webb - Rest in Hell
June 13, 2008, 11:13:33 AM
!@#$% It didn't work
June 13, 2008, 11:07:46 AM
Nvm, i think i figured it out, i had to use this thingy STEAM_0:1:15758148
June 13, 2008, 10:36:09 AM
Yeah, can someone help me with my admin problem? I can't seem to make myself admin
June 11, 2008, 07:37:06 AM
@Takibo: http://warcraft-source.com/board/index.php/topic,809.0.html
Man! People need to learn how to use the search function these days!
June 11, 2008, 12:08:31 AM
Where's the RPG race?
Recent
[Today at 12:06:26 AM]

[Today at 12:04:56 AM]

[Today at 12:03:10 AM]

[June 14, 2008, 10:59:40 PM]

[June 14, 2008, 09:56:05 PM]

[June 14, 2008, 09:52:17 PM]

[June 14, 2008, 09:41:24 PM]

[June 14, 2008, 09:34:06 PM]

[June 14, 2008, 08:49:41 PM]

[June 14, 2008, 08:46:41 PM]
Theme switch

Powered by MySQL Powered by PHP Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
TinyPortal v0.9.8 © Bloc
Valid XHTML 1.0! Valid CSS!
Page created in 0.179 seconds with 25 queries.