1. This forum is ARCHIVED! Visit the new Cloud Sixteen forums, codename Eden, at https://eden.cloudsixteen.com. These forums will remain archived for a few months before being closed down, so try to encourage plugin developers to begin moving their content across to the new forums.
Dismiss Notice
Hi Guest, you need a Steam account to register and post on these forums. Login with Steam at the top of the forums to get started!
Dismiss Notice
Hi Guest, do you want to buy HL2RP or another Clockwork schema? Visit the Cloud Sixteen Store to get started!

Gender in Factions

Discussion in 'Development' started by Niker107, Mar 18, 2014.

  1. How do I make a faction which only has one gender? I've been trying to work this out for a bit, and there seems to be nothing that gets called when you select a gender. There's only a function that is called when you need to select a model and one which is called when you need to write a name, but there's no function for the gender and I really need to be able to have only one gender.
     
  2. Just curious: for what?
     
  3. I want to create a faction but there's only the male model for that faction and nobody has created a female model, so I need to be able to make that faction male-only.

    Can somebody help me figure out how to make only 'male' be able to be select'able?
     
  4. Lugaru

    Lugaru Guest

    Could you not just copy and paste the model selections for the male and cut them over the females? That way it wouldn't really matter, their physical description would have to fit the model.
     
  5. Nope. There are things that matter. First of all, if they die or become unconscious while having a male model, it will say "She is unconscious." or "She is deceased."

    Also, voice commands work improperly, if you create a female char with a male model, you're still going to have the male voice commands.
     
  6. Lugaru

    Lugaru Guest

    Never thought of that actually. Have you tried removing the female section altogether, or providing no selectable model? I'm not sure if it would work, but trial and error yo
     
  7. Yes I tried doing that in many ways like just removing it or keeping it with an empty space where the models were and etc. but it just makes the default Citizen models pop-up because that's how how HL2RP works, in the actual Citizen faction there are no models so it makes them appear on default. I even tried adding FACTION.gender = "male"; and stuff like that but it still doesn't work. Duck, RJ, some of the coders, halp! You should know how to do this :L I hope.
     
  8. FACTION.singleGender = GENDER_MALE
    FACTION.singleGender = GENDER_FEMALE
     

Previous Readers (Total: 0)