I recently started work on my own BF2 mod and I've come across some problems reskinning the US soldier from vanilla BF2.
I created a skin based on the original skin and exported the DDS from Photoshop, but simply replacing the DDS file didn't seem to work when looking at the soldier in the ObjectEditor of the BF2 editor.
I looked at how it was done in PR with the US Army soldier and I noticed while looking at the end of the skinnedmesh file that the file paths and filenames had been changed.
I tried replacing US with the name of my faction with a hex editor, but this causes the BF2 editor to crash with the error message BF2 Memory Error: EditorMemory.dll: all alloc attempts failed for size 193595087.
I have replaced instances of US with the name of my faction in the con and tweak files. I also tried restoring the default texture and keeping my modified skinnedmesh to see if the problem was with my .dds file, but the crash still occurs.
I assume I'm doing something wrong while editing the skinnedmesh file. Feedback from the community mod teams or the people who implemented the US Army team in PR (or anyone who knows how to do this) would be greatly appreciated. Thanks in advance for all your help.
[Question] about skinnedmesh files and reskinning DICE models?
-
Nighthawk
- Posts: 20
- Joined: 2009-01-22 14:49
[Question] about skinnedmesh files and reskinning DICE models?
Last edited by Nighthawk on 2009-01-23 00:51, edited 4 times in total.
-
Chuc
- Retired PR Developer
- Posts: 7016
- Joined: 2007-02-11 03:14
Re: Question about skinnedmesh files and reskinning DICE models
The best way to reskin vanilla assets is to change the texture paths using bf2materials.
4shared.com - online file sharing and storage - download bf2Materials.zip
4shared.com - online file sharing and storage - download bf2Materials.zip
-
Nighthawk
- Posts: 20
- Joined: 2009-01-22 14:49
Re: Question about skinnedmesh files and reskinning DICE models
Thanks very much, this works well and is exactly what I wanted.

