Destiny - Hunter Fun Pack

GPC1 script programming for Titan One. Code examples, questions, requests.

Destiny - Hunter Fun Pack

Postby antithesis » Wed Oct 05, 2016 8:51 am

This script is for Destiny's Hunter class. Warlock and Titan scripts have been published separately.

Download the Hunter Fun Pack - http://www.consoletuner.com/gpclib/?s=1281

The Hunter Fun Pack includes -

  • * Weapon Tracking with LED indicators
  • * Rapid-fire, with separate Primary HIP, Primary ADS, Special HIP and Special ADS modes
  • * Anti-recoil, with separate Primary HIP, Primary ADS, Special HIP and Special ADS modes
  • * No-scope, quick-scope, weapon-swap no-scope, weapon-swap quick-scope
  • * Auto-melee no-scope or quick-scope
  • * Auto-sprint that doesn't prevent reloads
  • * Faster turns while sprinting
  • * Steady aim while ADS
  • * Shadestep with cooldown rumble
  • * One-press Wombo Combo
  • * Auto-revive
  • * No Land Beyond reload animation cancel, fast fire-rate and cooldown rumble for last magazine
  • * Suros Regime improved ADS fire-rate, with full-auto HIP
  • * Rapid-reload animation cancel
  • * Jumper layout support
  • * Menu-friendly combos
  • * Lots of persistent toggles with activation rumble

================================================================================
Version 1.9.4
* Changed data type for anti-recoil declarations from define to int to allow for negative X & Y axis values
* Added Y-Axis anti-recoil inversion option. Enable in ANTI-RECOIL declarations
Last edited by antithesis on Thu Mar 23, 2017 2:07 am, edited 10 times in total.
Official Australian retailer for Titan One, Titan Two and XIM APEX at Mod Squad
User avatar
antithesis
Colonel
Colonel
 
Posts: 1912
Joined: Sat May 28, 2016 10:45 pm

Re: Destiny - Hunter Fun Pack

Postby J2Kbr » Wed Oct 05, 2016 10:39 am

:joia: :joia: :joia: Great job!
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm

Re: Destiny - Hunter Fun Pack

Postby antithesis » Thu Oct 06, 2016 12:52 pm

Script updated. Refer to version notes.
Official Australian retailer for Titan One, Titan Two and XIM APEX at Mod Squad
User avatar
antithesis
Colonel
Colonel
 
Posts: 1912
Joined: Sat May 28, 2016 10:45 pm

Re: Destiny - Hunter Fun Pack

Postby eqwoot » Sat Oct 08, 2016 3:05 am

thanks for your effort on your scripts included the titan :) . For the anti-recoil i have a inverted RY axis, how could i go negative value so that my weapon can point down?

Thanks in advance!
User avatar
eqwoot
Sergeant First Class
Sergeant First Class
 
Posts: 21
Joined: Sat Oct 08, 2016 3:03 am

Re: Destiny - Hunter Fun Pack

Postby antithesis » Sat Oct 08, 2016 4:31 am

eqwoot wrote:thanks for your effort on your scripts included the titan :) . For the anti-recoil i have a inverted RY axis, how could i go negative value so that my weapon can point down?

Thanks in advance!


That's a good question, Titan One won't accept negative values. We can handle negative values for left recoil using positive values and apply the negative in the script, but what happens if you invert that axis too? :hmm:

There's zero room to change the anti-recoil script, but it might be something to look at for the Titan Two. In the interim, maybe J2K or The_Rabid_Taco will have a better idea of how to approach inverting the Y-axis for anti-recoil.
Official Australian retailer for Titan One, Titan Two and XIM APEX at Mod Squad
User avatar
antithesis
Colonel
Colonel
 
Posts: 1912
Joined: Sat May 28, 2016 10:45 pm

Re: Destiny - Hunter Fun Pack

Postby eqwoot » Sat Oct 08, 2016 5:32 am

but the game pack do have this option to switch inverted Y-axis. could i simply remap the Y-axis on titan one and change back the setting to normal in destiny?
User avatar
eqwoot
Sergeant First Class
Sergeant First Class
 
Posts: 21
Joined: Sat Oct 08, 2016 3:03 am

Re: Destiny - Hunter Fun Pack

Postby eqwoot » Sat Oct 08, 2016 5:37 am

set_val(PS4_RY, inv(get_val(PS4_RY)
like this?
User avatar
eqwoot
Sergeant First Class
Sergeant First Class
 
Posts: 21
Joined: Sat Oct 08, 2016 3:03 am

Re: Destiny - Hunter Fun Pack

Postby antithesis » Sat Oct 08, 2016 6:01 am

eqwoot wrote:set_val(PS4_RY, inv(get_val(PS4_RY)
like this?


Honestly, I have no idea. That scrap of code alone will blow through the bytecode limit.

You can try editing the script yourself, but you'll need to pull something else to make room.
Official Australian retailer for Titan One, Titan Two and XIM APEX at Mod Squad
User avatar
antithesis
Colonel
Colonel
 
Posts: 1912
Joined: Sat May 28, 2016 10:45 pm

Re: Destiny - Hunter Fun Pack

Postby antithesis » Sun Oct 09, 2016 5:54 am

Auto-sprint disabled PROPERLY for Sparrow...hurray!
Official Australian retailer for Titan One, Titan Two and XIM APEX at Mod Squad
User avatar
antithesis
Colonel
Colonel
 
Posts: 1912
Joined: Sat May 28, 2016 10:45 pm

Re: Destiny - Hunter Fun Pack

Postby antithesis » Sun Oct 09, 2016 4:31 pm

A new and most likely final version of the Hunter Fun Pack for Titan One has been uploaded before I move onto Titan Two.

Note that I've skipped all the way up to v1.9 to reflect parity with the other Fun Pack scripts.

Version 1.9 contains huge improvements to Shotgun auto-melee follow-up, and now allows for Shotgun rushing while auto-sprinting.

After getting my arse handed to me on a platter in Iron Banner due to inconsistent auto-melee and auto-sprint behaviour, I think I've hammered out the bugs and all mods finally feel natural and integrated.
Official Australian retailer for Titan One, Titan Two and XIM APEX at Mod Squad
User avatar
antithesis
Colonel
Colonel
 
Posts: 1912
Joined: Sat May 28, 2016 10:45 pm

Next

Return to GPC1 Script Programming

Who is online

Users browsing this forum: No registered users and 61 guests