|
FAQ
• Search • Login
|
|
Page 1 of 1
|
[ 6 posts ] |
|
Author |
Message |
The Egotist
Joined: Tue Feb 02, 2010 11:36 pm Posts: 130
|
Weapon Coding Help
Hello again, mod making. Just a simple question. Which property/ies would I edit in a weapon to make the round deal more damage, hit harder, be sharper, etc? it's a noobish question, but on the bright side, I only need to ask once.
I'm currently practicing my modding by working on the begginnings of a Team Fortress 2 mod, with pandastar994.
|
Mon Apr 12, 2010 3:49 am |
|
|
Freeflow
Joined: Sun Oct 25, 2009 10:16 pm Posts: 110 Location: Western U.S.
|
Re: Weapon Coding Help
Increase mass or Sharpness. Sharpness varies the amount of damage it will inflict on an actor. Mass varies how heavy or dense it is. (affects terrain) http://wiki.datarealms.com/wiki/index.php/HDFirearm
|
Mon Apr 12, 2010 4:37 am |
|
|
whitty
Joined: Sat Jun 16, 2007 2:31 am Posts: 2982 Location: Texas
|
Re: Weapon Coding Help
Sharpness determines the strength/penetration of the round, not the amount of damage it will inflict.
Actors are made of a certain material with certain set properties. If the bullet's sharpness is a certain value, it can either: a) bounce off harmlessly b) make an entry wound c) make an exit wound
The velocity and mass of the bullet are also taken into effect when calculating what wound is made.
|
Mon Apr 12, 2010 5:24 am |
|
|
The Egotist
Joined: Tue Feb 02, 2010 11:36 pm Posts: 130
|
Re: Weapon Coding Help
Hmm... I'm trying to design a one-shot rifle, with a spin-up time, and absurdly powerful rounds. i based it off of the Heavy Sniper rifle. It sees to make cortex command, not in the loading, but when i try to play a mission. The screen just goes black and freezes. Can anyone see what is wrong with this code?
|
Mon Apr 12, 2010 5:58 am |
|
|
whitty
Joined: Sat Jun 16, 2007 2:31 am Posts: 2982 Location: Texas
|
Re: Weapon Coding Help
The name of the weapon is too long. Shorten it to less than I think it's 11 characters.
|
Mon Apr 12, 2010 6:02 am |
|
|
The Egotist
Joined: Tue Feb 02, 2010 11:36 pm Posts: 130
|
Re: Weapon Coding Help
Thanks whitty! it's working now, but... I was trying to give it a spin-up time, but it doesn't seem to be working.
EDIT: NEver mind, forgot to code it in. God I'm dumb...
|
Mon Apr 12, 2010 6:30 am |
|
|
|
|
Page 1 of 1
|
[ 6 posts ] |
|
Who is online |
Users browsing this forum: No registered users |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|