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-07-18 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
October 23, 2009, 06:39:49 AM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: Remember to check on the FAQ before start posting.
It may save you time and effort.
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: Re: xp_hurt  (Read 276 times)
Stinkyfax
I <3 WCS
Level 7 Expert
*****
Offline Offline

United Kingdom

Posts: 1890



WWW
Xrushiov

myServer 84.55.62.45:27016
(Warning: click connects through Steam)
« on: July 17, 2009, 05:39:59 PM »

try :
storing damage done info till the round end and then give Rate * damage done  XP.
Logged



Rasmus
Trapped in between
Level 7 Expert
*****
Offline Offline

Denmark Denmark

Posts: 1475




Rasmus4J
rasmus4j
« Reply #1 on: July 17, 2009, 07:23:19 PM »

well since it is not based on damage, what can be done is storing the amount of times you have hit an enemy on X levels higher than you, and then give xp according to that.

good enough?
Logged

where would you put the comma in the following telegram from a wife, to her husband in the navy?
"Not getting any better hurry home!"
Rasmus
Trapped in between
Level 7 Expert
*****
Offline Offline

Denmark Denmark

Posts: 1475




Rasmus4J
rasmus4j
« Reply #2 on: July 17, 2009, 08:08:18 PM »

sorry rasmus.
dont really get what this is doing.

example:
me: undead level 10
you : undead level 20

in one round i hit you 5 times.
you kill me.
and than i get 5 times 50 xp * 10 for the level???
no,
in the code there are predefined groups of how much xp you get when the level difference is X levels, and as it is now, every time you shoot a person, you will get the amount of xp, defined in the group of how big the lvl difference is.

i think i remember that if the lvl difference is >0 & <11 you will get 7 xp for each hit.
but it is all defined in the code, you can just look.
Logged

where would you put the comma in the following telegram from a wife, to her husband in the navy?
"Not getting any better hurry home!"
Rasmus
Trapped in between
Level 7 Expert
*****
Offline Offline

Denmark Denmark

Posts: 1475




Rasmus4J
rasmus4j
« Reply #3 on: July 17, 2009, 09:50:10 PM »

for some reason, es won't/can't create, find or set the new keys i define inside WCSuserdata event_var(userid) in the player_activate event, therefore it can't load them, so I don't know if I can move on with this.

If you try to help it would be great.
Logged

where would you put the comma in the following telegram from a wife, to her husband in the navy?
"Not getting any better hurry home!"
Stinkyfax
I <3 WCS
Level 7 Expert
*****
Offline Offline

United Kingdom

Posts: 1890



WWW
Xrushiov

myServer 84.55.62.45:27016
(Warning: click connects through Steam)
« Reply #4 on: July 17, 2009, 10:31:12 PM »

unfortunately i'm not ES coder, probably someone else will
Logged



HOLLIDAY
<Race Maker>
Watchdogs
Level 7 Expert
*****
Offline Offline

Posts: 2267



WWW
Wc3_HOLLIDAY_Wc3
wc3hollidaywc3

myServer 8.2.0.222:27015
(Warning: click connects through Steam)
« Reply #5 on: July 20, 2009, 03:42:49 PM »

i dont think event_var(userid) exist in WCSuserdata untill after event player_activate
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
Today at 05:35:12 AM
chuck you know how to setup a wcs race file?
Today at 05:30:43 AM
lol sorry texno I was high....Good news i just bough desktop come with window 7...now i can play video games after 1 months off from css... window 7 looks sick
Today at 05:25:35 AM
can somebody look at my topic pls
Today at 02:37:53 AM
AGHHH!!!
October 22, 2009, 09:29:32 PM
from hell Smiley
October 22, 2009, 09:25:26 PM
from ?
October 22, 2009, 05:58:00 PM
hello im back
Recent
[Today at 05:23:29 AM]

[Today at 04:52:05 AM]

[Today at 04:48:31 AM]

[October 22, 2009, 10:29:57 PM]

[October 22, 2009, 10:27:38 PM]

[October 22, 2009, 10:26:33 PM]

[October 22, 2009, 10:23:46 PM]

[October 22, 2009, 10:21:49 PM]

[October 22, 2009, 10:17:39 PM]

[October 22, 2009, 09:39:40 PM]
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.104 seconds with 24 queries.