• Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/

Code Completing a weapon

In the course of assisting a friend with his custom server, I've come to an issue I can't find a solution for. From the killingfloor.ru community, my friend got a weapon which, as it turns out, was released slightly incomplete. It has full first person models, textures, and animations, and a fully textured static mesh. It lacks a third person model. Is this simply a matter of placing a pointer, or does it require different attachments/bones? Placing this in the Coding section as thats where this bughunt started, and hopefully only needs a line or two to resolve. Thanks in advance.

--Grim
 
In the course of assisting a friend with his custom server, I've come to an issue I can't find a solution for. From the killingfloor.ru community, my friend got a weapon which, as it turns out, was released slightly incomplete. It has full first person models, textures, and animations, and a fully textured static mesh. It lacks a third person model. Is this simply a matter of placing a pointer, or does it require different attachments/bones? Placing this in the Coding section as thats where this bughunt started, and hopefully only needs a line or two to resolve. Thanks in advance.

--Grim

Which gun? If it's GPMG, it's made by someone else and you need to knock on someone else's doors since it's not made by the Russians (and those guys who made it have not even fixed it yet)....
 
Upvote 0
The weapon in question is a Pancor Jackhammer that the person ported from, apparently, fallout new vegas.
http://killingfloor.ru/forum/index.php?/topic/3402-jackhammer/
http://killingfloor.ru/forum/index.php?/topic/3407-jackhammer/
The somewhat final version that was released is essentially complete, save for lacking a third person view model. It does, however, have full first person animations, textures, and a static mesh. My suspicion is that I simply need to add the right code in the right class file and it will be complete. Feel free to correct me, but I'm going off observations from other examples.
Thanks,
--Grim
 
Upvote 0
The weapon in question is a Pancor Jackhammer that the person ported from, apparently, fallout new vegas.
http://killingfloor.ru/forum/index.php?/topic/3402-jackhammer/
http://killingfloor.ru/forum/index.php?/topic/3407-jackhammer/
The somewhat final version that was released is essentially complete, save for lacking a third person view model. It does, however, have full first person animations, textures, and a static mesh. My suspicion is that I simply need to add the right code in the right class file and it will be complete. Feel free to correct me, but I'm going off observations from other examples.
Thanks,
--Grim

Well if you need a hand, there is quite a handful of people here happily to give a hand. Good luck, looking good.
 
Upvote 0
Heh, the reason I'm posting here is because I need help. The question I have is what is the code needed to display the third person mesh, or is there a file missing?
The pickup class contains the following, which I am fairly sure is part of the problem--
Code:
showMesh = none
	AmmoMesh = none
	InventoryType = Class'AOJackhammer.Jackhammer'
and my suspicion was that I needed a modified version of this line (borrowed from the stock aa12)
Code:
showMesh=SkeletalMesh'KF_Weapons3rd2_Trip.AA12_3rd'
However I am uncertain as to the correct syntax, or if there needs to be a pointer in the model, or what.
 
Upvote 0
The weapon in question is a Pancor Jackhammer that the person ported from, apparently, fallout new vegas.
[url]http://killingfloor.ru/forum/index.php?/topic/3402-jackhammer/[/URL]
[url]http://killingfloor.ru/forum/index.php?/topic/3407-jackhammer/[/URL]
The somewhat final version that was released is essentially complete, save for lacking a third person view model. It does, however, have full first person animations, textures, and a static mesh. My suspicion is that I simply need to add the right code in the right class file and it will be complete. Feel free to correct me, but I'm going off observations from other examples.
Thanks,
--Grim
Maybe you should ask this question in the RU forum?
 
Upvote 0
Thanks Flame!
Time to celebrate by trying it out. :D

EDIT:
Really cool, everything seems to be working visually (1st & 3rd person). However, in listen/solo the mutator does not appear in the list.
I used WeaponsWorkshop mutator or Web Admin to add the weapon successfully.
It seems a bit OP for vanilla use, although I was only testing on hard. Also, not affected by perk bonuses and is always $3000 haha.
 
Last edited:
Upvote 0