• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help Is there any way to force a player to shoot?
#1
magic bullet doesnt seem realistic, and making it look realistic takes too much time, is there a command that shoots a bullet from the current weapon of a player?
  Reply
#2
It is bind command ( +fire ), i don't know if we can use binds in gscs.

You can try to attach muzzleflash fx to tag_flash. I did it for my turret in RotU MW2 mod, looks realistic.
This fx:
level.fx_sentryTurretFlash = loadfx( "muzzleflashes/m16_flash_wv" );

// playing
playFxOnTag( level.fx_sentryTurretFlash, self, "tag_flash");
playFxOnTag( getFx( "sentry_overheat_mp" ), self, "tag_flash" );

// sentry_overheat fx makes shoot more realistic
C++/Obj-C developer. Neko engine wip
Steam: Click
[-] The following 2 users say Thank You to Nekochan for this post:
  • Arteq, pedjas
  Reply
#3
Similar question - force aim? I mean RMouseButton. Probably impossible since you really need binds for it?
[Image: r212360a129ce9b84444093b6cd2699013a1fbn155.png]
  Reply
#4
(01-12-2013, 15:16)G-Man Wrote: Similar question - force aim? I mean RMouseButton. Probably impossible since you really need binds for it?

So stupid post.
Maybe he is doing realistic bots.

2013th post lol
C++/Obj-C developer. Neko engine wip
Steam: Click
  Reply
#5
Um, what? Congrats on 2013th post but what are you talking about? Realistic bots? So is it possible to force aim (zoom in?) on some event?
[Image: r212360a129ce9b84444093b6cd2699013a1fbn155.png]
  Reply
#6
No I'm not trying to make bots, they can already shoot by using
Code:
setDvar("testClients_doAttack", 1 );
I tried using your code SailorMoon, but now i shoot like a billion rounds per second Big Grin, I can also shoot when I'm realoding so it's way too complicated to edit it, too many possible cases. I wanted only like +attack on client or something
  Reply
#7
(01-13-2013, 11:10)pedjas Wrote: No I'm not trying to make bots, they can already shoot by using
Code:
setDvar("testClients_doAttack", 1 );
I tried using your code SailorMoon, but now i shoot like a billion rounds per second Big Grin, I can also shoot when I'm realoding so it's way too complicated to edit it, too many possible cases. I wanted only like +attack on client or something

Eh, then it's not possible Sad
We can do it, if we will have .menu files like 3d1
C++/Obj-C developer. Neko engine wip
Steam: Click
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Help Sentry Gun kill = Player kill Snake 8 2,197 11-07-2013, 13:41
Last Post: Nekochan
  Player can write Fl0w_.JACKDAN 2 1,068 09-19-2013, 16:36
Last Post: Fl0w_.JACKDAN
  Help Make ac130 shoot custom bullets Ra3shed 0 993 07-23-2013, 13:02
Last Post: Ra3shed
  [CoD 4] Trying to set a player -- DidUknowiPwn 7 1,830 07-03-2013, 21:58
Last Post: Pozzuh
  [Release] Black Ops Single Player/Zombie Trainer V3.6 Craig87 52 38,792 07-01-2013, 15:12
Last Post: explosivebanana55
Video Preview AIZombies eXtreme 2.0 / Zombie Player (Music Player) DidUknowiPwn 4 2,427 06-24-2013, 16:37
Last Post: DidUknowiPwn
  "VEH_LinkCommonChecks: Player already has an owner" - After long games akillj 4 1,257 06-07-2013, 11:38
Last Post: akillj
  Question on how to "Spawn" a flying rocket as a player? akillj 8 2,087 06-04-2013, 01:54
Last Post: rotceh_dnih
  Using Cheat Engine with Zombies Single Player kikkawa 3 5,378 06-03-2013, 01:18
Last Post: kikkawa
  [Request] Random player model hillbilly 1 1,065 05-12-2013, 08:30
Last Post: archit

Forum Jump:


Users browsing this thread: 1 Guest(s)