How do I add a weapon to a unit? -1 reply

Please wait...

Paladin_Hammer

I don't spend enough time here

50 XP

15th March 2007

0 Uploads

26 Posts

0 Threads

#1 12 years ago

Hello all. I'm new here, hoping to make some mods for my favorite army, the Imperial Guard! Space Marines, posers. The Imperial m*@#&*f@c#%n# Guard is where its at!

So I'm trying to add Flamers to the Guardsmen's retinue of weaponry. Problem is, I can't find the files for their weapons (Plasma Rifle and Grenade launcher upgrades).

Anyone help me out? I just need to know where to find the special weapons category and where the file for special weapons a unit can recieve is (I've found squad-size and hitpoints, morale, etc, just not this one!). Thanks guys!




Ad3506

DEATH TO THE FALSE EMPEROR!

50 XP

9th May 2007

0 Uploads

28 Posts

0 Threads

#2 12 years ago

its plasma gun btw, a plasma rifle is what the Tau fire warriors have oh and to your real question, i have no clue whatsoever




Khornekrusher

Go me!

50 XP

15th October 2006

0 Uploads

221 Posts

0 Threads

#3 12 years ago

Lol it's Pulse Rifle, and if you want to know eventually Fluff Mod website will have a tutorial on it. He was right imperial Gurdasmen call them Plasma Rifles.




Ad3506

DEATH TO THE FALSE EMPEROR!

50 XP

9th May 2007

0 Uploads

28 Posts

0 Threads

#4 12 years ago

o is it i dont have the codex personally, my mistake, i meant battlesuits instead of fire warriors, srry, but the Imperial Guard call them plasma GUNs(check the codex dufus)(or u could mean any of the 3, pistol/GUN/cannon)




DiVaD

I'm too cool to Post

50 XP

14th May 2007

0 Uploads

14 Posts

0 Threads

#5 12 years ago

It really depends on what you want to do. I've kinda had difficulty with this stuff too. Basically, if you want to add a new weapon like a flamer, you have to already have a model of a guardsman with a flamer, and you probably have to rig up some animation for the guardsman to fire. I have no idea how to do that. You also have to already have a weapon file of the flamer you want. This is not hard, you could just steal it from the Space Marines. Once you have that, go to the file of the guardsman himself (attrib/ebps/races/guard/troops/guard_infantry_guardsmen.rgd). Open the file using some RGD editor like Corsix's Mod Studio or RGD Edit (Corsix is HIGHLY reccommended). Open the combat reference, hardpoints reference, hardpoint_01, weapon_table. In the weapon table, there are 5 options. The first weapon reference, weapon_01, is the lasgun. The 2nd and 3rd are the grenade launcher and plasma gun respectively. The last two are blank. Here, you can add your new weapon. I am not completely sure how to do it from here, but here's a guess: First, I have no idea what to do about position and origin. name_for_this_weapon_choice probably determines what model to use for the weapon (such as a lasgun, a flamer), as well as the muzzle flash and tracer effects. This entry probably has to be a specific entry defined somewhere else, like on the 3d-model itself. Wherever it's defined, you probably have to add a new one like guard_flamer and rig up animations for it. That will probably tell the game to use a model of a guardsman with a flamer and use the muzzle and fireball that comes with the animation you hopefully have. weapon is where you put in the name of the weapon file itself (like weapons/guard_flamer_guardsmen.lua). I'm not sure about this, but I think your weapon file has a .rgd extension, when you put in the name, you should change it to .lua just because every time I see this entry it's always .lua, and when I create new weapons I always use .lua instead of .rgd, and it always works. I'm not sure if it will work with .rgd, I've never tried it. Anyway, that's pretty much all I've discovered about making new weapons, I've only ever created guardsmen with baneblade mega battle cannons.