Page 28 of 33 FirstFirst ... 18 26 27 28 29 30 ... LastLast
Results 271 to 280 of 322

Thread: HAC 2 Release

  1. #271
    Senior Member Btcc22's Avatar
    Join Date
    Sep 2012
    Posts
    567

    Re: HAC 2 Release

    Quote Originally Posted by t3h m00kz View Post
    can I make hitmarkers yet?
    No.
    Reply With Quote

  2. #272

    Re: HAC 2 Release

    Reply With Quote

  3. #273
    Senior Member Btcc22's Avatar
    Join Date
    Sep 2012
    Posts
    567

    Re: HAC 2 Release

    Actually, I was wrong (ish). I did add a hacky way for you to add hitmarkers but I didn't enable it in the release version. Here's a test build with it enabled; rename it to hac.dll and drop it into your Halo folder. To use it, have your Lua script register for the 'HIT_DETECT' event.

    If you want your hitmarkers to be animated, you'll have to use a spritesheet. Since I haven't documented that function anywhere, here's the signature:

    Code:
    const std::string& name,
     bool loop,
     int rows,
     int columns,
     int fps, // framerate for playback
     int blanks, // number of blank frames at the end of the spritesheet
     int loopBegin // frame # to begin loop playback from
    There's an example of using them in the Halo 4 medal script.

    Code:
    create_animation("blue_flash")
    add_keyframe("blue_flash", 0, 0.85, 4)
    add_keyframe("blue_flash", 0, 1.3, 0)
    add_keyframe("blue_flash", 150, 1.0, 0)
    create_sprite("blue_flash", "images/h4glowsprite.png", "blue_flash")
    sprite_properties("blue_flash", false, 1, 4, 30, 0, 0)
    Reply With Quote

  4. #274

    Re: HAC 2 Release

    !

    Dude you're the best. I'll check this out.
    Reply With Quote

  5. #275

    Re: HAC 2 Release

    I'm not seeing a way to reposition the sprites to the center of the screen. Is this possible?
    Reply With Quote

  6. #276
    Venez voir maman. Tnnaas's Avatar
    Join Date
    Mar 2011
    Location
    US Central
    Posts
    252

    Re: HAC 2 Release

    Also can we change the font on the custom chat?
    Reply With Quote

  7. #277
    Senior Member Rentafence's Avatar
    Join Date
    Jun 2007
    Location
    irc.gamesurge.net #modacity
    Posts
    1,905

    Re: HAC 2 Release

    Can you make this an app in the windows store
    Reply With Quote

  8. #278
    Senior Member Btcc22's Avatar
    Join Date
    Sep 2012
    Posts
    567

    Re: HAC 2 Release

    Quote Originally Posted by t3h m00kz View Post
    I'm not seeing a way to reposition the sprites to the center of the screen. Is this possible?
    You should be able to just set the coords to 0.5, 0.5.

    Quote Originally Posted by Tnnaas View Post
    Also can we change the font on the custom chat?
    In the current version, no. In the next version, whenever it's released, yes.

    Quote Originally Posted by Rentafence View Post
    Can you make this an app in the windows store
    Don't spoil Microsoft's Gamescom reveals.
    Reply With Quote

  9. #279

    Re: HAC 2 Release

    Silly me, I seem to have forgotten how to load packs. Seems the blog has been down for a while.

    E:
    Found a decent resource.

    http://halosources.blogspot.com/2015...ate-guide.html
    Last edited by t3h m00kz; August 4th, 2015 at 03:11 PM.
    Reply With Quote

  10. #280
    El Durado :/
    Join Date
    Oct 2006
    Posts
    2,417

    Re: HAC 2 Release

    Here's a list that I have compiled over the years.
    Code:
    Key shortcuts (will be configurable in the near future):
    
    Bookmark controls:
    
    F4 – Add current server to bookmarks.
    F5 – View bookmarks.
     Alt + bookmark number - Join bookmarked server.
     Delete + bookmark number – Delete a bookmark.
     Ctrl + Alt/Delete + bookmark number – Selects bookmarks in the range 11-20 (example, ctrl + alt + 4 will join bookmark 14).
    
    Field of view controls:
    
    F6 – Change field of view. Move the mouse up/down to control it. Press F6 again when you’re done.
     Left shift + F6 – Reset field of view to the default (70).
    
    HUD colour controls:
    
    F9 – Set the HUD colour.
     Shift + F9 – Reset the HUD colour
    
    Sightjacker controls:
    
    F7 – Enable/disable the sightjacker.
    
    Console Commands:
    
    hac_widescreen 0/1		Turn HAC 2’s HUD scaling fix on/off. The default is on.
    scope_blur 0/1			Toggle between the blur effect when using scopes in scoped weapons.
    play_during_queue 0/1		Allows you to remain in the current game until a free slot is available in the bookmarked server you attempted to join.
    draw distance			Distance is the number of world units to draw. The default is 1024 and HAC uses 4096 for maps that benefit from increased draw distances.
    recalculate “map name”		Recalculates the checksum for the given map. This is aimed at map makers that don’t want to use the cached checksum during development, given that the checksum will change with each compile. Use quotation marks for map names with spaces.
    budget_show 0/1			Displays the current number of BSP polygons being drawn and the remaining default/HAC budget. Once the limit is hit, any polygons that’d push the budger over the limit will appear has gaps in the geometry.
    fov value in degrees		Can be used as an alternative to F6 for setting your field of view.
    hac_flush_cache			Clear the entire checksum cache. There’s no real reason to use this but it’s there anyway.
    copy				Copies the information for the current server to clipboard. This is useful for pasting the connect ip:port password information over Xfire/Steam etc.
    copy bookmark number		Same as above except it copies the information for a bookmarked server instead of the current server.
    devmode 0/1			Toggles devmode on Halo CE.
    custom_chat 0/1			Toggles custom chat.
    font_size			Changes font size for custom chat.
    optic				Display all available medal packs.
    optic load <pack name>		Load a medal pack. For example, optic load halo4.
    optic unload			Stop the medal system. You do not need to use unload to simply load 
    visible_objects <number>	Control the number of objects drawn. Most users will have no need for this command.
    I have no idea why the horizontal scrolling isn't showing up in the post, but in post preview it does. Sorry about that.
    Last edited by supersniper; August 9th, 2015 at 09:47 PM.
    Reply With Quote

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •