I tried to make my edit version of C18 separate from the standard one by doing this, but it didn't work properly...
I created the "custom" folder and the subfolders:
- esf_openbeta\models\player\custom\a18\c18
Inside that folder I put the model file and a blank "info.xml" file
- esf_openbeta\models\player\custom\a18\c18\c18.mdl
- esf_openbeta\models\player\custom\a18\c18\info.xml
Then inside the info.xml file I put:
<custom name="C18">
<replace original="a18" replace="c18"/>
</custom>
The class select vgui has "Default" and now "C18" listed under her custom models.
After a while I figured out how you are supposed to actually spawn as her without it changing custom model back to Default (I think)...
I select "C18" custom model, then without moving the mouse over any of the other classes, click on "Android 18" on the class list.
But the model is still the Default one (destructo disc wearing and not very talkative... :])
I can't see anything obvious that I did wrong
EDIT#1:
I managed to replace goku's model with the same C18 custom model... only change was swapping <replace original="a18" with <replace original="goku"
Seems like there may be a problem giving custom models to C18 ??
Maybe it's her class name?
- in the "esf_openbeta\sound" folder, her sound folder is called "18" (even though the game looks for "a18")
- in the "esf_openbeta\models\player" folder, her model folder is called "a18"
- in the game, her class might be called "c18" (eg. class_c18_dash_speed_start)
EDIT#2:
Ok, it was using the custom model... but the custom model does not use the custom animations or sounds that I gave her.
The animations and sounds play correctly when I use this model in the normal "esf_openbeta\models\player\a18" folder.
Where do the sound files go for custom models? would it still be "esf_openbeta\sound\a18" like for standard models?