IMG

 
IMG
IMG   IMG
  Welcome to GTAForums! Be sure to check out the Grand Theft Auto V Forum.

You are not registered! (If you are, click here to login) Registering is fast, free and easy and allows you to instantly reply to any topic on GTAForums.
Why wait? Click here to register your own unique username and become part of the ever-growing community!


( Log In | Register | Revalidate Validation E-mail )
Quick Log-In:
  IMG
       
>
Forum Rules GTA Modification Forums

Please post mod releases in the Mod Showroom

GTAGarage.com
free mod hosting from GTANet, simply login with your GTAForums account details

GTAModding.com
GTANet's modding wiki

GTA Modding Chatroom
provided by irc.gtanet.com (Don't have an IRC client? Click here)


  Reply to this topicStart new topicStart Poll

 [SA] Burst fire

 
oksa8  
Posted: Thursday, Sep 13 2012, 21:04
Quote Post


Just call me Oksu
Group Icon
Group: Members
Joined: Sep 30, 2010

sf.gif

Member Award




Is there a way to force player to shoot second round after shooting first one? Most of you know three-round burst or two-round burst, from either CoD or BF or some other game, would it be possible for SA? One click and three shots.

EDIT: Also, how I can check if player is aiming? A way which doesn't just check if aim-key is pressed, something that is as accurate as possible.

This post has been edited by oksa8 on Friday, Sep 14 2012, 15:55
Users WebsitePM
  Top
 

 
oksa8  
Posted: Friday, Sep 21 2012, 15:42
Quote Post


Just call me Oksu
Group Icon
Group: Members
Joined: Sep 30, 2010

sf.gif

Member Award




Blah let's give this a nice little bumpy-bump. smile.gif
Users WebsitePM
  Top
 

 
arijitsen  
Posted: Friday, Sep 21 2012, 15:53
Quote Post


Modder,Gamer & GFX Artist
Group Icon
Group: Members
Joined: Jun 19, 2012

ia.gif

XXXXX



QUOTE

Is there a way to force player to shoot second round after shooting first one? Most of you know three-round burst or two-round burst, from either CoD or BF or some other game, would it be possible for SA? One click and three shots

I think it may be possible but it would need some memory coding I think..
& I ain't good at memory coding..
Users WebsitePM
  Top
 

 
Michael-Knight1  
Posted: Friday, Sep 21 2012, 15:58
Quote Post


Never Give UP
Group Icon
Group: Members
Joined: Jul 8, 2012

gr.gif

XXXXX



QUOTE (arijitsen @ Friday, Sep 21 2012, 15:53)
QUOTE

Is there a way to force player to shoot second round after shooting first one? Most of you know three-round burst or two-round burst, from either CoD or BF or some other game, would it be possible for SA? One click and three shots

I think it may be possible but it would need some memory coding I think..
& I ain't good at memory coding..

wow yawn.gif , it's very helpful lol.gif

I am not sure icon14.gif

http://www.gtaforums.com/index.php?showtop...st&p=1059761036

Or i thinks so that will help icon14.gif

http://www.gtaforums.com/index.php?showtop...st&p=1057687159

This post has been edited by Michael-Knight1 on Friday, Sep 21 2012, 16:03
Users WebsitePM
  Top
 

 
SilentPL  
Posted: Friday, Sep 21 2012, 15:58
Quote Post


Senior File Manager
Group Icon
Group: Members
Joined: Feb 1, 2010

pl.gif

Member Award




QUOTE (oksa8 @ Thursday, Sep 13 2012, 23:04)
Is there a way to force player to shoot second round after shooting first one? Most of you know three-round burst or two-round burst, from either CoD or BF or some other game, would it be possible for SA? One click and three shots.

Possibly the easiest way is to take control over player's CPad and 'hold the key' until all the bullets are fired.

@up
Obviously, your link is not going to help.
Users WebsitePMMSNXbox Live
  Top
 

 
arijitsen  
Posted: Friday, Sep 21 2012, 16:04
Quote Post


Modder,Gamer & GFX Artist
Group Icon
Group: Members
Joined: Jun 19, 2012

ia.gif

XXXXX



Right Silent..Pretty right...
Users WebsitePM
  Top
 

 
oksa8  
Posted: Friday, Sep 21 2012, 16:42
Quote Post


Just call me Oksu
Group Icon
Group: Members
Joined: Sep 30, 2010

sf.gif

Member Award




@arijitsen
I love your constructive posts. inlove.gif

@Michael-Knight1
Hmm, as SilentPL said, I think won't help, thanks anyway. smile.gif

@SilentPL
Oh. Just did a little research and found... Pretty much nothing. I guess I can bury that idea... At least for now. smile.gif

But, how about checking if player is aiming? I think relying on animation-based checking isn't reliable as some users might use custom-animations with custom names, assigned for different weapons.
Users WebsitePM
  Top
 

 
SilentPL  
Posted: Friday, Sep 21 2012, 17:05
Quote Post


Senior File Manager
Group Icon
Group: Members
Joined: Feb 1, 2010

pl.gif

Member Award




I'd go for a keypress check again. Cheap way though.
Users WebsitePMMSNXbox Live
  Top
 

 
oksa8  
Posted: Friday, Sep 21 2012, 18:43
Quote Post


Just call me Oksu
Group Icon
Group: Members
Joined: Sep 30, 2010

sf.gif

Member Award




Yeah I noticed that too. I did few checks so I can check if player is aiming, but it still returns true whenever animation changes, is there any function in memory which draws the crosshair and then check if it's called?

And, I'm still wondering how I may fix the problem with all TC's, fastman92 posted something but not sure how to use it..,
Users WebsitePM
  Top
 

 
SilentPL  
Posted: Friday, Sep 21 2012, 18:58
Quote Post


Senior File Manager
Group Icon
Group: Members
Joined: Feb 1, 2010

pl.gif

Member Award




QUOTE (oksa8 @ Friday, Sep 21 2012, 20:43)
And, I'm still wondering how I may fix the problem with all TC's, fastman92 posted something but not sure how to use it..,

Impossible in CLEO. Either direct EXE edit or an ASI plugin.
Users WebsitePMMSNXbox Live
  Top
 

 
oksa8  
Posted: Saturday, Sep 22 2012, 13:38
Quote Post


Just call me Oksu
Group Icon
Group: Members
Joined: Sep 30, 2010

sf.gif

Member Award




Oh snap.

Well, how about this: Can I re-draw some HUD-elements by CLEO-functions after disabling HUD with opcode 0826? And, can I somehow check if another script is using 0826 to disable HUD?
Users WebsitePM
  Top
 

 
Link2012  
Posted: Saturday, Sep 22 2012, 14:58
Quote Post


Wut?
Group Icon
Group: Members
Joined: Jan 30, 2011

ba.gif

XXXXX



CODE
0A8D: 0@ = read_memory 0xA444A0 size 1 vp 0
// 0@ = IsHUDEnabled?


Also, if you're trying to remove the game hud to put your hud, it's cool to really disable the original HUD and then do it's work, I mean, your HUD can check if the HUD is disabled etc.

CODE
// Disable The Health\Armour\etc panel
0A8C: write_memory 0x58FBD6 size 1 val 0x90 vp 1
0A8C: write_memory 0x58FBD7 size 4 val 0x90909090 vp 1

// Disable Wanted Stars Drawing
0A8C: write_memory 0x58FBDB size 1 val 0x90 vp 1
0A8C: write_memory 0x58FBDC size 4 val 0x90909090 vp 1



If you also want to gain control over the radar and the stats displayer:
CODE

[BYTE] 0xBAA3FB  = bShowRadar // If any script disabled the radar drawing, this will be false
[BYTE] 0xBAB1DE = bShowingPlayerStats // Use to determin if you should draw the radar or the stats

CODE
// Disable Radar Drawing
0A8C: write_memory 0x58FC53 size 1 val 0x90 vp 0
0A8C: write_memory 0x58FC54 size 4 val 0x90909090 vp 0
// Disable Player Stats Drawing - I guess you don't want to draw your own stats displayer, yeah? Then you shouldn't NOP this
0A8C: write_memory 0x58FC45 size 1 val 0x90 vp 0
0A8C: write_memory 0x58FC46 size 4 val 0x90909090 vp 0



This post has been edited by Link2012 on Saturday, Sep 22 2012, 15:03
PMMSN
  Top
 

 
Michael-Knight1  
Posted: Saturday, Sep 22 2012, 15:10
Quote Post


Never Give UP
Group Icon
Group: Members
Joined: Jul 8, 2012

gr.gif

XXXXX



@Link2012 , This Address Will Disable The Hud Forever cry.gif without return it if use 0826 ??
Also When The Player Dead the hud will enable and when player get out from hospital he will disable ...
Users WebsitePM
  Top
 

 
oksa8  
Posted: Saturday, Sep 22 2012, 15:16
Quote Post


Just call me Oksu
Group Icon
Group: Members
Joined: Sep 30, 2010

sf.gif

Member Award




@Link2012

Thanks, I especially needed something to keep wanted stars as I thought it would be easier to just use original starts than trying to emulate them, otherwise all worked well but didn't get them to flash, so...

Though there's one little problem. How I can display weapon icons?
Users WebsitePM
  Top
 

 
Michael-Knight1  
Posted: Saturday, Sep 22 2012, 15:22
Quote Post


Never Give UP
Group Icon
Group: Members
Joined: Jul 8, 2012

gr.gif

XXXXX



QUOTE (oksa8 @ Saturday, Sep 22 2012, 15:16)
@Link2012

Thanks, I especially needed something to keep wanted stars as I thought it would be easier to just use original starts than trying to emulate them, otherwise all worked well but didn't get them to flash, so...

Though there's one little problem. How I can display weapon icons?

he give them for you bored.gif
CODE


// Disable The Health\Armour\etc panel
0A8C: write_memory 0x58FBD6 size 1 val 0x90 vp 1
0A8C: write_memory 0x58FBD7 size 4 val 0x90909090 vp 1
Users WebsitePM
  Top
 

 

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)

0 Members:

Topic Options Reply to this topicStart new topicStart Poll
Search topic for posted by (exact match)



 
IMG IMG