Adding ranged weapons
Welcome to yet another blog entry on developing in Rose online!
This time I will teach you about special cases when adding weapons, like:
- Wands;
- Guns;
- Cannons;
- Bow Gun;
- Bows.
1. What makes these weapons different from a normal weapon?
All 5 of these types are special, because they fire projectiles. Projectiles can be:
- Fireballs;
- Cannonballs;
- Bullets;
- Arrows.
Projectiles come in many shapes and kinds, and are essential for these kind of weapons. If you do not add projectiles to projectile-type weapons, they will give very strange results when added to the game.
2. Adding a projectile to your weapon - STB
First, open up your stb in the Excell STB editor we have been using so far, and go to row with the projectile ID. To find this row, look at the top (header) of the file in your STB editor, it usually contains a description of the row.
At this moment, it is very important to know what kind of weapon you are working with. In this example I will be working with a gun, so I will be adding bullets to this gun.
I could add cannonballs to my gun, but that would look a little weird.
The STB is pretty easy this time. Look at another weapon of the same type (in my case, a gun), and look up the row with the projectile variable. Copy the value in this cell, and put it on the line where your new weapon is located.
Alright, that's it for the STB file. Easy, right? Just save your STB file, and close it.
3. Adding a projectile to your weapon - ZSC
This is the hard part of adding weapons, and the reason why you should always start with this when adding a projectile-type weapon to your zsc file.
I could explain to you what Flags are, and Hexidecimal value's, or I can just show you the fastest, easiest way to add a projectile.
In the ZSC editor, jump to the ID of the gun that needs a projectile. Afterwards, put the id of a similiar weapon that already has projectiles, in the white box that looks like this: "Copy: [Empty box]"
Then press copy. As you probably already noticed, everything will now be filled out, but it's not using the zsc or dds file of the weapon you added.
This is why you should now continue my first guide on how to add a weapons. If you skipped my first tutorial, I told the user to go to this guide during the process of adding a weapon, if they were adding a ranged weapon.
It will look like this was just a waste of time, but once you add your weapon to the game, after adjusting the settings once more (because the DDS and ZMS files that are being used got copied, and are probably not the ones you need), your weapon will shoot projectiles!
That's it for today, I hope that was clear enough.
Once again, if you have any questions, don't hesitate to ask me.
vrijdag 15 oktober 2010
Abonneren op:
Reacties posten (Atom)
0 reacties:
Een reactie posten