This first post contain a list of opcodes ive found in cv game so far, ill update it often as i keep experimenting whit it.
After a brief introduction about how to disassemble the room scripts ill start to put examples about how to write and implement the opcodes for actual gameplay.
‐-----------------------------------------------
Kapdap guithub page contain lots of opcodes for cv game, altough is based in ps2 the opcodes major remain as if were DC ones so you can use them too dont forget to thank to Kapdap for such nice work and be so gentle to share it to all of us! https://github.com/kapdap/re-cvx-tools/ ... ripting.md
---------------------------‐---------------------
2000 Derender players
3A00 ????
4000 Look at Target followed by 000000 for input target xyz cordenates.
9500 Play BGM last 2 bits select song, range 00 to 78 hex for both discs.
CB00 Albinoid gas trap setup
CD00 Jump to main menu
CE00 Set 1st person view
CE01 Set 3rd person view
CF00 Set battle mode inventory
A000 Force map screen
6500 diables player input
A100 Reduces health gradually while you are in the room, stops reaching danger status.
A200 renders ligther flame on claire rigth hand
A201 renders ligther flame on claire left forearm
A202 renders ligther flame on claire on head
A300 Attaches room first item to claire feet (ID 0)
A400 Triggers climb up stairs animation
A410 stuck claire visual body to 0,0,0, you can move around whit physical invisible body, permanent.
A401 step sound + claire turn around and walk if the next bits are modified, probably a "GOTO" opcode
A402 same as A401 this continues untill A405
A600 Play BGM last 2 bits select song 00-78
A700 Play BGM last 2 bits select song 00-78
CB01 5 minutes until detonation
CB02 5 minutes until detonation + countdown voice last 10 seconds
0503 Set enemy
0507 Set item
0403 check enemy
0404 check item
0D enemy checker/linker
0E item picked up cheker
081900008900 swap to claire normal
081901008900 swap to claire umbrella
8901 swap to chris
8902 swap to steve
8903 swap to wesker
D300 go to results screen (mg and bg)
2A00nn00 switch to camera number nn
33000000001E
36000000001E fade in/out + RGBA + time
050A1B000000 xx00 give item xx to player trough menu.