IMG

 
IMG
IMG   IMG
  Welcome to GTAForums! Be sure to check out the Grand Theft Auto V Forum.

You are not registered! (If you are, click here to login) Registering is fast, free and easy and allows you to instantly reply to any topic on GTAForums.
Why wait? Click here to register your own unique username and become part of the ever-growing community!


( Log In | Register | Revalidate Validation E-mail )
Quick Log-In:
  IMG
       
>
Forum Rules GTA Modification Forums

Help and Discussion of IV modding only. Please post mod releases in the Mod Showroom

GTAGarage.com
free mod hosting from GTANet, simply login with your GTAForums account details

GTAModding.com
GTANet's modding wiki

GTA Modding Chatroom
provided by irc.gtanet.com (Don't have an IRC client? Click here)


  Reply to this topicStart new topicStart Poll

 Replaced Pool Cue with weapon - no sound

 
Noken  
Posted: Sunday, Apr 29 2012, 16:55
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Apr 29, 2012

gr.gif

XXXXX



Hello Community,
I replaced the pool cue with a weapon which i downloaded from the internet.
It was a MG4 which normaly replaces a AK47 so i renamed the two ak47.wdr and .wtd to "w_cue.wdr" and "w_cue.wtd".
Then i replaced the pool cue weapon slot in the weaponinfo.xml with :
CODE
<weapon type="POOLCUE">
 <data slot="MELEE" firetype="INSTANT_HIT" damagetype="BULLET" group="RIFLE_ASSAULT" targetrange="55.0" weaponrange="150.0" clipsize="100" ammomax="9999" timebetweenshots="75">
  <damage base="60" networkplayermod="2.0" networkpedmod="1.0"/>
  <physics force="150"/>
  <reload time="2066" fasttime="1166" crouchtime="2066"/>

  <aiming accuracy="0.6">
   <offset x="0.14" y="10.0" z="0.55"/>
   <crouchedoffset x="0.08" y="10.0" z="0.12"/>
   <reticule standing="0.6" ducked="0.5" scale="0.3"/>
  </aiming>

  <pickup regentime="480000" ammoonstreet="500"/>

  <controller>
   <rumble duration="90" intensity="0.1"/>
  </controller>

  <flags>
   <flag>GUN</flag>
   <flag>CAN_AIM</flag>
   <flag>2HANDED</flag>
   <flag>ANIM_RELOAD</flag>
   <flag>CAN_FREE_AIM</flag>
   <flag>ANIM_CROUCH_FIRE</flag>
  </flags>
 </data>

 <assets model="w_cue">
  <anim group="gun@ak47"/>
  <effects>
   <muzzle fx="muz_machine"/>
   <shell fx="weap_ejected_rifle"/>
  </effects>
 </assets>
</weapon>


Ingame now everything works fine but when i shoot i got no weapon sound, but when i change the "asset model" to w_glock i hear the weapon sound notify.gif


I hope you guys can help me and sorry for bad english biggrin.gif
PM
  Top
 

 

0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)

0 Members:

Topic Options Reply to this topicStart new topicStart Poll
Search topic for posted by (exact match)



 
IMG IMG