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!

Fixed Character Customization

Discussion in 'Development' started by duck, Mar 13, 2016.

  1. ○Frix

    ○Frix Clockwork Customer

    I guess you are not called Angel for no reason
    you just saved my life
     
    • Agree Agree x 1
  2. TheVingard

    TheVingard Clockwork Customer


    I get this error when a model is selected:

    [ERROR] gamemodes/cwblackmesa/plugins/fixedcharcustomization/plugin/cl_character.lua:115: attempt to index field 'Entity' (a nil value)
    1. DoClick - gamemodes/cwblackmesa/plugins/fixedcharcustomization/plugin/cl_character.lua:115
    2. unknown - lua/vgui/dlabel.lua:218
     
  3. NightAngel

    NightAngel Fuck off Lev

    Under line 99 of cl_character.lua
    Code:
    spawnIcon.DoClick = function(spawnIcon)
    put
    Code:
    if (!IsValid(panel.characterModel.Entity)) then return; end;
    so the code will look like
    Code:
    -- Called when the spawn icon is clicked.
    spawnIcon.DoClick = function(spawnIcon)
    if (!IsValid(panel.characterModel.Entity)) then return; end;
    Tell me if that works for you.
     
  4. TheVingard

    TheVingard Clockwork Customer

    There are no-longer any errors, but a model cannot be selected and the bodygroups button in the character creation is not there.

    http://steamcommunity.com/sharedfiles/filedetails/?id=697818229

    In-Fact this may be because of the character menu, (Blt's CW: BMRP one) | Nevermind, it still has this issue on the defualt character creation menu.
     
    Last edited: Jun 5, 2016
  5. NightAngel

    NightAngel Fuck off Lev

    Alright let me try another solution.

    Edit:
    https://mega.nz/#!pAAQGDyZ!n4MXFpUUoeN9T81o8YcLmlEh390_VtJZJ4PgHDZvHV8
    I tested that and it seems to work, try that. @TheVingard
     
    • Friendly Friendly x 1
  6. TheVingard

    TheVingard Clockwork Customer

  7. NightAngel

    NightAngel Fuck off Lev

    Maybe the models don't have bodygroups or skins.
     
  8. TheVingard

    TheVingard Clockwork Customer

    They do. It's just it does not show up for some reason...
     
  9. NightAngel

    NightAngel Fuck off Lev

    Do you have any other plugins that edit the menus? Try other models that you know have bodygroups and skins, I don't know what the problem could be since it works perfectly for me.
     
  10. TheVingard

    TheVingard Clockwork Customer

  11. NightAngel

    NightAngel Fuck off Lev

  12. TheVingard

    TheVingard Clockwork Customer

  13. Svensis

    Svensis Guest

    I want that too! :mad:
     
  14. NightAngel

    NightAngel Fuck off Lev

    I can't reproduce the problem, so I don't know how to fix it. Sorry.
     
  15. Viomi

    Viomi Running ArchLinux

    You guys should really update the Plugin Center, it's still running the broken version.
     
    • Agree Agree x 3
  16. Just a general question about this plugin: Is there any way you can limit the amount of body groups that can be chosen from? Say, for example, I wanted people to be able to use HL2TS2, but only to be able to select different faces, and whether or not they have glasses or a hat?
     
  17. duck

    duck Phant0m Legend

    No.
     
  18. This is months old, I understand, but I'm getting:

    [ERROR] gamemodes/clockwork/plugins/fixedcharcustomization/plugin/cl_character.lua:115: attempt to index field 'Entity' (a nil value)
    1. DoClick - gamemodes/clockwork/plugins/fixedcharcustomization/plugin/cl_character.lua:115
    2. unknown - lua/vgui/dlabel.lua:218

    am I doing something wrong here?
     
  19. Svensis

    Svensis Guest

    Which CW version are you using?
     
    • Disagree Disagree x 1
  20. v0.925
    Also using CiderTwo.
     

Previous Readers (Total: 0)