Wednesday, 21 August 2013

SC5 character hex code cont'd, expanding on equipment code

cont'd from last post

so now, start from row 470 is the equipment code list. this is the part where you can use swap male parts onto female or even use DLC's for free, just make sure you don't enter creation menu because all these changes will be reverted. swapping male equipment parts onto female works because male parts are wider than female parts. this obviously won't work the other way around because female equipment parts are too small to fit onto male body parts

check the full equipment list here
https://dl.dropboxusercontent.com/u/55034895/SCVDRESSUP/Mainframe.html

here's an example of zwei's 1P dlc costume and various male hair parts being swapped onto viola.
http://www.youtube.com/watch?v=SherSWbBiRY

you can also make armors unbreakable by copying armored section to armor break section so your design never gets messed up.

but you need to watch out for one thing. you cannot put anything you want in the broken armmor section unless there's an equivalent in the full armored section. the game must 1st load all the equipment parts into the memory by reading the full armored code, then check the equivalent markers for the armor break section.

https://dl.dropboxusercontent.com/u/55034895/SCVDRESSUP/help.html

take hair for example
17 17 00 00 0E, ivy's hair.
if you apply helmet and on a bald character in armored section, but you want to show ivy's hair on armor break,
17 17 00 FF 0E, put FF on the sub ID of the hair part, and put this on the fully armored section so that the hair doesn't show up and therefore doesn't conflict with the helmet.

the FF sub ID can be used on everything. you can even hide the 3 special items and have them show up after armor breaks. this is how you screw people with creation armor breaks into penis, and it can't be broken! LOL

the topless mod, I am sure everyone knows that already know how to do it by now, just change body position marker 01 and 06 to the following
--- 16 00 00 0E 01
--- 16 00 00 0F 06
BUT female texture have the tips greyed out like a fang shaped thing.
unfortunately you cannot apply skin colored stickers to fix them. it will still remain greyed out even if the sticker have the exact same color as the skin.
so either you apply bottle gourd special items for the nipple imitations, or you apply the basic momotif stickers like heart/star/spade/triangles and etc to cover the nipples like pasties

the following male hair style works on female characters.
030B00000E long straight
031600000E siegfried's hair
031900000E mitsurugi's hair
031B00000E kilik's hair
031D00000E algol's hair
the other hair style will show females balding because female's upper skulls are bigger than male hair styles' coverage. I didn't test them all though.

so the dropbox site list tells you that the equipment parts markers are the following

---Body-Part Position Markers---
00- Neck
01- Upper Breast
02- Shoulder
03- Upper Arms

etc etc

------Characters-----------
00 XX 00 00 1F -1P Model (CORRECTED from dropbox site table, missing 00)
00 XX 01 00 1F -2P Model (CORRECTED from dropbox site table, missing 00)

btw,
slot 14 is at 570, it's for large vest or 1 piece equip
slot 20 is at 560, it's mostly used for belts or 2nd component pieces of large vests

it also doesn't tell you where the 3 special custom items are.
well here they are.
1C <--- 3rd item
1F <--- they reuse this address for special items when 1P/2P models are not being used. that's fine.
21 <--- 1st item
there's no explanation on how special items store their positions and shapes so if you want to use these, make sure you do everything in creation mode 1st before you do the equipment swap or equipment hide.

SPECIAL NOTE on the 3 custom items, their locations are relative to the equipments that your custom character was wearing in the character creation mode.
what this means is that you cannot swap in empty slots "FF 00 00 FF FF" with a piece of equipment in the hex code otherwise the locations of the 3 objects will get fucked, same thing for the other way around. you cannot remove a piece of equipment with "FF 00 00 FF FF", so you must use parts hiding I mentioned above.

so what you need to do 1st is go back to the character creation mode, say you want to swap in a costume in slot 14 (1 piece DLC tops), you 1st go find an existing equipment in your character creation menu that also occupies slot 14 (large vests, check the dropbox site for full lists), and equip that piece. now the character creation menu will remember that your character is wearing something at slot 14, and the 3 custom items will have position defined relative to that. so now you can go to hex editor and swap that slot 14 with the DLC pieces you want.

also, garjianSTOLEMYNAME from youtube mentioned that there's a special physics code that define how a character's hair, clothing, and body moves.
this happens on row 580, 6A0, and 7C0. so far I noticed only 1P/2P character models have this code. custom characters and 3P's don't have it. I did some basic tests and this section doesn't seem to affect how 1P/2P model armor breaks. I probably won't test it any further to find out its capabilities though, lol.

I think the bits of code after the equipment code talks about the position and orientation of the customizable items, but it does seem a bit too simplified compared to the data in the creation menu. maybe it's also defined elsewhere? no idea.

well this is all I know for the equipment section, in the next post I will talk about weapons and maybe body stickers and face paint

if there's any error in my posts, please let me know, thx.
if you know something I don't, please share with me too, thx

9 comments:

  1. hey @SafeModder, i have question. i'm using topless mod for female CAS and i use a sticker to cover the nips. but when i started the game, the topless worked but the sticker disappeared. the female CAS have the tips grey coloured like a fang shaped thing. can you help me? sorry for my bad english and thanks

    ReplyDelete
    Replies
    1. you cannot get around that, it's just the way that nips are textured. however, you can still put stickers of other colors on there, so you should try to go for taped nips look. so far I have only used gray and black stickers to cove the nipples, so I don't know how well it work with brighter colors.

      Delete
  2. This comment has been removed by the author.

    ReplyDelete
  3. I do not speak very well the Englishman and I do not understand the part if it could raise photos of the groove 14 as replace the equipment estaria very gratefully and rest of the tutoriales helped me really enough thank you


    so what you need to do 1st is go back to the character creation mode, say you want to swap in a costume in slot 14 (1 piece DLC tops), you 1st go find an existing equipment in your character creation menu that also occupies slot 14 (large vests, check the dropbox site for full lists), and equip that piece. now the character creation menu will remember that your character is wearing something at slot 14, and the 3 custom items will have position defined relative to that. so now you can go to hex editor and swap that slot 14 with the DLC pieces you want.

    ReplyDelete
    Replies
    1. I was going to give you an example but this website no longer works.

      https://dl.dropboxusercontent.com/u/55034895/SCVDRESSUP/Mainframe.html

      I don't know where to find the information on the equipment pieces any more.

      Delete
    2. Ok here's one example. This is how I usually go about swapping equipments. I load up the game, and put a equipment piece on my character, color it, put stickers on it, etc. Then I load it up in hex editor and swap that equipment piece with something else.

      So here's the code for my original piece, #1

      1B 02 00 08 08
      1B 02 00 09 09
      FF 00 00 FF FF

      And I want to swap it with piece #2.

      say maybe something like
      1B 07 00 08 08
      1B 07 00 09 09
      1B 07 00 0A 0A

      I just replace the 3 lines of codes for #1 with the 3 line of code for #2.
      The SCVDRESSUP also includes the information on which body skin parts you need to disable to avoid overlap. Say if you swap a short sleep t-shirt with a long sleeve, you need to hide the forearm skin parts and stuff like that. SCVDRESSUP no longer works though, so I don't know how you will be able to mod any more.

      Delete
  4. This comment has been removed by the author.

    ReplyDelete
  5. This comment has been removed by the author.

    ReplyDelete
  6. Thankfully, there is a SCV save data editor made by Violent Vodka that contains all the equipment info from the SCVDRESSUP Mainframe website.

    ReplyDelete