I have modding a team name, color, etc... but i think why prop hunt have a different class into 1 team like example:
team 1 : doomguy
team 2 : zombie
(it is the example)
pls help me
How i put 1 class in 1 team?
-
- New User
- Posts: 17
- Joined: Sat Jul 14, 2018 5:55 am
- Clan: NewClanZ
- Clan Tag: NewClanZS
Re: How i put 1 class in 1 team?
Make as many teams as you have classes.
Then in the definition of the class you want to be in the first team, add this property:
Then in the definition of the class you want to be in the second team, add this property:
etc.
Not sure if this is what prophunt is doing but it's the standard way to limit the choice of a class to a single team. If you play in TLMS, this will work fine. In LMS I think you can pick any class and there are no teams.
Then in the definition of the class you want to be in the first team, add this property:
Code: Select all
limitedtoteam 0
Code: Select all
limitedtoteam 1
Not sure if this is what prophunt is doing but it's the standard way to limit the choice of a class to a single team. If you play in TLMS, this will work fine. In LMS I think you can pick any class and there are no teams.
- madcat
- Forum Regular
- Posts: 361
- Joined: Mon Jul 08, 2013 7:16 pm
- Location: Czech republic
- Clan Tag: [Sun]
Re: How i put 1 class in 1 team?
I think that what you need is adding "LimitedToTeam" string in the player's DECORATE - it makes the player class impossible to be picked by any other team than the one you choose ( 1 is for red, 0 is for blue )NHG(N_HuyGamingVN) wrote: ↑Sun Aug 19, 2018 5:49 amI have modding a team name, color, etc... but i think why prop hunt have a different class into 1 team like example:
team 1 : doomguy
team 2 : zombie
(it is the example)
pls help me
Like this:
ACTOR RedPlayer : PlayerPawn
{
limitedtoteam 1
You might also be interested in "DesignatedTeam" - it prevents the ACTOR being harmed by direct damage stuff from his teammates.
-
- New User
- Posts: 17
- Joined: Sat Jul 14, 2018 5:55 am
- Clan: NewClanZ
- Clan Tag: NewClanZS
Re: How i put 1 class in 1 team?
thank you