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
liltc64 [Forum]
taske [Downl]
aksolo [Downl]
rockett72 [Forum]
ghostryder07 [Forum]

5 Members and 10 Guests
Chat MODSonline
0 People Now Chatting
MODSOnline TeamSpeak

download TeamSpeak

In-The-News
Sunday, Jan. 4th
MODSonair 161 Live
Friday, Jan. 2nd
MODSonair Episode 160
Thursday, Jan. 1st
HAPPY NEW YEAR MODSONLINE AND ALL
Sunday, Dec. 28th
MODSonair 160 Live
Saturday, Dec. 27th
MODSonline Holiday Pwnage
Latest Poll
Modsonair audio or video?
Video from here on. 48.57%
Sticking with audio. 2.86%
Either is good. 17.14%
What is modsonair? 31.43%
Read More...
4 comments

Newsletter
Name:
Email:
Newsletter Archives
Your Membership
User Name:
Password:
Register.
In The Forums
pk3 making?
CoDUO Level Desi.. Posts: (1) Views: (3) by ghostryder07
found em
CoD:WW Zombie/Co.. Posts: (1) Views: (7) by cme4pain
More dead bodies
CoD 4 Scripting.. Posts: (3) Views: (22) by INSANE{H|S}
Final Error... Hopefully!!!
CoD 4 Level Desi.. Posts: (6) Views: (98) by INSANE{H|S}
Google 468 Banner Half-Life 2 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 2
Category: CoD 2 Single Player
Call of Duty 2 single player mapping, scripting and everything single player.
Moderators: foyleman, rEdrUmMDK, Foxhound, Wyatt_Earp, Rasta, StrYdeR, The_Caretaker, Cypher2004, supersword, batistablr, Welshy
Latest Posts
Subscribed Posts
Search
Restricted Access Restricted Access subscribe
Author Topic: Creating new weapons in CoD2
tomalla
General Member
Since: Jan 16, 2007
Posts: 202
Last: Jan 8, 2009
[view latest posts]
Level 4
Category: CoD 2 Single Player
Posted: Wednesday, Mar. 5, 2008 10:40 am
People, I've got big problem ... I have to create my own weapon in SP game ...

1. I ran Maya, done model, exported etc... created weapon file ( in main / weapons / SP ) and run my map. BUUT error appears: "Uknown weapon slot: ""primary"" in hv_shotgun". Hv_shotgun is my weapon name.

I've realised, that in my model I have to add some special nodes ... but I don't know HOW, WHICH, HOW NAMEE THEM etc. PLEASE HELP ME!

2 How to create GUN VIEWMODEL ??? I realised, that it's completly other kind of model ( not rigrid, but viewmodel ). I've tried compile in AssMan the same export_model, but with viewmodel setting instead rigrid one. I don't know it's correct.

Finally my weapon file is:


