Exp system
Hey, I was wondering if anybody could at the very least show me an example on how to make an exp system.
I get the.. Code:
I just don't get what to do after that. |
Re: Exp system
Quote:
"an exp system" is a very, very, very broad subject. What mod is it? That's pretty important. Also, how the heck do you even want it to work? There are gillions of ways to make exp systems. |
Your right.
I would like to make and exp system that works like UltimateWarCraft3 mod. I would like it to work for counter-strike and I was going to attempt to make a mod called "HaloMod". Just 2 basic sides where you dont changeclass your basicaly get better upgrades. So basicaly heres how it would work... 2 sides exp is based on frags when new lvl is gained class dont change but skills will Hopefully that gave you a better understanding for what im looking for. |
Code:
There's a start. |
Could you explain to me the "read_data(2)" part because it says
- undefiend symbol "victim".. |
Whoops, used "victim" in place of "id" in the function to get the user's next experience amount. Anyway, read_data(2) grabs the 2nd parameter from the DeathMsg event, which is the killer.
|
Now, is the code you just posted supposed to give the attacker 50 xp everytime he kills the victim? I tested it, but when I killed another person I didn't get what I was supposed to get which was a weapon.
|
his example only adds xp into an array for your id when u kill somebody and u get lvls up to 10
|
Quote:
|
Yeah.
Code:
I put "give_item(id,"weapon_m4a1") for // congratulatory stuff here And what I thought was gonna happen was when I killed a person it would have given me the m4a1. |
| All times are GMT -4. The time now is 09:58. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.