Quantcast

Jump to content

» «
Photo

How to increase the speed of a rocket

4 replies to this topic
  • Player Hater

  • Members
  • Joined: 16 Jun 2005

#1

Posted 26 December 2008 - 01:10 PM

the rocket in game travels like a balloon, slow and unpredictable, is there any ways to make rocket travel faster and more straight?

kbps
  • kbps

    Rat

  • Members
  • Joined: 20 Dec 2008

#2

Posted 26 December 2008 - 02:40 PM

I agree! Rockets very slow!

renado
  • renado

    Player Hater

  • Members
  • Joined: 26 Dec 2008

#3

Posted 26 December 2008 - 04:23 PM

just edit your weaponinfo.xml (make sure, that you have modable files)
go to line "rocket"

CODE
<weapon type="ROCKET">
<data slot="THROWN" firetype="PROJECTILE" damagetype="EXPLOSIVE" group="ROCKET" targetrange="70.0" clipsize="1" stattype="RLAUNCHER">
<damage networkplayermod="2.0" networkpedmod="1.0"/>

<aiming accuracy="1.0">
<offset x="0.0" y="1.0" z="0.0"/>
<crouchedoffset x="0.0" y="1.0" z="0.0"/>
<reticule standing="0.65" ducked="0.55" scale="0.3"/>
</aiming>

<pickup regentime="360000" ammoonstreet="8"/>

<controller>
<rumble duration="0" intensity="0.0"/>
</controller>

<flags>
<flag>THROWN</flag>
<flag>ADD_SMOKE_ON_EXPLOSION</flag>
<flag>EXPLOSION_BASED_ON_IMPACT</flag>
</flags>

<projectile type="ROCKET">
<explosion type="ROCKET"/>
<physics force="30.0" explodeimpactthreshold="0.05" explodeimpactwithvehiclethreshold="0.05"/>
</projectile>
</data>

<assets model="cj_rpg_rocket">
<effects>
<trail fx="weap_rocket_player"/>
</effects>
</assets>
</weapon>


and edit the line -> physics force="PUT HERE WHAT YOU WANT"
30 is standard. type in 80 or something else and the rocket will be faster.

jadire
  • jadire

    Player Hater

  • BUSTED!
  • Joined: 18 Dec 2008

#4

Posted 26 December 2008 - 07:22 PM

Any idea how to get it to explode the second it hits something? If you put the force upto like 1000 it wont explode right away if it hits something, it will just deflect and fly off somewhere.

aceship
  • aceship

    Just An Indonesian Scripter

  • Members
  • Joined: 20 Dec 2008

#5

Posted 26 December 2008 - 07:49 PM

Smaller The ImpactThreshold , Faster x-plode





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users