Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. Red Dead Redemption 2

      1. PC
      2. Gameplay
      3. Missions
      4. Help & Support
    2. Red Dead Online

      1. Gameplay
      2. Find Lobbies & Outlaws
      3. Help & Support
      4. Frontier Pursuits
    1. Crews & Posses

      1. Recruitment
    2. Events

    1. GTA Online

      1. DLC
      2. Find Lobbies & Players
      3. Guides & Strategies
      4. Vehicles
      5. Content Creator
      6. Help & Support
      7. The Diamond Casino Heist
    2. Grand Theft Auto Series

    3. GTA 6

    4. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    5. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA IV Mods
    6. GTA Chinatown Wars

    7. GTA Vice City Stories

    8. GTA Liberty City Stories

    9. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA SA Mods
    10. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA VC Mods
    11. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA III Mods
    12. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    13. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. News

    2. Forum Support

    3. Site Suggestions

Sign in to follow this  
MrKlorox

[Q]Stun Punch re-enable?

Recommended Posts

buzbegone

I got the stun punch working but the problem with it is that you cant stun people with a green reticule but people with a grey reticule such as police you can punch

Executions, did you ever try this and it has worked for you successfully Leo? I can't seem to get it to work but maybe I'm targeting the wrong people

 

Which people can be Stun-Punched and which can be Executed (If execution actually works)

Share this post


Link to post
Share on other sites
Leopard_
Which people can be Stun-Punched and which can be Executed (If execution actually works)

People who can _NOT_ be stun punched:

 

- Busy (taking out cash at ATM, standing behind desk... you get the point)

- Police

- And some other

 

People who always can be punched is like, all normal wandering people who stand or walk.

 

Which can be executed? I don't know. Whenever i tried with it, the ped ran away, so i can't really test it. But the code shall make enable the execution.

 

Leopard

Share this post


Link to post
Share on other sites
buzbegone

I finally understand what the keys were for. I though they were an "Enable once" deal but you have to press Y or U to activate it next to the person you want to execute or stun-punch for it to actually work.

 

The execution, you're right. People either run away or retaliate by pulling out a gun and firing at you.

Improvements can be made with the execution but good job with the stun punch (Do you actually stun them or do you kill them with one punch?)

Share this post


Link to post
Share on other sites
Leopard_
Improvements can be made with the execution but good job with the stun punch (Do you actually stun them or do you kill them with one punch?)

Thanks. I set the health to 99, so i guess that they gets stunned.

 

Leopard

Share this post


Link to post
Share on other sites
Nikkola bellic,Belgrade,Serbia
Improvements can be made with the execution but good job with the stun punch (Do you actually stun them or do you kill them with one punch?)

Thanks. I set the health to 99, so i guess that they gets stunned.

 

Leopard

Epic man it always bothered me that some things you can only do in missions!Kudos!

but I don't get do executions work or not!

 

Here is just a suggestion. Ignore it but just in case you want idea! smile.gif

Maybe make possible to add option to climb on truck and pull the driver like in that mission!

 

Anyway great work.I will download probably later!

Share this post


Link to post
Share on other sites
Pandemic

Mh.. the "Stun Punch" work perfectly, but these Execution Scene dont Worked.

Anyway can you please change the " Y " Button for Stun Punch in any other Button?

 

Share this post


Link to post
Share on other sites
MrKlorox

I cannot get this to work. The instructions are not clear at all. Do I have to be targeting someone when I hit Y? If so can I use my controller's trigger to target; or do I have to use the mouse button?

 

Requiring a keyboard press ruins this mod for people like myself who play with a controller. The stunpunch.asi was much closer to what this mod should be than the current form.

 

Also including executions in the same mod defeats the purpose of having a universal, single-purpose file one can just drop into their plugins folder without worries of conflicts. I had to disable .NET Scripthook to keep the game from crashing at startup, presumably because of the keybinds. Stunpunch.asi did not cause this issue.

 

EDIT: struck out wrong info, emboldened edits.

 

Edit2: Nevermind about the crash, .net scripthook was messed up.

