CarpetolA
Warming Up

Posts: 13
Registered: 07-07 |
Hey, CarpetolA here!
I have just made a small introduction map with three skill levels - Easy, Medium and Hard, and I just want to know how I can implement these skills into the skill selectors. I know how to remove the skill menu (noskillmenu), but I'm not sure about the actual skills. How can I make the selectors "activate" the particular skill that the player wants to choose?
EDIT: I got it working now. Here's how I did the whole thing:
code: #include "zcommon.acs"
script 1 (int line)
{
print (s:"This hall selects Easy skill.");
ChangeSkill (SKILL_EASY);
}
script 2 (int line)
{
print (s:"This hall selects Medium skill.");
ChangeSkill (SKILL_NORMAL);
}
script 3 (int line)
{
print (s:"This hall selects Hard skill.");
ChangeSkill (SKILL_HARD);
}
Thanks goes to Graf Zahl, Fisk and t.v. for helping me with the annoying scripting! Couldn't have done it without you three! :D
P.S. I actually didn't get noskillmenu to work, tbh... I just put it in MAPINFO, and fired up ZDoom with the WAD, but it seems like I have to do something else than that :S I assumed I just needed to do that, so I don't know how to get rid of this obstacle. I'll post another thread regarding this, since I think it doesn't have anything to do with the problem on this thread, so don't reply here! Look for my new thread "noskillmenu goes apesh*t!" and you can post some solutions to that problem so I can probably get it fixed. Thanks for your concern! :)
__________________
To live is to die.
Last edited by CarpetolA on 07-10-08 at 21:19
|