MODSonline
  Welcome Guest to MODSonline Home | Forums | Register | Login
Main-Menu
Home
Login
Register
Add Download
Add News
Add Tutorial *
Forums

Advertise
Affiliate Store US *
Affiliate Store UK *
Affiliate Store CA *
Angry Letter Generator
Avatar Upload
Calendar of Games
Contact
Downloads
FAQs
Forums
Member List
Member Projects
News
News Grabber *
Policy
Polls
Private Messages
Reviews
Screenshot Gallery
Search
Servers - Game
Store - Shirts *
Subscribe
Topics
Tutorials
Weblinks
Wiki *
Tutorials
CoD Mapping
CoDUO Mapping
CoD2 Mapping
CoD4 Mapping
CoDWW Mapping
CoD FAQs
HL2 Mapping
HL2 FAQs
SOF1 Mapping
Crysis Mapping
Q4 Mapping
Doom 3 Mapping
Doom 3 FAQs
UT2K3 Mapping
SOF2 Mapping
SOF2 FAQs

Lightray Modeling
General Modeling
General Modding
Adobe Photoshop
Common Mapping Errors

Readme.txt Generator
Members-Online
huncrazy [Tutor]
techno2sl [Forum]
Allan90 [Forum]
SparkyMcSp... [Forum]
4mori_rabbit [Messa]
{UST}Hogan [Forum]
GrymmWolf [Today]

7 Members and 9 Guests
Chat MODSonline
0 People Now Chatting
MODSOnline TeamSpeak

download TeamSpeak

In-The-News
Monday, Dec. 1st
A message from foyleman
Sunday, Nov. 30th
MODSonair 156 Live
Friday, Nov. 28th
MODSonair Episode 155
Wednesday, Nov. 26th
MODSonair Forum Buttons
Monday, Nov. 24th
Holiday Gift Guide 2008 - PC
Latest Poll
Single or Multiplayer maps for World at War?
Single-Player 30.12%
Multiplayer 61.45%
WHAT!? The tools are out? 8.43%
Read More...
10 comments

Newsletter
Name:
Email:
Newsletter Archives
Your Membership
User Name:
Password:
Register.
In The Forums
Sharks!!!!!!!!!
CoD:WW Level Des.. Posts: (7) Views: (155) by {UST}Hogan
copying or moving terrain meshes makes them di...
CoD:WW Level Des.. Posts: (8) Views: (73) by 4mori_rabbit
FX help
CoD:WW Scripting.. Posts: (12) Views: (169) by 4mori_rabbit
A message from foyleman
In The News.. Posts: (26) Views: (154) by SparkyMcSparks
Google 468 Banner Quake 4 Mods for Dummies
CoDWW Download
Forums
MODSonline.com 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 4
Category: CoD 4 Scripting
Scripting and coding with Call of Duty 4.
Moderators: foyleman, rEdrUmMDK, Foxhound, Rasta, StrYdeR, The_Caretaker, batistablr, playername, Welshy
Latest Posts
Subscribed Posts
Search
Restricted Access Restricted Access
Page
Next Page
subscribe
Author Topic: weapons mod
mattneed
General Member
Since: Feb 19, 2008
Posts: 50
Last: Sep 18, 2008
[view latest posts]
Level 2
Category: CoD 4 Scripting
Posted: Saturday, Sep. 6, 2008 08:07 pm
Ok im making a mod for the sniper rifles, its a sniper only mod, and basically i need to put the sway back into the sniper rifles, for some reason i edited what i thought i had to ran the mod but no change please edit this and show me what you had to do to make it sway :) Thanks you!!


--------------------CODE--------------------


Code:
mattneed
General Member
Since: Feb 19, 2008
Posts: 50
Last: Sep 18, 2008
[view latest posts]
Level 2
Category: CoD 4 Scripting
Posted: Saturday, Sep. 6, 2008 08:58 pm
can someone please help me out with this... I really need this ASAP
The_Caretaker
Preferred Member
Since: Jun 8, 2004
Posts: 11559
Last: Oct 4, 2008
[view latest posts]
Level 10
Forum Moderator
Category: CoD 4 Scripting
Posted: Sunday, Sep. 7, 2008 05:19 am
Weapon mod tutorial.


Edit: And please relax. Most of us have lives outside these forums. Help will come, just give people time to reply. Do not bump your posts this quick, give us a day, if no one replied by then, try bumping.

edited on Sep. 7, 2008 05:20 am by The_Caretaker
Tally
General Member
Since: Apr 21, 2005
Posts: 196
Last: Dec 2, 2008
[view latest posts]
Level 4
Category: CoD 4 Scripting
Posted: Sunday, Sep. 7, 2008 07:42 am
The_Caretaker writes...
Quote:
Weapon mod tutorial.


Edit: And please relax. Most of us have lives outside these forums. Help will come, just give people time to reply. Do not bump your posts this quick, give us a day, if no one replied by then, try bumping.

edited on Sep. 7, 2008 05:20 am by The_Caretaker


Huh? What has that tutorial got to do with the guys question about putting the sway back into a sniper rifle?

