Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Vrencheco

Members
  • Content count

    6
  • Joined

  • Last visited

About Vrencheco

  • Rank
    New Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Vrencheco

    SLADE3 wont read mp3 files

    still shows up.
  2. Vrencheco

    SLADE3 wont read mp3 files

    It was working ok before. Now when I try to place in an mp3 file it doesn't recognize it. This is what it looks like: https://i.imgur.com/loNmTsk.jpg
  3. I added some custom things in GZDOOMBUILDER and were working fine until now. Even though they appear in the thing menu, standard view, and visual view, when I test the map they don't appear. I added vanilla things such as a shotgun and a sergeant zombieman, the strange thing is the shogun appears but the sergeant did not. Even stranger, when in-game I successfully summoned the custom items via console command.
  4. So it would look something like this? global int 1: currentXP = 0; global int 2: currentLevel = 1; Putting this exactly as is gives me an error, however.
  5. Yeah I want to have it saved in between maps. Problem is, the xp/leveling system is not an inventory item. It is within an ACS script which goes as follows: #include "zcommon.acs" int currentXP = 0; int currentLevel = 1; int xpToLevel[20] = { 0, 100, //lvl 2 200, //lvl 3 300, //lvl 4 400, //lvl 5 500, //lvl 6 600, //lvl 7 700, //lvl 8 800, //lvl 9 900, //lvl 10 1000, //lvl 11 1100, //lvl 12 1200, //lvl 13 1300, //lvl 14 1400, //lvl 15 1500, //lvl 16 1600, //lvl 17 1700, //lvl 18 1800, //lvl 19 1900, //lvl 20 }; script 1 (int amount) { currentXP = currentXP + amount; HudMessage( d:amount, s:" XP"; HUDMSG_PLAIN, 3, CR_CYAN, 0.5, 0.9, 35); for (int i = 19; i >= currentLevel; i--) { if (currentXP >= xpToLevel[i]) { Print(s:"YOU LEVELED UP!"); currentLevel = i + 1; break; } } ACS_Execute(1, 0,0,0,0); }
  6. I have made leveling/experience scripts in ACS and I am trying to make the following scenario possible: *The player leaves MAP, a script saves the player's current xp and level *Player enters new MAP, a script gives the player the xp and level that they had ended the previous level with. I have been told that I can use UNLOADING to save those values, and ENTER to grant them to the player. But I am not sure how to go about doing that.
×