
Where are the "Projectile files" stored??
Where are the "Projectile files" stored??
Hey Guys! in the object file of a object, it usually says "game.addprojectiletemplate" or something like that. so you can type in Bazooka projectile or whatever you want and that's what it will fire
. So what I'm wondering is: Where are the projectile files stored?? where is "Bazooka projectile" declared? Thanks!!

Last edited by BotHunter on Fri Jan 18, 2013 6:21 pm, edited 1 time in total.
Walk quietly and carry a sniper rifle
Re: Where are the "Projectile files" stored??
objects/handweapons/common/weapons.con
Re: Where are the "Projectile files" stored??
Usually it's the Weapons.con files that have the projectile declarations. Like the example Freddy posted. For some weapons such as the M1 Garand, they have their own Weapons.con with the projectile code in that.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
Re: Where are the "Projectile files" stored??
If you use a proper text editor like Notepad++, it usually has a function called "Search in files". I use that regularly when trying to track down declarations. Simple figure out the projectile name in the weapon file, then search for it in the entire objects.rfa (extracted folder). You'll get a summary of every file that uses this projectile in some way.
Re: Where are the "Projectile files" stored??
BTW I'm using Programmers Notepad. (I know Small basic, Javascript and a little bit of Visual Basic
) You gotta get Programmers Notepad!!


Walk quietly and carry a sniper rifle
Re: Where are the "Projectile files" stored??
I have worked with Notepad++ which is a very good program for a long time. I recently was pointed towards "Sublime Text", which very quickly replaced NP++ for me. A huge set of smart features in that one that I absolutely adore.