Staredit Network

Staredit Network -> Modding Assistance -> AARRRRGGGGGGG
Report, edit, etc...Posted by Lord_Jeremy on 2006-12-18 at 21:59:46
ARG! I'm trying to give Hyperion (that's Raynor's Battlecruiser) a different iscript than all the other Battlecruisers (hero and buildable). So I thought the best course of action would be to add new entry references for a separate Hyperion flingy, sprite, and image. That way, it would have a separate image.dat entry than all the other Battlecruisers and I could give that image.dat entry its own new iscript entry. The iscripting went fine - IceCC compiled the new script (ID 412) without so much as a warning. In the txt decompiles for images.dat, I added the following to the bottom:
CODE
[999:HyperionBC]
File=222
GFX Turns=1
Shadow Turns=1
Unknown 4=1
Floats=1
Palette Type=0
Palette Special=0
Iscript ID=412
Shield Overlay=2
Overlay 2=223
Overlay 3=0
Overlay 4=224
Overlay 5=0
Overlay 6=0

Which is the exact same entry as the regular Battlecruiser except this one has a different iscript ID.

I then added this to the bottom of sprites.dat:
CODE
[517:HyperionBC]
Image=999
HP Bar Length=60
Unknown 3=1
Unknown 4=1
Selection Circle Image=5
Selection Circle Vertical Offset=13

Which is the exact same entry as the regular Battlecruiser except this one has a different Image reference.

I then added this to the bottom of flingy.dat:
CODE
[209:HyperionBC]
Sprite=517
Speed=800
Turning Style=27
Acceleration=7585
Turn Radius=8
Unknown 6=127
Movement Control=0

Which is the exact same entry as the regular Battlecruiser except I changed the Speed from 640 to 800, changed the Turn Radius from 20 to 8, and changed the Sprite reference.

I then changed the Flingy reference in the Hyperion entry in units.dat to the new flingy entry and proceeded to test my mod. Unfortunately, Arsenal ZERO won't even compile the damn things! It just crashes wit no error message. It relies on carefully prepared format files to match the entries in decompiled txt to the dat files, so I don't know how I could get around this. Would anyone be willing to make the changes I noted above to flingy, sprites, and images.dat in DatEdit?

ADDITION:
MORE ARG!!!!!

I'm such an idiot - You can't add entries to the dats... Ah well, ShadowFlare's suggested that I just edit an unused entry. Topic closed (wish I could delete it >.<)
Next Page (1)