Edited by MrKlorox

Share this post


Link to post
Share on other sites
Leopard_

Yeah sorry, myself i also thought this mod was crap. But that's me - i have always been lazy. I just want it finished. But i'm thinking of an .ini configuration file so that people can do whatever key they want. And the key should not make the closest person get ready to be stunned - it should automatically make it (one-key-press). Sorry again.

 

Also i will include a readme.txt.

 

Leopard

Share this post


Link to post
Share on other sites
MrKlorox

No worries. If you want to post what code you have (decompiled) somebody might be able take it and come up with something; in case you're sick of working on it.

 

Regardless, the stun punch shouldn't require any extra keys from what you have to use in the mission. That way it would work with a controller.

Share this post


Link to post
Share on other sites
FatAssCartman

if you don't have any extra keys (on/off) niko can do a stun punch when you don't want to

 

 

Share this post


Link to post
Share on other sites
MrKlorox

Not really. It took a specific scenario to get it to work in the single stunpunch.asi in the first place (target cannot have seen you do anything malicious, cannot be damaged at all, cannot be in an animation, you have to use the targeting, etc).

 

If you want to initiate a fight and are worried you might accidentally stun, just shove the guy first then enter the melee mode.

Share this post


Link to post
Share on other sites
Rawmeat
Started working but after my first punch which went unsuccessful, it ceased altogether

same here sad.gif

Share this post


Link to post
Share on other sites
Leopard_

OK, because of being banned i haven't really been able to work on this thing - so i'll just release this. Better now than never, i suppose?

 

StunExecution2.rar

 

README:

 

 

 

===============================

version 2

© Leopard

And what's that supposed to mean?! Don't copy!

===============================

 

Stun "sucker" punch & execution re-enable version 2

 

== WHAT HAS CHANGED? ==

Toggable keys for automatic stun punch/execution. INI file.

Script-stopped-working shall be fixed.

 

== INSTALL ==

1) Unpack StunExecution2.rar.

2) Put both files in GTA IV's root folder.

3) Open the ini.

You will see a total of three lines.

The first line: DO NOT CHANGE!

The second lines means the key for execution. Read section "Key configure".

The third line... read above!

 

== KEY CONFIGURE ==

To configure keys, you need to put a special key hexadecimal value.

keycodes.txt

Open the link above, find the key you want (i'm pretty sure you can tell what key is A, B etc)

Take the hexadecimal value from the right to the ini file. DO NOT change any =,text before =, or any text between []. Basically: Don't change anything except hexadecimal values!

 

Reload the game if you have setted new keys to reapply them.

 

 

== CREDITS ==

Not much of credits? Well... thanks for me that coded. Thanks for all the guys here for giving me an challenge icon14.gif

 

 

== THE END ==

 

 

 

Leopard

Edited by Leopard_

Share this post


Link to post
Share on other sites
buzbegone

Good job Leo, will test it soon

Share this post


Link to post
Share on other sites
Dontbotherme

What are the default keys? keycodes.txt dosnt work!

Share this post


Link to post
Share on other sites
Leopard_
What are the default keys? keycodes.txt dosnt work!

Default keys? U/Y.

 

Leopard

Share this post


Link to post
Share on other sites
Free_Runner

dude...how does the execution work?

 

I can get a crosshair on the madafaka...but i cant properly execute him...

 

the stun punch is awesome..although sometimes i just punch the bastard and he doesn't do a thing...the crosshair changes to a red dot but he just walks away like nothing happened...but it works like 50% of the time

 

Great work icon14.gif

Share this post


Link to post
Share on other sites
Leopard_
dude...how does the execution work?

 

I can get a crosshair on the madafaka...but i cant properly execute him...

 

the stun punch is awesome..although sometimes i just punch the bastard and he doesn't do a thing...the crosshair changes to a red dot but he just walks away like nothing happened...but it works like 50% of the time

 

Great work icon14.gif

Really, did you get it to work? mercie_blink.gif It never works for me. But i decide that let it in anyways. But what exactly happened?

 

Oh and the stun punch: I think the cause of it maybe is because 1) you have many ASI mods or 2) my ASI mod is somewhat bad

 