Nickle worth of free advice: only link to a tutorial if its what the user is asking for. Otherwise, its just a waste of people's valuable time.
Tally
General Member
Since: Apr 21, 2005
Posts: 196
Last: Dec 2, 2008
[view latest posts]
Level 4
Category: CoD 4 Scripting
Posted: Sunday, Sep. 7, 2008 07:45 am
mattneed writes...
Quote:
can someone please help me out with this... I really need this ASAP


The only "sway" you can adjust is adsIdleAmount, which is not what I think you are looking for.

The "sway" most people talk about for sniper rifles is the one controlled by the hold breath feature. This is hard coded into the game engine, and as far as I know, cant be modified without editing the iw3mp.exe which would not be a good idea for a "pure" server to run.



edited on Sep. 7, 2008 07:49 am by Tally
mattneed
General Member
Since: Feb 19, 2008
Posts: 50
Last: Sep 18, 2008
[view latest posts]
Level 2
Category: CoD 4 Scripting
Posted: Sunday, Sep. 7, 2008 10:19 am
well when people make long range sniper rifles they take out the sway i just need to pt that scoped sway back into the mod
Tally
General Member
Since: Apr 21, 2005
Posts: 196
Last: Dec 2, 2008
[view latest posts]
Level 4
Category: CoD 4 Scripting
Posted: Sunday, Sep. 7, 2008 02:09 pm
mattneed writes...
Quote:
well when people make long range sniper rifles they take out the sway i just need to pt that scoped sway back into the mod


Then read my post again. The answer is in there.
agon000
General Member
Since: Aug 13, 2008
Posts: 13
Last: Sep 20, 2008
[view latest posts]
Level 1
Category: CoD 4 Scripting
Posted: Tuesday, Sep. 16, 2008 10:50 am
you may want to edit the adsidle. if your using the cod4 mod tools to edit the guns it may be different. when i edited my guns i used notepad. anyway you may want to set the guns idle around 35 to 40. i beleive that is what the stock cod4 snipers are set at.
Sevenz
General Member
Since: Apr 24, 2006
Posts: 1133
Last: Nov 28, 2008
[view latest posts]
Level 8
Category: CoD 4 Scripting
Posted: Tuesday, Sep. 16, 2008 11:51 am
http://modcod4.com/e107_plugins/forum/forum_viewtopic.php?458.0#post_1469


Quote:
/adsviewidle/0/ *that makes the gun not sway if you set it to 0 normally it is around 40*

/adsviewpitchmin/55/ *controls the recoil on the gun*
/adsviewpitchmax/-55/ *controls gun recoil*
/adsviewyawmin/-55/ *controls gun recoil*
/adsviewyawmax/55/ *controls gun recoil.
agon000
General Member
Since: Aug 13, 2008
Posts: 13
Last: Sep 20, 2008
[view latest posts]
Level 1
Category: CoD 4 Scripting
Posted: Tuesday, Sep. 16, 2008 12:19 pm
Sevenz writes...
Quote:
http://modcod4.com/e107_plugins/forum/forum_viewtopic.php?458.0#post_1469


Quote:
/adsviewidle/0/ *that makes the gun not sway if you set it to 0 normally it is around 40*

/adsviewpitchmin/55/ *controls the recoil on the gun*
/adsviewpitchmax/-55/ *controls gun recoil*
/adsviewyawmin/-55/ *controls gun recoil*
/adsviewyawmax/55/ *controls gun recoil.



oh wow dude that is one of my other posts.....
i forgot about that [lol]

i may have gotten one of the variables wrong.
if you edit your weapons with notepad the actual sway is /adsviewamount/0/ for no sway. if you want sway just set the 0 to 35-40. personally i like them around 20 makes the scope feel more like cod sniper rifles. it also reduces the sway glitch where your sight is on a target and you pull the trigger but no bullet contact.

edited on Sep. 16, 2008 12:23 pm by agon000
Restricted Access Restricted Access
Page
Next Page
subscribe
MODSonline.com Forums : Call of Duty 4 : CoD 4 Scripting
All logos and trademarks and information in this site are property of MODSonline LLC © 2008.
The comments are property of their posters.
RSS news feeds for MODSonline can be found News.php.
Art of War Central
Partners
modbase.be
Call of Duty Headquarters
XoXide
The Firing Box
Battle for Europe COD2
CODAddicts - Call of Duty News & Downloads
Frag Universe
Ask About
Advertising
Friends
Canada Kicks Ass Clan
CoD 4 Base
Volcano
Ask About
Advertising
Link to Us
MODSonair
View in iTunes
Please help us to raise in the ranks of podcasting and subscribe to our itunes feed using the link above.
MODSonair Releases
MODSonair Episode 155
MODSonair Episode 154
MODSonair Episode 153
MODSonair Episode 152
MODSonair Episode 151
Next Show
The next MODSonair show will air LIVE on:

Time remaining:
Copyright © 2008 MODSonline
Tresware Content Management System Copyright © 2008 Tresware
Website Designed and Hosted   Tresware