Frequently Asked Questions - JulianR0/CLevels GitHub Wiki
It could be possible that SCXPM has maxed out storage capacity. AngelScript has a limitation that restricts how big the storage folder can get. Once this limit is reached, SCXPM can no longer write data, even when write permissions are granted by the operating system. Luckily, said limit can be increased with the as_file_size_quota CVar. The default limit is 32, which should be more than enough for most cases. However, if needed, you can the CVar on your server.cfg until SCXPM stops complaining about it.
This is a rounding error. If you are tempted to change line 2874 from a > to a >=, then all you’ll get will be a flood of You reached level X! every 0.5 seconds, as it will not properly calculate the next level. Just ignore it, you will level up as soon as you gain a little more XP.
If you are looking for a powerful 1,800 level SCXPM: IT’S NOT HERE. If you really want players to be that overpowered then edit the code and buff up the skills yourself.
This SCXPM has been nerfed to prevent it from breaking every map out there, which is one of the reasons of why this plugin is so hated. Don’t give the SC community more reasons to hate this plugin (and you) even more.
Rule of thumb is to be cautious, as some maps needs such monsters to work properly. However, if it makes no difference whenever such monster is on the map or not, then you have two choices:
If you don’t know how to use ripent, consider removing the map from your maplist. Don’t let unfaithful players abuse the map for easy XP.
If you do know how to use ripent you can either remove the monster entity entirely, or set the monster’s pev->takedamage to DAMAGE_NO with a trigger_changevalue. The latter is preferred as it will prevent XP whoring while at the same time leaving the map (nearly) unmodified. You can also use an external script, if you are feeling fancy.
All default achievements contain a “hidden” requirement that players must met to unlock the achievements. The requirement is score-based. This hidden objective has been put in place to prevent players from unlocking the achievement doing “absolutely nothing”. I mean, it’s an achievement for crying out loud! If you want to unlock it put some effort into it!
Absolutely, see the achievements page.
Sure! With trigger_changevalue
, you can force one or more handicaps on players. The basic gist of it is to set $i_force_handicapXX
to 1
to a player. Where XX is the number of the handicap.
The number is how they are shown on the menu, 01 is the first handicap, 02 is the second handicap, and so on. But let me give you a table for your ease:
Handicap | XX |
---|---|
Medical Phobia | 01 |
Obsolete Technology | 02 |
Nitrogen Blood | 03 |
Karmic Retribution | 04 |
Realism | 05 |
Big Explosion | 06 |
Limited Equipment | 07 |
Dead Weight | 08 |
Lacking Help | 09 |
Friendly Fire | 10 |
Lost Bullets | 11 |
Weak Restart | 12 |
Dangerous Waters | 13 |
Bleeding View | 14 |
Health Crisis | 15 |
A forced handicap, of course, cannot be disabled by the player. Since this is a forced handicap, this means that it will have its effect even if the map disables handicaps. You will want to surprise players with this.
Yes. In the same way forced handicaps are used, use trigger_changevalue and set ext_*
keyvalues on the player. These keyvalues are:
$i_ext_xp
Use this to give XP to a player.
$i_ext_medals
Ditto for medals.
$i_ext_expamp
XP Multiplier level. 1 is 2x XP, 2 is 3x XP, etc.
$i_ext_amptime
Multiplier time. Defaults to 60 if unspecified.
$s_ext_permaincrease
XP Modifier name that will be shown in the menu.
$s_ext_permastring
XP Modifier description when inspected. Use !n
to go to the next line.
$i_ext_permavalue
+X% XP Gain. X is the value of this keyvalue. 0 will transform this XP Modifier into an honorific mention.
There are 2 custom entities worth mentioning that you can add to your maps. These allow you to change a few SCXPM settings on-the-fly.
All entities requires a targetname to spawn. They will self-delete on their own if they have no name.
This is used to change the map’s XP gain.
spawnflags | # |
---|---|
Only Once | 1 |
new_xpgain
New XP gain to use. 0 to disable leveling.
This is used to change skills behaviour.
spawnflags | # |
---|---|
Only Once | 1 |
Warn Players | 2 |
trigger_after_use
Trigger an entity after this entity was used.
skill_mode | # |
---|---|
No Skills | 1 |
No Anti-Gravity | 2 |
ON/OFF Handicaps | 4 |
Examples:
0
will enable skills, anti-gravity and allow handicaps.
1
will disable skills and handicaps.
2
will enable skills, but disables anti-gravity.
4
will enable skills and anti-gravity, but disables handicaps.
5
will disable skills, but enables handicaps.
6
will enable skills, but disables anti-gravity and handicaps.