1. Check out the Store if you're looking to Buy HL2RP or other schemas for your server. You can click Buy Schemas on the very top navigation bar to visit the store.
  2. Use the Plugin Center to easily subscribe to and auto-install Clockwork plugins to your server, or submit and share plugins you have developed.
  3. Having trouble setting up or developing with Clockwork? Check out the Wiki or post in the Support Forum for advice from fellow users.
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 voice

Discussion in 'Development' started by Bot06, Jun 30, 2018.

  1. Bot06

    Bot06 Clockwork Customer

    Hey!

    I would like to know if we can set special voice by gender like Citizens female & male voice with this kind of schema

    Code:
    Schema.voices:Add("Combine", "Zone", "Zone!", "npc/metropolice/vo/zone.wav");
    
    And how could I set a voice for a specific OTA faction (the assassin's one) with the same kind of schema?
     
    Last edited: Jun 30, 2018
  2. robot

    robot Manager Staff Member Manager Store Support Clockwork Customer

    The Add method allows you to set different voice files for male and female characters.
    Code:
    function Clockwork.voices:Add(groupName, command, phrase, sound, female, menu, pitch, volume)
    
    Which in your case would be something like this:
    Code:
    Schema.voices:Add("Human", "Command", "Text shown!", "male/voice/audio.wav", "female/voice/audio.wav");
     
    • Like Like x 1
    Last edited: Jun 30, 2018
  3. Bot06

    Bot06 Clockwork Customer

    Thank man!
     
  4. Bot06

    Bot06 Clockwork Customer

    I dont think we can add voices for a special OTA Rank.
     
    Last edited: Jul 1, 2018

Previous Readers (Total: 0)