Thread Rating:
  • 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-Cdeveloper. Neko engine wip
Steam: Click
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-Cdeveloper. 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-Cdeveloper. Neko engine wip
Steam: Click
Reply



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

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.