Code:
WEAPONFILE\displayName\WEAPON_MP44\modeName\\playerAnimType\none\altWeapon\\AIOv 
erlayDescription\WEAPON_RIFLEMAN\weaponType\bullet\weaponClass\rifle\weaponSlot\ 
primary\twoHanded\1\rifleBullet\1\armorPiercing\0\semiAuto\0\boltAction\0\aimDow 
nSight\1\rechamberWhileAds\1\noPartialReload\0\segmentedReload\0\wideListIcon\1\ 
wideKillIcon\1\flipKillIcon\1\autoAimRange\0\slowdownAimRange\50000\slowdownAimR 
angeAds\50000\lockonAimRange\50000\lockonAimRangeAds\50000\enemyCrosshairRange\1 
400\moveSpeedScale\0.9\gunMaxPitch\8\gunMaxYaw\25\ammoName\mp44\maxAmmo\180\star 
tAmmo\180\clipName\mp44\clipSize\30\shotCount\1\dropAmmoMin\60\dropAmmoMax\90\re 
loadAmmoAdd\0\reloadStartAdd\0\damage\120\minDamage\120\meleeDamage\150\maxDamag 
eRange\840\minDamageRange\2000\locNone\1\locHelmet\2\locHead\2\locNeck\2\locTors 
oUpper\1.2\locTorsoLower\0.8\locRightArmUpper\0.4\locRightArmLower\0.4\locRightH 
and\0.2\locLeftArmUpper\0.4\locLeftArmLower\0.4\locLeftHand\0.2\locRightLegUpper 
\0.5\locRightLegLower\0.4\locRightFoot\0.2\locLeftLegUpper\0.5\locLeftLegLower\0 
.4\locLeftFoot\0.2\locGun\0\fireTime\0.12\fireDelay\0\meleeTime\0.66\meleeDelay\ 
0.15\reloadTime\2\reloadEmptyTime\2.67\reloadStartTime\0\reloadEndTime\0\reloadA 
ddTime\1.5\reloadStartAddTime\0\rechamberTime\0.1\rechamberBoltTime\0\dropTime\0 
.25\raiseTime\0.35\altDropTime\0.75\altRaiseTime\0\quickDropTime\0.15\quickRaise 
Time\0.15\standMoveF\0\standMoveR\0\standMoveU\-
2.2\standRotP\0\standRotY\0\standRotR\0\standMoveMinSpeed\0\standRotMinSpeed\0\p 
osMoveRate\6\posRotRate\6\duckedMoveF\-1\duckedMoveR\0\duckedMoveU\-
1.7\duckedRotP\0\duckedRotY\0\duckedRotR\0\duckedOfsF\-
1\duckedOfsR\0.8\duckedOfsU\-
1\duckedMoveMinSpeed\0\duckedRotMinSpeed\0\proneMoveF\-
160\proneMoveR\6\proneMoveU\-120\proneRotP\0\proneRotY\300\proneRotR\-
300\proneOfsF\-
2\proneOfsR\1.5\proneOfsU\0\posProneMoveRate\8\posProneRotRate\10\proneMoveMinSp 
eed\0\proneRotMinSpeed\0\hipIdleAmount\70\adsIdleAmount\28\hipIdleSpeed\1\adsIdl 
eSpeed\0.8\idleCrouchFactor\0.75\idleProneFactor\0.4\adsSpread\0.5\adsAimPitch\0 
\adsTransInTime\0.35\adsTransOutTime\0.4\adsTransBlendTime\0.1\adsReloadTransTim 
e\0.6\adsCrosshairInFrac\1\adsCrosshairOutFrac\0.2\adsZoomFov\55\adsZoomInFrac\0 
.5\adsZoomOutFrac\0.4\adsBobFactor\1\adsViewBobMult\0.2\adsViewErrorMin\0\adsVie 
wErrorMax\0\hipSpreadStandMin\2\hipSpreadDuckedMin\1.5\hipSpreadProneMin\1\hipSp 
readMax\10\hipSpreadDuckedMax\10\hipSpreadProneMax\10\hipSpreadFireAdd\0.6\hipSp 
readTurnAdd\0\hipSpreadMoveAdd\9\hipSpreadDecayRate\4\hipSpreadDuckedDecay\1.05\ 
hipSpreadProneDecay\1.1\hipGunKickReducedKickBullets\3\hipGunKickReducedKickPerc 
ent\75\hipGunKickPitchMin\-10\hipGunKickPitchMax\-15\hipGunKickYawMin\-
15\hipGunKickYawMax\15\hipGunKickAccel\1000\hipGunKickSpeedMax\500\hipGunKickSpe 
edDecay\16\hipGunKickStaticDecay\20\adsGunKickReducedKickBullets\0\adsGunKickRed 
ucedKickPercent\100\adsGunKickPitchMin\-72\adsGunKickPitchMax\-
75\adsGunKickYawMin\-
42\adsGunKickYawMax\30\adsGunKickAccel\800\adsGunKickSpeedMax\2000\adsGunKickSpe 
edDecay\32\adsGunKickStaticDecay\40\hipViewKickPitchMin\70\hipViewKickPitchMax\8 
0\hipViewKickYawMin\-
45\hipViewKickYawMax\45\hipViewKickCenterSpeed\1200\adsViewKickPitchMin\55\adsVi 
ewKickPitchMax\60\adsViewKickYawMin\-
40\adsViewKickYawMax\55\adsViewKickCenterSpeed\1400\swayMaxAngle\4\swayLerpSpeed 
\7\swayPitchScale\0.1\swayYawScale\0.1\swayHorizScale\0.1\swayVertScale\0.15\swa 
yShellShockScale\5\adsSwayMaxAngle\2\adsSwayLerpSpeed\6\adsSwayPitchScale\0.1\ad 
sSwayYawScale\0.1\adsSwayHorizScale\0.05\adsSwayVertScale\0.25\fightDist\720\max 
Dist\590\aiVsAiAccuracyGraph\mp44.accu\aiVsPlayerAccuracyGraph\mp44.accu\reticle 
Center\\reticleSide\gfx/reticle/side_skinny.tga\reticleCenterSize\4\reticleSideS 
ize\8\reticleMinOfs\0\hipReticleSidePos\0\adsOverlayShader\\adsOverlayReticle\no 
ne\adsOverlayWidth\150\adsOverlayHeight\150\gunModel\hv_shotgun_viewmodel\handModel\vi 
ewmodel_hands_cloth\worldModel\xmodel/hv_shotgun\idleAnim\viewmodel_mp44_idle\e 
mptyIdleAnim\\fireAnim\viewmodel_mp44_fire\lastShotAnim\viewmodel_mp44_fire\rech 
amberAnim\\meleeAnim\viewmodel_mp44_melee\reloadAnim\viewmodel_mp44_reload\reloa 
dEmptyAnim\viewmodel_mp44_reload_empty\reloadStartAnim\\reloadEndAnim\\raiseAnim 
\viewmodel_mp44_pullout\dropAnim\viewmodel_mp44_putaway\altRaiseAnim\viewmodel_m 
p44_idle\altDropAnim\viewmodel_mp44_switch\quickRaiseAnim\viewmodel_mp44_pullout 
_fast\quickDropAnim\viewmodel_mp44_putaway_fast\adsFireAnim\viewmodel_mp44_fire_ 
ads\adsLastShotAnim\viewmodel_mp44_idle\adsRechamberAnim\\adsUpAnim\viewmodel_mp 
44_ADS_up\adsDownAnim\viewmodel_mp44_ADS_down\viewFlashEffect\fx/muzzleflashes/h 
eavy_view.efx\worldFlashEffect\fx/muzzleflashes/heavy.efx\shellEjectEffect\fx/sh 
ellejects/rifle.efx\lastShotEjectEffect\\pickupSound\weap_pickup\ammoPickupSound 
\\fireSound\weap_mp44_fire\fireSoundPlayer\weap_mp44_fire_plr\lastShotSound\\las 
tShotSoundPlayer\\meleeSwipeSound\melee_swing_large\rechamberSound\\rechamberSou 
ndPlayer\\reloadSound\weap_mp44_reload_not_empty\reloadSoundPlayer\\reloadEmptyS 
ound\weap_mp44_reload\reloadEmptySoundPlayer\\reloadStartSound\\reloadStartSound 
Player\\reloadEndSound\\reloadEndSoundPlayer\\altSwitchSound\\raiseSound\\putawa 
ySound\\noteTrackSoundA\\noteTrackSoundB\\noteTrackSoundC\\noteTrackSoundD\\hudI 
con\gfx/icons/hud@mp44.tga\modeIcon\\killIcon\\fireRumble\\meleeImpactRumble\


Thanks for any replies ...
Restricted Access Restricted Access subscribe
MODSonline.com Forums : Call of Duty 2 : CoD 2 Single Player
All logos and trademarks and information in this site are property of MODSonline LLC © 2009.
The comments are property of their posters.
RSS news feeds for MODSonline can be found News.php.
MODSonline Subscriptions
Partners
The Firing Box
CODAddicts - Call of Duty News & Downloads
Call of Duty Headquarters
XoXide
Battle for Europe COD2
modbase.be
Frag Universe
Ask About
Advertising
Friends
MODS Reloaded
Canada Kicks Ass Clan
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 160
MODSonair Episode 159
MODSonair Episode 158
MODSonair Episode 157
MODSonair Episode 156
Next Show
The next MODSonair show will air LIVE on:
01/11/2009 12:00 EST

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