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!

Only SINGLE gender?

Discussion in 'Development' started by blt950, Aug 6, 2013.

  1. blt950

    blt950 HL2RP fan and Lua Scripter

    I'm trying to make a faction with only one gender, males.
    Is this possible somehow? Because we don't have any female models of this faction, and don't wish any as well.

    I don't see any function for this. To add also that there are several male models I want the player to choose from.
     
  2. Gearfiend

    Gearfiend Guest

    Refer to here:
    http://forums.cloudsixteen.com/index.php?topic=2941.0

    Find this:
    Code:
    FACTION.models = {
    		female = {
    			"models/humans/group01/female_01.mdl"
    		},
    		male = {
    			"models/humans/group01/male_01.mdl"
    
    And remove the female parameters.
    Code:
    FACTION.models = {
    		male = {
    			"models/humans/group01/male_01.mdl"
    
    Ding, should work now afaik. Put it in your 'faction' file.
     
  3. blt950

    blt950 HL2RP fan and Lua Scripter

    I made it like this. What happens is that the female gender option is still there, and when I select it, it loads the default female citizen models to choose between.
    Code:
    local FACTION = Clockwork.faction:New("Scientist");
    
    FACTION.useFullName = false;
    FACTION.material = "blackmesarp/factions/scientist";
    FACTION.models = {
    	male = {
    		"models/blackmesasciences/eli.mdl",
    		"models/blackmesasciences/kleiner.mdl",
    		"models/blackmesasciences/male_01.mdl",
    		"models/blackmesasciences/male_02.mdl",
    		"models/blackmesasciences/male_03.mdl",
    		"models/blackmesasciences/male_04.mdl",
    		"models/blackmesasciences/male_05.mdl",
    		"models/blackmesasciences/male_06.mdl",
    		"models/blackmesasciences/male_07.mdl",
    		"models/blackmesasciences/male_08.mdl",
    		"models/blackmesasciences/male_09.mdl"
    	};
    };
    
    
    FACTION_SCIENTIST = FACTION:Register();
     
  4. Gearfiend

    Gearfiend Guest

    If you own HL2RP, I recommend you look at how the 'Overwatch' faction does it, because iirc it doesn't prompt for a gender.
     
  5. blt950

    blt950 HL2RP fan and Lua Scripter

    I believe it does.
    Code:
    FACTION.models = {
    	female = {"models/combine_soldier.mdl"},
    	male = {"models/combine_soldier.mdl"}
    };
     
  6. Yes, the Overwatch faction does prompt a gender, but one can assume that gender-neutralism would be surgically enforced upon conversion (removal of reproductive organs). I'd just make it clear to players that any female characters in-use on that specific faction would be voided and is OOC.
     

Previous Readers (Total: 0)