Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Question about weapons  (Read 843 times)

Sithlordz

  • Bay Watcher
    • View Profile
Question about weapons
« on: February 06, 2008, 06:01:00 am »

I was wondering how you change weapon matglosses. I've made a chainsaw weapon, but I don't know how to make it say "Saw" instead of "Lash" when you attack someone. (I just copied the whip and replaced some values.)
Logged
You are sentenced to 2477 consecutive life terms.  Have a nice day.

thvaz

  • Bay Watcher
    • View Profile
Re: Question about weapons
« Reply #1 on: February 06, 2008, 06:56:00 am »

Well, a chainsaw isn't a kind of whip. Or even a chain. You would have more sucess modeling it after a sword.
Logged

Sithlordz

  • Bay Watcher
    • View Profile
Re: Question about weapons
« Reply #2 on: February 06, 2008, 07:07:00 am »

That doesn't help. :P

I'm trying to find out how to make my weapon say "You saw the goblin in the left upper arm!"
instead of "You lash the goblin, etc.".  There has to be a way, as the game can do it with whips, swords and spears.

Logged
You are sentenced to 2477 consecutive life terms.  Have a nice day.

bartavelle

  • Bay Watcher
  • Coin coin!
    • View Profile
Re: Question about weapons
« Reply #3 on: February 06, 2008, 07:16:00 am »

You can't mod that easily, it's hardcoded.
Logged

Sithlordz

  • Bay Watcher
    • View Profile
Re: Question about weapons
« Reply #4 on: February 06, 2008, 09:01:00 am »

K. Thanks.
Logged
You are sentenced to 2477 consecutive life terms.  Have a nice day.

Fenrir

  • Guest
Re: Question about weapons
« Reply #5 on: February 06, 2008, 09:48:00 am »

You should make it use the axe skill. "You hack the peasant in the upper right arm." doesn't sound too far off.
Logged

Kagus

  • Bay Watcher
  • Olive oil. Don't you?
    • View Profile
Re: Question about weapons
« Reply #6 on: February 06, 2008, 10:06:00 am »

And then you can even use it to cut down trees.

Sithlordz

  • Bay Watcher
    • View Profile
Re: Question about weapons
« Reply #7 on: February 06, 2008, 11:56:00 am »

I did make it use the axe skill. Dunno why it's making whip messages. Maybe because of the gore damage?
Logged
You are sentenced to 2477 consecutive life terms.  Have a nice day.

Sean Mirrsen

  • Bay Watcher
  • Bearer of the Psionic Flame
    • View Profile
Re: Question about weapons
« Reply #8 on: February 06, 2008, 12:41:00 pm »

The message is dependant on the damage type, yes. SLASH yields slash, BLUDGEON yields bash, GORE yields lash, PIERCE yields pierce, BURN or HEAT yield burn, COLD yields chill. You can only make a custom message for a natural creature attack, a fact vastly exploited in my martial arts mod. So if you mod in an ogre with a chainsaw for an arm, you can make it have any message you like.

It would be nice to have the same message tags for normal weapons, however...

Logged
Multiworld Madness Archive:
Game One, Discontinued at World 3.
Game Two, Discontinued at World 1.

"Europe has to grow out of the mindset that Europe's problems are the world's problems, but the world's problems are not Europe's problems."
- Subrahmanyam Jaishankar, Minister of External Affairs, India

umiman

  • Bay Watcher
  • Voice Fetishist
    • View Profile
Re: Question about weapons
« Reply #9 on: February 07, 2008, 08:54:00 pm »

quote:
Originally posted by Sean Mirrsen:
<STRONG>So if you mod in an ogre with a chainsaw for an arm, you can make it have any message you like.</STRONG>

=O

COOL!

Kagus

  • Bay Watcher
  • Olive oil. Don't you?
    • View Profile
Re: Question about weapons
« Reply #10 on: February 08, 2008, 01:23:00 am »

Hell, I made a Goblin Mecha with four arms.  One axe, one Spear, one Mace, and one Claw that could latch on and also could be used to pick stuff up.

That bugger was tough.

Earthquake Damage

  • Bay Watcher
    • View Profile
Re: Question about weapons
« Reply #11 on: February 08, 2008, 02:13:00 am »

quote:
So if you mod in an ogre with a chainsaw for an arm, you can make it have any message you like.

Be sure to give it a grenade launcher, too.

Logged

Torak

  • Bay Watcher
  • God of Gods of Blood.
    • View Profile
Re: Question about weapons
« Reply #12 on: February 08, 2008, 09:35:00 am »

quote:
Originally posted by Kagus:
<STRONG>Hell, I made a Goblin Mecha with four arms.  One axe, one Spear, one Mace, and one Claw that could latch on and also could be used to pick stuff up.

That bugger was tough.</STRONG>


Did you call it Killer Kan?

Logged
As you journey to the center of the world, feel free to read the death announcements of those dwarves that suffer your neglect.

One billion b-balls dribbling simultaneously throughout the galaxy. One trillion b-balls being slam dunked through a hoop throughout the cosmos. I can feel every single b-ball that has ever existed at my fingertips, I can feel their collective knowledge channeling through my veins. Every jumpshot, every rebound and three-pointer, every layup, dunk and free throw.

Kagus

  • Bay Watcher
  • Olive oil. Don't you?
    • View Profile
Re: Question about weapons
« Reply #13 on: February 08, 2008, 11:15:00 am »

Killa Kan, and no, it didn't occur to me to do so.  I just called it "Goblin Mecha"


*Dwarfy McAngercrotch likes Goblin Mechas for their flashing lights.