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 2009-08-30 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
August 30, 2009, 02:25:01 PM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: Hall of Fame
Must Visit it
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: BioShock race  (Read 337 times)
Volunterrors
Level 2 Apprentice
**
Offline Offline

United States United States

Posts: 50



« on: May 03, 2009, 01:33:12 AM »

My second race. Mostly c/p but i did have to do alot of editing. Most of it came from succubus hunter. I replaced "skulls" with "ADAM" did I do that right? please comment check my coding and if you've played bioshock suggest some more skills.  Grin


Code
GeSHi (eventscripts):
"##"                                  
 {
   "name"              "BioShock"        
   "author"            "Volunterrors"        
   "shortdescription"  "0"              
   "required_level"    "100"            
   "maximum_level"     "0"            
   "allow_only"        "0"
   "teamlimit"         "0"          
   "preloadcmd"        "es_xsetinfo wcs_ADAM 0;es_xsetinfo wcs_ADAM_amount 0"      
   "player_spawn_cmd"  "es es_xkeygetvalue wcs_tmp WCSuserdata event_var(userid) ADAM;wcs_getlanguage wcs_lng wcs_lng_r_ADAM;es es_xformat wcs_lng                                           server_var(wcs_lng) server_var(wcs_tmp);es es_xtell event_var(userid) #multi server_var(wcs_lng)"              
   "round_start_cmd"   "0"              
   "round_end_cmd"    "0"              
   "numberofskills"     "4"            
   "numberoflevels"    "8"            
   "skillnames"        "Harvest ADAM|Pyrokinesis|Electrocution|Big Daddy"
   "skilldescr"        "Harvest ADAM from killing your enemies|Set enemies on fire|Shock your enemies to halt their movements|Transform into a Big Daddy"
   "skillcfg"          "player_attacker|player_spawn|player_spawn|player_ultimate"
 
"skill1_setting"    "es_xset wcs_tmp 0;es es_xkeygetvalue wcs_tmp WCSuserdata event_var(killer) ADAM;es es_xif (server_var(wcs_tmp) = 0) then es_xset                                     wcs_tmp 0;es_xmath wcs_tmp + 1;es es_xkeysetvalue WCSuserdata event_var(killer) ADAM server_var(wcs_tmp)"
"racealias_ADAM"    "es est_ADAM event_var(killer) + server_var(wcs_tmp)"
"skill1_cmd"        "es es_xif (event_var(ADAM) = 0) then racealias_ADAM"
"skill1_sfx"        "0"
 
"skill2_setting"   "es_xset wcs_chance 1|es_xset wcs_chance 1|es_xset wcs_chance 2|es_xset wcs_chance 2|es_xset wcs_chance 3|es_xset wcs_chance 3|es_xset wcs_chance                     4|es_xset wcs_chance 4|      
"racealias_ADAM2"  "es_math wcs_chance * server_var(wcs_ADAM);if (server_var(wcs_chance) > 50) then es_xset wcs_chance 50;es est_chance                                                  event_var(userid) + server_var(wcs_chance)"
"racealias_burfire3""es est_burn event_var(userid) 0.3;es es_delayed 2 es est_burn event_var(userid) 0.3;es es_delayed 4 es est_burn event_var(userid) 0.3;es                             es_delayed 6 es est_burn event_var(userid) 0.3;es es_delayed 8 es est_burn event_var(userid) 0.3;es es_delayed 10 es est_burn event_var(userid)                      0.3"
"skill2_cmd"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then racealias_burfire3"
"skill3_sfx"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es es_xif                               (server_var(wcs_dice) <= server_var(wcs_chance)) then es est_effect 10 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1)                                server_var(wcs_z1) 200 300 3 20 10 0 255 15 5 255 10"
 
"skill3_setting"   "es_xset wcs_chance 1|es_xset wcs_chance 1|es_xset wcs_chance 2|es_xset wcs_chance 2|es_xset wcs_chance 3|es_xset wcs_chance                                          3|es_xset wcs_chance 4|es_xset wcs_chance 4"    
 
"racealias_slow"   "es_xset wcs_speed 0.9;es_xset wcs_duration 1|es_xset wcs_speed 0.85;es_xset wcs_duration 1|es_xset wcs_speed 0.8;es_xset wcs_duration 1|es_xset                       wcs_speed 0.75;es_xset wcs_duration 1|es_xset wcs_speed 0.7;es_xset wcs_duration 2|es_xset wcs_speed 0.65;es_xset wcs_duration 2|es_xset                               wcs_speed 0.6;es_xset wcs_duration 2|es_xset wcs_speed 0.5;es_xset wcs_duration 2|                                                
"racealias_ADAM2"  "es_math wcs_chance * server_var(wcs_ADAM);if (server_var(wcs_chance) > 50) then es_xset wcs_chance 50;es est_chance                                                  event_var(userid) + server_var(wcs_chance)"
"skill3_cmd"       "if (server_var(wcs_dice) <= server_var(wcs_chance)) then racealias_slow
"skill3_sfx"        
 
