xboxscene.org forums

Author Topic: Paintball Bullets  (Read 51 times)

kornkob69

  • Archived User
  • Jr. Member
  • *
  • Posts: 54
Paintball Bullets
« on: August 15, 2003, 01:24:00 PM »

try using the blood spat decal, that'd be sweet.... i dunno how the bullet holes are handled, wether it would be a simple decal switch or what :\ ill look into it if i get some time, might turn into my next project *shrug*
Logged

kornkob69

  • Archived User
  • Jr. Member
  • *
  • Posts: 54
Paintball Bullets
« Reply #1 on: August 16, 2003, 07:28:00 AM »

bullet holes are stored for file name "effectsdecalsbullet holes" and blood splat is at "effectsdecalsblood splats" .... if u have the know how it should be an easy swap.... i might have details on this mod later (IE offsets for switching)
Logged

kornkob69

  • Archived User
  • Jr. Member
  • *
  • Posts: 54
Paintball Bullets
« Reply #2 on: August 16, 2003, 10:44:00 AM »

i use the list from http://huge.dyndns.org/halo/ ...... they seem to be down tho so i dunno, good thing i saved the bg list to my hd..... all u should have to do is switch values in the index header as follows:

=== INDEX ITEM 355 ===  (0x233E284)
Tag class 0: 'deca' Decal
Tag class 1: ''
Tag class 2: ''
Unknown1: 3805741411 E2D70163 (11000110100000001110101101000111)
Filename Offset: 37016863 234D51F
Offset: 41756984 27D2938
Raw Offset: 8083D338
Filename: effectsdecalsbullet holesmetal

go to 0x233E284 and look at the raw offset part (38 d3 83 80---- its reverse in the file) and change that to the reverse raw offset of the blood decal (d8 79 80 80)

=== INDEX ITEM 206 ===  (0x233CFE4)
Tag class 0: 'deca' Decal
Tag class 1: ''
Tag class 2: ''
Unknown1: 3795976398 E24200CE (01110011000000000100001001000111)
Filename Offset: 37010913 234BDE1
Offset: 41537496 279CFD8
Raw Offset: 808079D8
Filename: effectsdecalsblood splatsblood splat small
=== END INDEX ITEM 206 ===

if u need more help, jsut leave a message.... index header's look like this:
61 63 65 64 FF FF FF FF FF FF FF FF 63 01 d7 e2 1f 7f 3b 80 38 d3 83 80 00 00 00 00 00 00

that is starting at offset 0x233CFE4.... the first 4 bytes are the first tag (aced, decal backwards) the next 8 bytes are all FFs because it doesnt have the other 2 tags.... the next 4 bytes are unknown, the next 4 are reverse order for the hex offset to the filename string. the next 4 are reverse to raw offset (subtract magic number from it to get real offset) and then the last 8 bytes are zeros..... i hope this helps start u off and i expect to see a paintball blood splat mod soon (can try using plasma bullet holes for blue paint, i dont exactly recall if they burn blue or not, *shrug*) the blood splat should give u a nice red place

edit: made a mistake in my index header explanation
Logged

kornkob69

  • Archived User
  • Jr. Member
  • *
  • Posts: 54
Paintball Bullets
« Reply #3 on: August 16, 2003, 12:25:00 PM »

should be more than enuff needed to get started, if ur still having trouble i could try rigging it up, working on bitmap extraction right now (oh yeay, for joy...) but this might be a good escape
Logged

kornkob69

  • Archived User
  • Jr. Member
  • *
  • Posts: 54
Paintball Bullets
« Reply #4 on: August 16, 2003, 12:50:00 PM »

theres no simple way to go about getting diff colors except for them to be based on what it hits :\ its not really paintball with one color but theres no way to randomly change decals on the fly while halo is playing.
Logged

slidellsimba2

  • Archived User
  • Sr. Member
  • *
  • Posts: 287
Paintball Bullets
« Reply #5 on: August 16, 2003, 05:55:00 PM »

ok, im finished for the night
i tried a few things and nothing worked more than 1 color
anyway, anyone willing to help please do so

i am going the watch that new comedy, Freddy v Jason, so im done
Logged