Toribash
Original Post
~ Mod Snippets ~
I figured it'd be handy if people had a place to post little snippets of mod code for everyone to use.

The rules are simple:
-Only snippets here. If you need a snippet from someone, send them a PM or ask for it in the Mod Questions thread. If you want to show someone your appreciation, send them a PM or credit them when you post your snippet-enhanced mod.
-Always use CODE tags around your snippets. (The # button in the post form)

If you disregard these two simple rules, not only will I kill and eat you; I'll get you infracted too.

---

Here's something to start it off: a modification of triceps, wrists and hands, so you can start off holding a weapon in front of you.

joint r_elbow
range 1.1 -1.55

body r_triceps
shape box
pos 0.225 0.7 2.3
sides 0.1 0.4 0.1

joint r_wrist
shape sphere
pos 0.225 0.45 2.3

body r_hand
shape box
pos 0.25 0.3 2.3
sides 0.22 0.22 0.22
alt_sides 0.21 0.21 0.21

joint l_elbow
range 1.1 -1.55

body l_triceps
shape box
pos 1.75 0.7 2.3
sides 0.1 0.4 0.1

joint l_wrist
shape sphere
pos 1.75 0.45 2.3

body l_hand
shape box
pos 1.725 0.3 2.3
sides 0.22 0.22 0.22
alt_sides 0.21 0.21 0.21
Last edited by Skazz; Feb 13, 2009 at 01:36 AM.
I'm back, I think... :)
Mod Pack