"skill4_setting"    "es_xset wcs_ADAM_amount 1;es_xset wcs_health 50;es_xset wcs_speed 0.95| es_xset wcs_ADAM_amount 2;es_xset wcs_health 100;es_xset wcs_speed 0.90| es_xsetinfo wcs_ADAM_amount 3;es_xsetinfo wcs_health 150;es_xset wcs_speed 0.85| es_xsetinfo wcs_ADAM_amount 4;es_xsetinfo wcs_health 200;es_xset wcs_speed 0.80|es_xset wcs_ADAM_amount 5;es_xset wcs_health 250;es_xset wcs_speed 0.75|es_xset wcs_ADAM_amount 6;es_xset wcs_health 300;es_xset wcs_speed 0.70|es_xset wcs_ADAM_amount 7;es_xset wcs_health 350;es_xset wcs_speed 0.65|es_xset wcs_ADAM_amount 8;es_xset wcs_health 400;es_xset wcs_speed 0.6|
 
"racealias_ADAM3"  "es es_xmath wcs_ADAM - server_var(wcs_ADAM_amount);es es_xkeysetvalue WCSuserdata
server_var(wcs_userid) ADAM server_var(wcs_ADAM);es est_gethealth wcs_hp server_var(wcs_userid);es es_xmath wcs_hp + server_var(wcs_health);
 
"skill4_cmd"        "es es_xkeygetvalue wcs_ADAM WCSuserdata server_var(wcs_userid) ADAM;wcs_getlanguage wcs_lng wcs_lng_r_noADAM;es es_xif (server_var(wcs_ADAM) < server_var(wcs_skulls_amount)) then es_xtell server_var(wcs_userid) #multi server_var(wcs_lng) server_var(wcs_ADAM_amount);es es_xif (server_var(wcs_ADAM) < server_var(wcs_ADAM_amount)) then wcs_ultinotexec 1;es es_xif (server_var(wcs_ADAM) >= server_var(wcs_ADAM_amount)) then racealias_ADAM3;"
"skill4_sfx"        "0"
"ultimate_cooldown" "30"
 }
« Last Edit: May 17, 2009, 04:54:52 PM by Volunterrors » Logged
Narb
Level 7 Expert
*****
Offline Offline

Finland

Posts: 170


Pokemon!



tuss3d2
« Reply #1 on: May 03, 2009, 12:50:32 PM »

Number of skills: Missing
Maximum level: 80, required 100...?
Logged

What you should do list:
1. Read this.
2. After you readed, do 3
3. Go here: http://warcraft-source.com/board/index.php/topic,8074.msg56876.html#msg56876
4. RATE FOR IT!
Dark Phoenix
Level 5 Trained Intermediate
*****
Offline Offline

Canada Canada

Posts: 118




shadephoenix
« Reply #2 on: May 03, 2009, 01:42:44 PM »

skill1 setting is demented
Logged

Three days grace is the best band ever and if you disagree u got a screw loose in your head.So put that screw back in and listen to some three days grace!

___________________________________________________

95% of teens would cry if they saw the Jonas Brothers at the top of a skyscraper about to jump. Copy and paste this EVERYWHERE if you are in the 5% that would shout 'Jump' .
Volunterrors
Level 2 Apprentice
**
Offline Offline

United States United States

Posts: 50



« Reply #3 on: May 03, 2009, 06:30:31 PM »

Yea I forgot to put the number of skills I'm planning on adding more so it doesn't really matter. The server I play on limits all races to max lvl 80 and requires private races to be lvl 100. skill1 setting is demented? what does that mean? it's messed up?
Logged
Maxxi
Level 7 Expert
*****
Offline Offline

Netherlands Netherlands

Posts: 1462



WWW
16maxpayne16

myServer 84.243.214.217:27015
(Warning: click connects through Steam)
« Reply #4 on: May 04, 2009, 11:18:49 AM »

Maximum level: 80, required 100...?
I think you got it wrong.

Maximum level = The maximum level you can be with the specific race
Required level = The overall/total level you have to be, to be able to use the specific race.
that is correct Wink
Logged

Volunterrors
Level 2 Apprentice
**
Offline Offline

United States United States

Posts: 50



« Reply #5 on: May 04, 2009, 10:32:55 PM »

I know that, I have been playing wcs for a long time. I have not been coding races long what I want to know is, is the coding right. Is that first skill done right? It is supposed to give you "ADAM" for kills. How do you do that?
Logged
AvasT
Level 7 Expert
*****
Offline Offline

Brazil Brazil

Posts: 346




doug_tiozao
« Reply #6 on: May 04, 2009, 10:42:58 PM »

WTH is server_var(wcs_adam)??
Logged

