Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → Umm, where do I set these values?
Umm, where do I set these values?
2003-07-23, 5:08 AM #1
Where can I set the amout of damage the saber inflicts when it touches some one.

And I want to make the saber always block, 100%.

Thats all.

------------------
"Computer are useless, all they can give you are answers"/Pablo Piacasso
Nothing to see here, move along.
2003-07-23, 8:21 AM #2
For damage, look to the verb jkEnableSaber() in weap_saber.cog. For blocking, you'll need to change these template settings:
Code:
error=0.50 fov=0.71 chance=1.00

from the walkplayer's template.

------------------
Author of the JK DataMaster, Parsec, Scribe, and the EditPlus Cog Files.
Author of the JK DataMaster, Parsec, Scribe, and the EditPlus Cog Files.
2003-07-23, 8:28 AM #3
Dug up this from an old post of mine:
Quote:
<font face="Verdana, Arial" size="2">
error: controls the accuracy of the reflected bolt. An error of 0 will make the bolt inevitably hit the creature that fired it.

chance: a 0 to 1 value that controls the chance of kyle to reflect the bolt.

fov: stands for "field of view," but it's deceptive. It's really the minimum dot product of the direction the player is looking and the direction that the laser is coming at him. But you can think of it as a -1 to 1 scale with -1 reflecting all bolts and 1 reflecting none.
</font>


------------------
Author of the JK DataMaster, Parsec, Scribe, and the EditPlus Cog Files.
Author of the JK DataMaster, Parsec, Scribe, and the EditPlus Cog Files.
2003-07-23, 5:15 PM #4
Where do I put that, since I've never seen a template.


------------------
"Computer are useless, all they can give you are answers"/Pablo Piacasso
Nothing to see here, move along.
2003-07-25, 12:28 AM #5
Whoa. A whole different problem there. Read Slug's and GuNbOy's template tutorials. These tuts will get you started, but don't trust them too far - test things for yourself to make sure. And to answer your question, if you're using JED, templates are in the master or mots .tpl file, if your working with JK for a mod or something, use the static.jkl.

If you have any specific questions, feel free to post them here. Technically, this would be a Main Editing type of question, but you'll probably get a better answer here.

------------------
Author of the JK DataMaster, Parsec, Scribe, and the EditPlus Cog Files.
Author of the JK DataMaster, Parsec, Scribe, and the EditPlus Cog Files.

↑ Up to the top!