Star Wars Republic Commando is a squad-based first person shooter that lets you explore the elite world of the Star Wars military. Leading a 4-man squad of Republic Commandos, your missions take you deep behind enemy lines on over 14 intense and challenging levels through three different campaigns where you will face more than ten brutal enemies. You'll have more than a dozen deadly weapons at your disposal, but none more lethal than your squad. What makes the squad in Star Wars Republic Commando so unique is the game's innovative 'One Touch Squad Control' system that allows you to engage your squad with just one button.

Post tutorial Report RSS Custom Ammo creation.

This tutorial teaches you how to make custom ammunition. (I borrowed the preview image from my friend Cooper_S. Thank you very much)

Posted by on - Basic Server Side Coding

1.Understanding the basics


a) The difference between ammunition and projectile

Ammunition is basicaly the thing in your inventory which your weapon uses up by shooting. The projectile is an actor which your weapon spawns when you shoot. The ammunition defines the projectile your weapon shoots and also defines if your weapon is hitscan or projectile based. Hitscan means that no projectile is launched , but game simulates the impact of fictional projectile.Hitscan is very limited and republic commando uses it only for sniper rifles. The advantage of projectiles is that you can have custom projectile travel speed , more accurate tracers , even ballistics!

b) Creating custom ammunition types

Ammunition is one of the non placeable actors , so you have to untick "show placeable classes only" to see it. It is under inventory section. Expand inventory section and then expand ammunition section.Then you pick the ammo type with properties similar to what you want it to be. CTAmmoRecharging means that ammo recharges over time which causes it to be infinite and never run out of. LaserWeaponAmmo creates laser beam instead of projectiles. Homing missile ammo homes automatically on enemies etc. Projectiles don´t really matter since they all work fine. Right click the ammo you picked and click new. Name it like you want to and put it into package you want to.

2. Creating and Setting up the Ammunition

Now open your ammunition actor. Then open up ammunition section. It is full of useful properties. Damage sets the damage of the ammo. Damage dampening multiplies the body part damage values. If you set it to 0 , weapon will deal the same damage to all bodyparts. If you set it to 1 , the damage will depend on the body part you hit. Hit Effects by Material sets the effects that appear when the weapon hits something. Hit Effects propability sets the propability of hit effect appearing (if you set it to 1 , everytime you hit something , the hit effect appears.). Proj per fire sets how much projectiles does your weapon shoot at once. higher settings than 1 are for shotguns. 1 is for most weapons. Range sets the range of your weapon.Tracer effect and tracer freq are only for hitscan weapons. In the hidden category , you can configure the projectile of your weapon (if it is projectile weapon) , weapon fire volume (ST_WeaponFireDefault is loud gunfire , ST_WeaponFireQuiet is for silenced and silent gunfire) and weapon damage type.

This is the end of the tutorial. Happy modding!

Comments
Cooper_S
Cooper_S

I like your choice of preview image ;)

Reply Good karma Bad karma+1 vote
Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.

Follow Report Profile
Icon
Star Wars: Republic Commando
Platforms
Windows
Developer
LucasArts
Publisher
Activision
Contact
Send Message
Homepage
Lucasarts.com
Release date
Game watch
Follow
Purchase
Tutorial
Browse
Tutorials
Report
Report
Share
Related Games
Star Wars: Republic Commando
Star Wars: Republic Commando First Person Shooter
Related Engines
Unreal Engine 2
Unreal Engine 2 Commercial
Related Groups
Activision
Activision Developer & Publisher
LucasArts
LucasArts Developer & Publisher