Data Realms Fan Forums http://45.55.195.193/ |
|
Weapon Coding Help http://45.55.195.193/viewtopic.php?f=1&t=18449 |
Page 1 of 1 |
Author: | The Egotist [ Mon Apr 12, 2010 3:49 am ] |
Post subject: | 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. |
Author: | Freeflow [ Mon Apr 12, 2010 4:37 am ] |
Post subject: | 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 |
Author: | whitty [ Mon Apr 12, 2010 5:24 am ] |
Post subject: | 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. |
Author: | The Egotist [ Mon Apr 12, 2010 5:58 am ] | ||
Post subject: | 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?
|
Author: | whitty [ Mon Apr 12, 2010 6:02 am ] |
Post subject: | Re: Weapon Coding Help |
The name of the weapon is too long. Shorten it to less than I think it's 11 characters. |
Author: | The Egotist [ Mon Apr 12, 2010 6:30 am ] |
Post subject: | 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... |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |