Author Topic: hdragsil.cre dislikes being overwritten...  (Read 2420 times)

Offline Nythrun

  • Planewalker
  • *****
  • Posts: 89
  • Gender: Female
hdragsil.cre dislikes being overwritten...
« on: November 12, 2007, 01:27:16 PM »
...especially with a .cre file that has the effects offset pointing to zero.
Code: [Select]
COPY_EXISTING ~hdragsil.cre~ ~override~
  PATCH_IF (SOURCE_SIZE > 0x02d3) THEN BEGIN
    WRITE_SHORT  0x0028 0x1202
    WRITE_SHORT  0x002c 0x00 // Why?
    FOR ("i1" = 0x6e; "i1" < 0x76; "i1" += 0x01) BEGIN
      WRITE_BYTE "i1" 0x00   // Why?
    END
    WRITE_BYTE   0x0083 0x64 // Why?
    WRITE_BYTE   0x0237 0x02 // Why?
    WRITE_ASCII  0x0248 ~shoutdlg~
    WRITE_ASCII  0x0250 ~draghell~
    WRITE_BYTE   0x0271 0xff
    WRITE_BYTE   0x0273 0xc0
    WRITE_BYTE   0x0275 0x02
    WRITE_BYTE   0x027b 0x12
    ADD_CRE_ITEM ~scrl9r~ #1  #0 #0 IDENTIFIED QITEM2
    ADD_CRE_ITEM ~scrl9v~ #1  #0 #0 IDENTIFIED INV1
    ADD_CRE_ITEM ~scrl8m~ #1  #0 #0 IDENTIFIED INV2
    ADD_CRE_ITEM ~bolt03~ #20 #0 #0 IDENTIFIED INV3
    ADD_CRE_ITEM ~arow07~ #8  #0 #0 IDENTIFIED INV4
  END
BUT_ONLY

Offline SimDing0™

  • Back In Black
  • Global Moderator
  • Planewalker
  • *****
  • Posts: 3496
  • Gender: Male
  • Word Enhancer
Re: hdragsil.cre dislikes being overwritten...
« Reply #1 on: November 12, 2007, 01:40:18 PM »
God, is that code mine? What the fuck am I doing?

Offline Nythrun

  • Planewalker
  • *****
  • Posts: 89
  • Gender: Female
Re: hdragsil.cre dislikes being overwritten...
« Reply #2 on: November 12, 2007, 01:58:14 PM »
No, you're just overwriting (I'm guessing that was in the original author's work).

The above is designed to accomplish the same except without trashing the file when SCSII or something comes along; I left in the pointless parts just in case you're using the tracking stat. As...um...ghetto detectable effects?

I think someone coded a fixpack-compatible version of the hell trials scripting, too.

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?: