How do you make a player class have voice lines?
Moderator: GZDoom Developers
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
-
- Posts: 1
- Joined: Wed Aug 29, 2018 8:46 pm
- Contact:
How do you make a player class have voice lines?
I'm asking because in my mod i'm making for DOOM 2, I want to have my player class have voice lines at random moments, The start of a level, Or the start of a level with a certain friendly monster, I'd also like to know how to make a player class as a whole.
-
- Posts: 5043
- Joined: Sun Nov 14, 2010 12:59 am
Re: How do you make a player class have voice lines?
In ACS, there are [wiki=Script_types]special types of scripts[/wiki] which get executed on certain events, events like entering a level. ZScript has a [wiki=Events_and_handlers]similar system[/wiki], if you want to go that route.
For creating a player class, see [wiki=Creating_new_player_classes]this[/wiki].
For creating a player class, see [wiki=Creating_new_player_classes]this[/wiki].