Leopard

Share this post


Link to post
Share on other sites
Free_Runner

Nah..your ASI mod is great...i do get the stun punch like 50% of the time..it's awesome

 

About the execution...I can get a crosshair change for execution...but when i try to execute...i simply shoot the fu****...probably because it doesn't work yet...like you said..but the stun punch is great ^^

 

i just wish you can get it to work 100% of the time.. biggrin.gif

Share this post


Link to post
Share on other sites
grimyghost

BUMP... how do we execute??

Share this post


Link to post
Share on other sites
chiefwhosm

 

About the execution...I can get a crosshair change for execution...but when i try to execute...i simply shoot the fu****...probably because it doesn't work yet...like you said..but the stun punch is great ^^

 

Try it with just bare fists - totally crazy colgate.gif

Share this post


Link to post
Share on other sites
eliwodkung

Link to open keycodes.txt is dead?

I can't open it.

Share this post


Link to post
Share on other sites
buzbegone

He didn't include keycodes.txt for some reason

Share this post


Link to post
Share on other sites
Leopard_

It's keycode.txt.

 

Leopard

Share this post


Link to post
Share on other sites
lilmcnessy

do you have to change the keys, and they are y and u right, doesnt seem to work, do i hold it down, tap it or what?

had no instructions on how to play with it or how to change hexadecimal codes

Share this post


Link to post
Share on other sites
Leopard_

 

do you have to change the keys, and they are y and u right, doesnt seem to work, do i hold it down, tap it or what?

had no instructions on how to play with it or how to change hexadecimal codes

In the file there is 3 lines;

 

[Keys]

StunExecution=0x25 (or some other hexadecimal thing here)

StunPunch=0x29

 

the 0xXX is hexadecimal. Those defines the keys used to trigger the punch/execution. Default is Y (for execution) and U (for stun punch).

You look in the list of keys. When you spot a key (let's say you want pageup, and you find VK_PAGEUP) then take it's hexadecimal value (to the right of VK_PAGEUP). Copy it, then go to the StunExecution.ini. If you want execution key to be changed, remove the hexadecimal value StunExecution have. And paste in your hexadecimal.

In the end, it should look like this

 

[Keys]

StunExecution=your hexadecimal value from keycodes.txt here

StunPunch=maybe another hexadecimal value here?

 

 

You need to restart game to apply new keys.

And you only need to press them.

 

Leopard

Share this post


Link to post
Share on other sites
lilmcnessy
do you have to change the keys, and they are y and u right, doesnt seem to work, do i hold it down, tap it or what?

had no instructions on how to play with it or how to change hexadecimal codes

In the file there is 3 lines;

 

[Keys]

StunExecution=0x25 (or some other hexadecimal thing here)

StunPunch=0x29

 

the 0xXX is hexadecimal. Those defines the keys used to trigger the punch/execution. Default is Y (for execution) and U (for stun punch).

You look in the list of keys. When you spot a key (let's say you want pageup, and you find VK_PAGEUP) then take it's hexadecimal value (to the right of VK_PAGEUP). Copy it, then go to the StunExecution.ini. If you want execution key to be changed, remove the hexadecimal value StunExecution have. And paste in your hexadecimal.

In the end, it should look like this

 

[Keys]

StunExecution=your hexadecimal value from keycodes.txt here

StunPunch=maybe another hexadecimal value here?

 

 

You need to restart game to apply new keys.

And you only need to press them.

 

Leopard

IT just doesnt seem to work, how do i press the buttons in game? to make a targfet, hold it down, tap it etc?

Share this post


Link to post
Share on other sites
Leopard_

If you want auto-stun: Press the stun key one and it will say "Auto-stun enabled". Now, close to anyone and aim. An rectangle will show. Then press fire key and you will stunpunch him.

 

Leopard

Share this post


Link to post
Share on other sites
olddawid

nvm

Edited by olddawid

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • 2 Users Currently Viewing
    0 members, 0 Anonymous, 2 Guests

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.