I wanna learn how to make my own guns it to Unreal2k3. I fooled around a bit and I think I figured out how. The only problem is that I can not see the model that I got in the game. For the staticmeshes (Pick-Up Object) is the Bio-rifle for now, but when I pick it up, it says that I now picked up the Bio-Pistol (My gun) and it has all the firing stats as my gun is supposed to have, but there is nothing there, all I see is the plasma beam coming ot of nowhere.
I'm guessing that the gun isn't in the right spot so that I can't see it, but how do I change that. If I just wrote the code wrong, can you point that out.Code://=============================================================================== // [BioPistol] //=============================================================================== class BioPistol extends BioRifle; #exec MESH MODELIMPORT MESH=BioPistolMesh MODELFILE=models\biopistol.PSK LODSTYLE=10 #exec MESH ORIGIN MESH=BioPistolMesh X=0 Y=0 Z=0 YAW=0 PITCH=0 ROLL=0 #exec ANIM IMPORT ANIM=BioPistolAnims ANIMFILE=models\biopistol.PSA COMPRESS=1 MAXKEYS=999999 IMPORTSEQS=1 #exec MESHMAP SCALE MESHMAP=BioPistolMesh X=1.0 Y=1.0 Z=1.0 #exec MESH DEFAULTANIM MESH=BioPistolMesh ANIM=BioPistolAnims // Digest and compress the animation data. Must come after the sequence declarations. // 'VERBOSE' gives more debugging info in UCC.log #exec ANIM DIGEST ANIM=BioPistolAnims VERBOSE defaultproperties { Mesh=BioPistolMesh DrawType=DT_Mesh bStatic=False Itemname="Bio-Pistol" FireModeClass(0)=Class'guntest.BioPistolFire' FireModeClass(1)=Class'guntest.BioPistolFire' }
Thanks.



Reply With Quote

Bookmarks