Narb
Level 7 Expert
*****
Offline Offline

Finland

Posts: 170


Pokemon!



tuss3d2
« Reply #7 on: May 05, 2009, 08:06:55 AM »

Maximum level: 80, required 100...?
I think you got it wrong.

Maximum level = The maximum level you can be with the specific race
Required level = The overall/total level you have to be, to be able to use the specific race.
Sorry, you are wrong.
Have you ever used the 200pack of races? It was firstly bugged cause all races had "maximum level 40"
This is on WCS 0.77, Dunno is it changed on 0.78, but try this race on your server then tell me...
Cause it should be the way i told.
Required level = The overall/total level you have to be, to be able to use the specific race.
Maximum level = The maximum level you can be with total to use this race.
Logged

What you should do list:
1. Read this.
2. After you readed, do 3
3. Go here: http://warcraft-source.com/board/index.php/topic,8074.msg56876.html#msg56876
4. RATE FOR IT!
WCA | Hiro [DK]
Level 7 Expert
*****
Offline Offline

Denmark Denmark

Posts: 156




6500
chipsnsparx
« Reply #8 on: May 05, 2009, 11:29:58 AM »

No, lol. It's you who got this wrong, lol. The Maximum is the maximum level you can be with the Race, you have choicen... If it realy was the way, you told me, it is. Then the version, you're blabing about is some bad shit. Cause it wouldn't mean any sense,
Logged
Volunterrors
Level 2 Apprentice
**
Offline Offline

United States United States

Posts: 50



« Reply #9 on: May 06, 2009, 12:56:57 AM »

Ok, I have looked at this ten times now and I'm not going to say this again. I did the required and max level thing right the races max level is 80 and requires your total level to be 100. Just drop it and give me some real advice.

"server_var(wcs_adam)" I made that command up. I just replaced "server_var(wcs_skulls)" with adam can I do that? all I did was change the name from skulls to adam. will that still work? My first skill just give you "skulls"/"adam" for kills can some one program that for me? or tell me how?

Can Some one test it?
   
« Last Edit: May 06, 2009, 08:33:00 PM by Volunterrors » Logged
AvasT
Level 7 Expert
*****
Offline Offline

Brazil Brazil

Posts: 346




doug_tiozao
« Reply #10 on: May 06, 2009, 02:37:21 AM »

I really dont know if it will work but i think it will!
Logged

Volunterrors
Level 2 Apprentice
**
Offline Offline

United States United States

Posts: 50



« Reply #11 on: May 12, 2009, 12:34:27 AM »

Bump

Any one care to test it?
Logged
AvasT
Level 7 Expert
*****
Offline Offline

Brazil Brazil

Posts: 346




doug_tiozao
« Reply #12 on: May 12, 2009, 01:19:35 AM »

I wont xP
Logged

n0Life
Part-time Admin
Level 7 Expert
*****
Offline Offline

Finland

Posts: 745


Bunny has NoRecoil/Speedhack/WH/Aimbot/BUNNYHOP!


WWW
4ngry4ngel

myServer 85.190.14.35:27015
(Warning: click connects through Steam)
« Reply #13 on: May 20, 2009, 10:48:53 AM »

Please respect all the rules in order to make your stay here an enjoyable one for yourself and all other users

  • We have an excellent FAQ. You can perform a detailed search here. 'Bumping' (replying to a thread not discussed since a long time ago) of old or out of date topics is not encouraged.

Please read the rules.

Thank you
Logged


Pages: [1]   Go Up
  Print  
 
Jump to:  

Dutch Hosting

Last 7 Shouts:
Today at 12:27:40 AM
you can respawn with this addon useng the command gg_spawn
 http://forums.gungame5.com/download/file.php?id=144&sid=5c52fb7afaf2db812f7fd4a0744e96d9
August 29, 2009, 10:52:35 PM
teambalance.
August 29, 2009, 09:57:17 PM
Anyone knows how to get addon or set something up so the server swaps teams, ct = t, and t = ct after a team wins 15 rounds?
August 29, 2009, 07:53:39 PM
SRCDS has 28th update also?
August 29, 2009, 12:00:42 PM
Say yes to time the error
August 29, 2009, 09:56:58 AM
Until then, no respawn will work on recently-updated servers.
August 29, 2009, 09:56:40 AM
The respawn code has changed since last SRCDS update.
Since EST won't be updated, i'll post some code (using SPE module) to rewrite the est_spawn command.
Recent
[Today at 01:37:01 PM]

[Today at 01:06:38 PM]

[Today at 10:45:01 AM]

[Today at 10:43:08 AM]

[Today at 09:17:31 AM]

[Today at 08:53:13 AM]

[Today at 06:41:56 AM]

[Today at 06:39:40 AM]

by Ron
[Today at 03:02:28 AM]

[Today at 12:19:47 AM]
Theme switch

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