November 23, 2024, 01:56:57 AM

Author Topic: Having text appear after a tackle  (Read 14566 times)

blitzmaster5000

  • Full Member
  • ***
  • Posts: 150
    • View Profile
Having text appear after a tackle
« on: February 14, 2016, 12:11:30 PM »
I am going to try and make a hack where text appears after the ball handler is tackled. Depending on the tackle, it will display certain text in the same way that first downs, touchdowns, etc are shown. Do you know where the function is to write that text? Also, do you have a table file with the hex representation of ascii characters? I see that the Texans correctly display "Texans win" after they win a game, so it would be essentially the same modification, only to trigger after tackles.

blitzmaster5000

  • Full Member
  • ***
  • Posts: 150
    • View Profile
Re: Having text appear after a tackle
« Reply #1 on: February 14, 2016, 05:43:06 PM »
Jake - do you know if the fancy text for first down, interception, touchdown, "XX wins the game!" (xx = team name) is an image or just text? I have found a bunch of other editable text, but can't find these. If they are just text w/ fancy formatting/font, I could easily modify this for what I'm trying to do (I think). If they're images, that's a whole other story.

jaker3

  • Administrator
  • Sr. Member
  • *****
  • Posts: 334
    • View Profile
Re: Having text appear after a tackle
« Reply #2 on: February 14, 2016, 10:26:21 PM »
As far as I know all the fancy cool text are graphics.
Here is the majority of the graphics extracted if your curious: http://www.mediafire.com/download/kld3wpb2bzm13aq/extract.zip

The file table is the last thing in the game and can be expanded, if you could find the function that displays the imaged text on the screen I'm sure you could call it with new text image locations (can use the graphics tool to insert them).


blitzmaster5000

  • Full Member
  • ***
  • Posts: 150
    • View Profile
Re: Having text appear after a tackle
« Reply #3 on: February 16, 2016, 10:50:08 AM »
I wasn't sure if it was or not, mainly because I saw that when the Texans win, it shows "Texans win the game" in fancy font that looked identical to the original. Did you or Zoinkity make that font in photoshop and then import it into the game?

jaker3

  • Administrator
  • Sr. Member
  • *****
  • Posts: 334
    • View Profile
Re: Having text appear after a tackle
« Reply #4 on: February 16, 2016, 10:55:17 AM »
I wasn't sure if it was or not, mainly because I saw that when the Texans win, it shows "Texans win the game" in fancy font that looked identical to the original. Did you or Zoinkity make that font in photoshop and then import it into the game?

Guessing he made the graphic in photoshop.

These are the team graphic files as explained by zoinkity:
Quote
Mandatory:
202 x 102   helmet for matchup screen   [city][team]lf
128 x  85   team logo; uses seperate alpha image   l_[team]
var x  38   name for when team wins; uses alpha img   win_[team]
var x var   team name on matchup screen w/ alpha   ti_[team]
256 x  32   city/state name on matchup screen   ti_[city]
 32 x 120   upper half of endzone   [city]_ez1
 32 x 120   lower half of endzone   [city]_ez2
 16 x  16   fill color for endzone   [city]_ez3
 32 x  32   player helmet sides   hel_[num]b
 32 x   8   player helmet stripe front   hel_[num]c
 32 x   8   player helmet stripe back   hel_[num]d
 32 x  32   player helmet facemask in color   msk_[02num]
 40 x  40   jersey, both home and away   jer_[02num]
 32 x  32   pants, both home and away   pnt_[02num]
 32 x  16   shoulder, both home and away   shl_[num][a:away, h:home]
  8 x   2   socks, both home and away   sock_[02num]
  8 x   2   pant stripe, both home and away   strp_[02num]
128 x  16   uniform numerals, home and away   2num_[num][a:away, h:home]

If you look at those extracted files win_[team] shows the team name, so I'm guessing it displays the team name graphic along side another graphic that says "wins the game". The function that displays/draws these graphics I'd imagine is pretty simple since the x/y coordinates are in the header of the graphic file.
« Last Edit: February 16, 2016, 10:58:08 AM by jaker3 »