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!

Edit the english voices for french voices

Discussion in 'Discussion' started by Commandux, Feb 10, 2013.

  1. Commandux

    Commandux Clockwork Customer

    Hi,
    I would like to know if it is tolerated to translate the english voices for french voices.

    I get a .zip with all the french voices. If it is tolerated, is this the file called sh_voices ?

    Example :
    MPF-UNION.OfC.25545 says ":: Citizen" (with oral voice)
    I want edit this for get the french voices :
    MPF-UNION.OfC.25545 says ":: Citoyen" (with oral voice)

    Thank you
    Commandux
     
  2. diablo1675

    diablo1675 Guest

    Pour autant que je sache, c'est exact. Vous devez le changer dans sh_voices dans les bibliothèques, et de changer la commande. Bien que le fichier son sera toujours en anglais. Vous ne pouvez pas changer cela.
     
  3. Commandux

    Commandux Clockwork Customer

    Ok thank you, but are you sure that we can't change the voice ? Why is it blocked (if you get any idea) ?
     
  4. Datzy

    Datzy Guest

    Vous pouvez le modifier, il vous suffit de mettre le nouveau répertoire pour vos voix françaises.
     
  5. Commandux

    Commandux Clockwork Customer

    Hi
    Thank you but it does not work. Thank you to speak me in French too ; )

    Screenshot : [​IMG]

    You can see two lines at the bottom of the voices file.
    The line "Test !" works with an english voice. The line "Test3 !" works with a french voice (voice of the game).

    In game, I say :
    :: Citizen
    :: Apply
    :: Test
    These 3 files work because they are english.

    But, when I say it :
    :: Test3
    I does not work because it is a french voice.

    Do I did it correctly ?
    I see that a folder called vo is used for every voices... but, I can't see it. Is this the main problem ?

    Thank you,
    Commandux
     
  6. connall

    connall Guest

    Vous ne pouvez pas mettre un fichier chemin aléatoire pour la voix si elle n'existe pas réellement. Vous avez ajouté / fr / au fichier d'origine. Est-ce que le fichier existe? Si ce n'est pas le cas, alors il est de votre problème.
     
  7. Commandux

    Commandux Clockwork Customer

    I created a folder here :
    Gmod\hl2\sound\npc\fr
    And I put my .wav into it.

    This solution does not work :-\

    [​IMG]
    EDIT : I make a mistake in my screenshot, I haven't put in red the right file at the left.
    In red, you can see the french file. I changed the folder like you said in an existing folder it but it does not work again...

    Do you think I made a mistake somewhere ?
     
  8. Is the sound file on your computer? It won't play if it's not.

    You need to make clients download it.
     
  9. Commandux

    Commandux Clockwork Customer

    EDIT : see last message
     
  10. Commandux

    Commandux Clockwork Customer

    With the FastDL tutorial (thank you jamiecross), I did something.
    When the player join the server, it is written that he download the .wav but, when he is in game, he can't hear the sound.

    If I add it manually to my folder, I can hear it. So, it is a download problem.

    Do you know how to fix it ? Do you want the server IP for see the problem ?
     
  11. Adam

    Adam Dark Fraction Owner

    You need to use resource.Addfile,

    Create a new lua file in lua/autorun/server called whatever you want, then add the following:

    resource.AddFile("sound/npc/overwatch/radiovoice/allunitsreportlocationsuspect.wav")

    Make sure that it is the right path, and then add it in, copy that line for each sound file and then save it, then restart the server.
     
  12. Commandux

    Commandux Clockwork Customer

    Yes, I did it. When I write the command 'in game' I get an english woman voice.

    Here are my screenshots, can you see a problem ? (please note that I have changed the .wav files (amputate.wav) because I worked all the night and all the day on this problem)

    FTP Web :
    [​IMG]

    resources.lua :
    [​IMG]

    amputate.wav in the server :
    [​IMG]

    sh_voices :
    [​IMG]


    I think there is a .wav protection because I can't find, on the server, all the .wav english files and I can't find the folder called "vo". But, I think that "vo" is situated in hl2/sound/npc/overwatch/radiovoice because when I delet a sound, I can't hear it in game.

    Please note that if I add the sound manually on my computer, I hear the french voice ;s
     
  13. Commandux

    Commandux Clockwork Customer

    I don't use Google Traduction.
    Do you know how to solve this problem ?

    EDIT 1 :
    Déjà fait depuis longtemps ><
    It is already done ><


    EDIT 2 : Do you think that my web host block the .wav download ?
     
  14. Commandux

    Commandux Clockwork Customer

    Omg, stop say I use Google Translate, it's false u_u

    J'ai déjà essayé plus haut et ça ne fonctionne pas.
    I did it but it does not work.
     
  15. Commandux

    Commandux Clockwork Customer

    After a lot of work, I did it !
    I did it, my voices are in french, but there is some sounds heared like being :
    english woman voices
    or french voices repeated

    Do you know how to solve this problem ?

    Edit : it is the list of the sounds. + = it works | - = it does not work
    Code:
    +
    can1
    can2
    404
    505
    affirmative
    allunitsmovein
    amputate ready
    antiseptic
    apex
    backup
    blade
    can3
    can4
    can5
    cleaned
    protection complete
    copy
    copythat
    cover me
    dagger
    delivered
    destroy cover
    echo
    engaged cleanup
    engaging
    escapee
    get down
    get out
    ghost
    got him now
    grid
    hardpoint
    helix
    help
    inbound
    isolate
    judge
    keep moving
    kilo
    knocked over
    location unknown
    lock position
    look out
    lost contact
    mace
    minor hits
    move
    move along
    move in
    move it
    necrotics
    necrotics inbound
    nomad
    nova
    now get out
    objective
    outbreak
    outbreak status
    overwatch
    payback
    phantom
    priority two
    privacy
    razor
    reaper
    restricted canals
    rodger that
    running
    savage
    second warning
    sentence delivered
    shadow
    spear
    stinger
    storm
    sword
    take cover
    vamp
    verdict
    wrap it
    you can go
    
    -
    administer
    restriction
    anti-citizen
    officer help
    serve
    restrict
    sector
    suspect one
    amputate
    search
    shit
    sweeping
    restricted block
    apply
    prosecute
    final warning
    sterilize
    patrol
    pressure
    preserve
    assist trespass
    vice
    zero 
    zone
    citizen
    need assistance
    dash
    victor
    x-ray
    don't move
    watch it
    final verdict
    move back
    move along repeat
    vacate
    first warning
    full response
    go sharp
    union
    trouble
    haha
    malcompliance
    lock
    harden position
    heavy resistance
    hold it
    inject
    judgement
    jury
    king
     
  16. I haven't really looked but I'd guess because it's either the same voice path or the same activation text.
     
  17. Commandux

    Commandux Clockwork Customer

    Hi,
    Thank you a lot, it works ; p
     
  18. Commandux

    Commandux Clockwork Customer

    I have an other question.
    I want voices to be used by a group called "test".
    Code:
    Schema.voices:Add("Test", "Sweeping", "Recherche de suspects.", "npc/overwatch/radiovoice/sweep.wav");
    -> It is an example

    Does these two functions can help me ? How must I create this ? Must I tie it with a faction ?
    Code:
    -- A function to check if a player is Combine.
    function Schema:PlayerIsCombine(player, bHuman)
    	if (IsValid(player) and player:GetCharacter()) then
    		local faction = player:GetFaction();
    		
    		if (self:IsCombineFaction(faction)) then
    			if (bHuman) then
    				if (faction == FACTION_MPF) then
    					return true;
    				end;
    			elseif (bHuman == false) then
    				if (faction == FACTION_MPF) then
    					return false;
    				else
    					return true;
    				end;
    			else
    				return true;
    			end;
    		end;
    	end;
    end;
    Code:
    function Schema.voices:Add(faction, command, phrase, sound, female, menu)
    	self.stored.normalVoices[#self.stored.normalVoices + 1] = {
    		command = command,
    		faction = faction,
    		phrase = phrase,
    		female = female,
    		sound = sound,
    		menu = menu
    	};
    end;
    Thank you.
     
  19. diablo1675

    diablo1675 Guest

    Afin d'obtenir les voix anglaises, vous devez ré-enregistrer les voix par défaut. Mais c'est à peine possible. Pour autant que je sache, HL2 ne comportent pas de son français. Et puis, je veux parler des fichiers audio, de sorte qu'ils effectivement son Combinez-ish.
     
  20. Commandux

    Commandux Clockwork Customer

    Hi,
    Thank you but I had already put the french voices on my server.

    The main problem is that I don't know how to create a group called "test" who could use voices that others factions couldn't use.
    You can find this problem here : http://forums.cloudsixteen.com/index.php?topic=1052.0

    Thank you ^^
     

Previous Readers (Total: 0)