ROTMG free hack Hack ROTMG and Private Server
   Realm of the Mad God Hacks, Cheats and Private Server
PS
Private Server
HC
Hacked Client
$
Donations
?
Help
C
Community

Follow us on Facebook!
Please Register and Login to our forum to access all features!

Shotbow weapon help/random values. Fabiano Source - ROTMG Tool


Get help with your own Realm of the Mad God private server. Lean how to set up server files, add content and more!

Shotbow weapon help/random values. Fabiano Source

Postby Terrmany » Wed 31 May 17 - 15:59

Currently, I am trying to make a shotgun type weapon that shoots out five shots in a spray, with each shot having a random angle that is between -22 and 22 degrees from the cursor.
Code
  <Object ext="true" id="Shotbow">
    <Class>Equipment</Class>
    <Item/>
    <Texture>
      <File>lofiObj5</File>
      <Index>0x52</Index>
    </Texture>
    <SlotType>3</SlotType>
    <Description>A powerful bow stolen from the future, it has a slow reload time but high damage and number of shots.</Description>
    <RateOfFire>.5</RateOfFire>
    <Sound>weapon/crossbow</Sound>
    <Projectile>
      <ObjectId>Bullet</ObjectId>
      <Speed>300</Speed>
      <MinDamage>75</MinDamage>
      <MaxDamage>115</MaxDamage>
      <LifetimeMS>175</LifetimeMS>
      <MultiHit/>
    </Projectile>
    <NumProjectiles>5</NumProjectiles>
    <OldSound>arrowShoot</OldSound>
    <feedPower>450</feedPower>
    <DisplayId>Shotbow</DisplayId>
  </Object>

That is the current xml code.
I've heard that random numbers are impossible in xml, so how would I add a custom css thing and use it? Sorry, kind of a coding noob :P
Terrmany  <i> Offline</i>
Donator
Donator
Posts: 4
Joined: May '13
PS Name: Terrm
Thanks: 0

Postby AncientEvil » Thu 29 Jun 17 - 9:50

that would be done using Frequency, Amplitude and ArcGap. experiment with them and you'll more than likely come to a solution.
Feel Free to PM me if you need help
For joining my guild: Just drop a PM
Guild Removal/Ranking Inquiries: Send a PM (here or Discord)
Any Rude PMs and i will block you, or ban you
My Staff Life:

Helper Since 16th September 2015
Moderator Since 2nd October 2015
Global Moderator Since 20th May 2016
Staff Manager Since 14th October 2016
Renowned Commanding High Councillor of The Legendary Dark Riders
Leader of The Dark Riders Initiative.
User avatar
AncientEvil  <i> Offline</i>
Manager
Manager
Posts: 1362
Joined: Jul '15
PS Name: AncientEvil
Location: The Throne room of Darkrise Island
Thanks: 95
Member of the Quarter Nuclear Award Dev Award Created Award Great Ideas Award
Bug Zapper Award 20k Posts Day! [OLD] Member of the Month



Related topics

 Topic Name    Author   Replies   Views 
This topic is locked, you cannot edit posts or make further replies. Help adding consumable fame & gold on fabiano

kentlivar

3

1078

This topic is locked, you cannot edit posts or make further replies. New Source?

bubobucks

0

363

This topic is locked, you cannot edit posts or make further replies. Prod Source Help?

daniel.cote

0

994