Page 1 of 1

[DECORATE] hey i need help

Posted: Sat Jan 14, 2017 2:49 am
by Combinebobnt
2 questions are u ready:

1: can i force someone to switch classes in acs? consolecommand?

2: can i make a class that cannot be selected in the menu or player setup? I guess there is a silly way to do this if there is no clean solution.

[DECORATE] Re: hey i need help

Posted: Sat Jan 14, 2017 3:06 am
by Hypnotoad
1: https://zdoom.org/wiki/MorphActor
2: I thought classes didn't appear in the menu unless you added them in GameInfo (within MAPINFO lump) or KEYCONF.

[DECORATE] Re: hey i need help

Posted: Sat Jan 14, 2017 3:47 am
by SwordGrunt
Hypnotoad wrote:1: https://zdoom.org/wiki/MorphActor
2: I thought classes didn't appear in the menu unless you added them in GameInfo (within MAPINFO lump) or KEYCONF.
This is correct, in which case they're only accessible via morphing.

Which is a very weird mechanic to work with, mind you. Be aware many things you expect to work will not when dealing with morphed playerclasses. Sometimes it was really fun to make hacky workarounds for them... though at other times, it could prove a frustrating task.

[DECORATE] Re: hey i need help

Posted: Sat Jan 14, 2017 4:12 am
by Combinebobnt
moprhing? ok sounds like shit, time to not use classes.

thanks my good friends from zandronum

[DECORATE] Re: hey i need help

Posted: Sat Jan 14, 2017 6:30 am
by Ivan
There's a method I've only had in theory, never applied.

Implement all player class looks in just ONE class, use items to decide which class the player is and use jumps and stuff to handle player sprites in states. If health is different give health etc. The only problem is radius and/or heights being different. There's no solution to that atm.

[DECORATE] Re: hey i need help

Posted: Sat Jan 14, 2017 6:35 am
by Combinebobnt
yea thats pretty much what im doing