Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 22 Guests
Online:

LATEST FORUM THREADS

»
warfare
CoD4 Map + Mod Releases
Voting menu on maps
CoD+UO General
Hauling 911
CoDBO3 General

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty 2
Category: CoD2 Scripting
Scripting and coding with Call of Duty 2.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: shooting script
Hoesjma
General Member
Since: Aug 7, 2007
Posts: 193
Last: Jan 18, 2009
[view latest posts]
Level 4
Category: CoD2 Scripting
Posted: Friday, Aug. 8, 2008 01:27 pm
hey, i have found some script to shoot faster with the Garand:

/bind mouse1 "+attack;wait 2;-attack;wait 2;+attack;wait 2;-attack;wait 2;+attack;wait 2;-attack;wait 2

now that works, but i want this: i want to bind number 1 to shoot the normal way and i want to bind number 2 to shoot faster.

how do i do this?
Share |
techno2sl
General Member
Since: Aug 5, 2004
Posts: 2977
Last: Oct 14, 2010
[view latest posts]
Level 9
Category: CoD2 Scripting
Posted: Friday, Aug. 8, 2008 01:41 pm
/bind mouse2 ??

But then you would have to change your configuration in the call of duty options - as mouse 2 by defualt aims/zooms, maybe make it null first.
Share |
Hoesjma
General Member
Since: Aug 7, 2007
Posts: 193
Last: Jan 18, 2009
[view latest posts]
Level 4
Category: CoD2 Scripting
Posted: Friday, Aug. 8, 2008 01:58 pm
i dunno lol, but when i do this: /bind 1 mouse1 blabla it says unkown cmd mouse1. then i tried something else cant really remember what but when i pushed 1 it started shooting so i had to shoot with 1 :P
Share |
techno2sl
General Member
Since: Aug 5, 2004
Posts: 2977
Last: Oct 14, 2010
[view latest posts]
Level 9
Category: CoD2 Scripting
Posted: Friday, Aug. 8, 2008 02:18 pm
What you need to find is the word that is used to describe the "mouse 1" button within a script, if mouse1 does not work that is. I assume there is a config file stating all the possible commands from the games files.
Share |
Hoesjma
General Member
Since: Aug 7, 2007
Posts: 193
Last: Jan 18, 2009
[view latest posts]
Level 4
Category: CoD2 Scripting
Posted: Friday, Aug. 8, 2008 02:31 pm
i've already got it :D thx to my bro who accidently binded something.

do it like this: /bind 1 bind mouse1 "+attack;wait 2;-attack;wait 2;+attack;wait 2;-attack;wait 2;+attack;wait 2;-attack;wait 2

/bind 2 bind mouse1 +attack

and thats it
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 Scripting

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»