Ludeon Forums

RimWorld => Mods => Topic started by: SpiritedCanine on May 23, 2014, 03:48:47 PM

Title: [Request] Melee Weapons maybe?
Post by: SpiritedCanine on May 23, 2014, 03:48:47 PM
I have experienced tribals bum-rushing my base only to stop three feet away from my colonists and start chucking rocks at them. I'd like to see tribals with wooden spears and hatchets, scavengers with daggers and swords and the stronger raiders with shock-batons and  hydraulic-gauntlets (like the power fist from Fallout).
Title: Re: [Request] Melee Weapons maybe?
Post by: Austupaio on May 23, 2014, 05:50:52 PM
This isn't a mod thing, this is a development thing. Tynan will, presumably, be adding melee weapons to the game at some point.
Title: Re: [Request] Melee Weapons maybe?
Post by: UrbanBourbon on May 23, 2014, 05:52:17 PM
That may not be possible yet. However, I did some digging into the game folder and found a file named Nouns_Weapons.txt
In the folder: Mods\Core\Strings\NameBanks
The content of that text file looks like this:
knife
gun
blade
whip
saw
spear
club
....

There's 26 lines in that file. It's just a simple list of weapon types but it certainly hints that melee weapons are the future! I just hope I didn't get that file from a mod but that seems unlikely as it's in the "mods/core" folder.
Title: Re: [Request] Melee Weapons maybe?
Post by: SpiritedCanine on May 23, 2014, 07:57:49 PM
Quote from: Austupaio on May 23, 2014, 05:50:52 PM
This isn't a mod thing, this is a development thing. Tynan will, presumably, be adding melee weapons to the game at some point.
I have a feeling they will as well but the arsenal of them I expect to be small like the vanilla weapons, chances are (with the more creative modders anyway) they can throw something together that wouldn't be implemented by the devs. When they do finally add them in the game the mechanics and execution of it would be more proper......
Title: Re: [Request] Melee Weapons maybe?
Post by: Crimsonknight3 on May 23, 2014, 10:06:56 PM
I know I am no modder but if you can modify the range of ranged weapons, create a weapon with a range of 1 and tell the mod (if possible) to use the melee attack animation? It would be a simple stop-gap until tyn gets around to it ?
Title: Re: [Request] Melee Weapons maybe?
Post by: SSS on May 23, 2014, 10:20:17 PM
Well, I don't know much about modding, but there's a xml tag used when defining equipment... <isGun></isGun>

I don't know enough about verbs to know if you could get anywhere by setting that to false, though. I don't think there's currently any equipment that isn't a gun.

Quote from: Crimsonknight3 on May 23, 2014, 10:06:56 PM
I know I am no modder but if you can modify the range of ranged weapons, create a weapon with a range of 1 and tell the mod (if possible) to use the melee attack animation? It would be a simple stop-gap until tyn gets around to it ?

It would still rely on shooting skills rather than melee, but 1-ranged "guns" are a work-around.
Title: Re: [Request] Melee Weapons maybe?
Post by: Crimsonknight3 on May 23, 2014, 10:26:13 PM
Quote from: SSS on May 23, 2014, 10:20:17 PM
It would still rely on shooting skills rather than melee, but 1-ranged "guns" are a work-around.

That's the idea, I am sure you could over-ride the skills needed by defining them inside the mod...
Title: Re: [Request] Melee Weapons maybe?
Post by: Austupaio on May 23, 2014, 10:46:08 PM
Yeah, I could see a few ways you could hackishly cobble together melee weapons. I just don't see the point when Tynan will implement melee weapons properly in a couple versions.

Once he does that, I'll certain added the Impact Hammer and some of the blades from Ballistic Weapons.
Title: Re: [Request] Melee Weapons maybe?
Post by: UrbanBourbon on May 24, 2014, 04:03:50 AM
Quote from: Crimsonknight3 on May 23, 2014, 10:06:56 PM
I know I am no modder but if you can modify the range of ranged weapons, create a weapon with a range of 1 and tell the mod (if possible) to use the melee attack animation? It would be a simple stop-gap until tyn gets around to it ?
Nice idea but I suspect pawns currently switch to hand-to-hand melee if they stand next to an enemy. Basically you'd create a "gun" that couldn't be used in any situation. So from the colonist point of view it'd be like "Out of range, must get closer, out of range, must get closer... Woah! Too close. Can't use guns. Switching to melee." ... I think.
Title: Re: [Request] Melee Weapons maybe?
Post by: mrofa on May 24, 2014, 08:52:00 AM
Range 1 will get you in meele combat( you will use fists) you could try with range 2
Title: Re: [Request] Melee Weapons maybe?
Post by: Celthric Aysen on May 24, 2014, 09:11:55 AM
im currently trying to add a stun rodWhich is a melee weapon] on my mod called MGS:PW and im having great success so far but you need to get near the enemy first than stun him with 1.5Million Volts then incapacitate them.
what i basically did was set the range to 1 and that it i had a perfectly working stun rod :)
Title: Re: [Request] Melee Weapons maybe?
Post by: iame6162013 on May 24, 2014, 09:33:58 AM
Quote from: Blackjack1000K on May 24, 2014, 09:11:55 AM
im currently trying to add a stun rodWhich is a melee weapon] on my mod called MGS:PW and im having great success so far but you need to get near the enemy first than stun him with 1.5Million Volts then incapacitate them.
what i basically did was set the range to 1 and that it i had a perfectly working stun rod :)
But that's just a really short range weapon...;)
Title: Re: [Request] Melee Weapons maybe?
Post by: Celthric Aysen on May 24, 2014, 09:39:07 AM
not really if you make a custom texture that doesn't have anything in it
Title: Re: [Request] Melee Weapons maybe?
Post by: iame6162013 on May 24, 2014, 09:41:52 AM
Quote from: Blackjack1000K on May 24, 2014, 09:39:07 AM
not really if you make a custom texture that doesn't have anything in it
but then it is an invisible gun? :P
except if you mean particles.
Title: Re: [Request] Melee Weapons maybe?
Post by: Celthric Aysen on May 24, 2014, 09:44:19 AM
yes i meant particles,
also if someone is wondering if were going off-topic, were still on topic, were just discussing melee weapons :P
Title: Re: [Request] Melee Weapons maybe?
Post by: iame6162013 on May 24, 2014, 09:50:30 AM
Quote from: Blackjack1000K on May 24, 2014, 09:44:19 AM
yes i meant particles,
also if someone is wondering if were going off-topic, were still on topic, were just discussing melee weapons :P
But what if you have a 'Smack' particle?...(or something that would be more logical for your weapon.)
Title: Re: [Request] Melee Weapons maybe?
Post by: Celthric Aysen on May 24, 2014, 10:01:22 AM
ehh no.... i prefer a no particles with my melee weapon :P
Title: Re: [Request] Melee Weapons maybe?
Post by: SpiritedCanine on May 24, 2014, 01:38:31 PM
Is it possible to add knockback?
Title: Re: [Request] Melee Weapons maybe?
Post by: iame6162013 on May 24, 2014, 01:42:21 PM
Quote from: SpiritedCanine on May 24, 2014, 01:38:31 PM
Is it possible to add knockback?
not that i know of :/
Title: Re: [Request] Melee Weapons maybe?
Post by: Crimsonknight3 on May 24, 2014, 07:07:40 PM
Quote from: iame6162013 on May 24, 2014, 09:50:30 AM
Quote from: Blackjack1000K on May 24, 2014, 09:44:19 AM
yes i meant particles,
also if someone is wondering if were going off-topic, were still on topic, were just discussing melee weapons :P
But what if you have a 'Smack' particle?...(or something that would be more logical for your weapon.)

As I said, why not create a new item than uses the vanilla mellee animation instead of the shooting particles... For all intensive purposes it would be a melee weapon just with poor animation (no weapon shown in hand)
Title: Re: [Request] Melee Weapons maybe?
Post by: Pulaskimask on May 27, 2014, 02:25:47 PM
Perhaps a bit of an aside, but I would just like to state that I think chainsaws would make awesome melee weapons. Especially in the hands of zombies.
Title: Re: [Request] Melee Weapons maybe?
Post by: Mattaru on June 01, 2014, 10:51:22 PM
Quote from: Pulaskimask on May 27, 2014, 02:25:47 PM
Perhaps a bit of an aside, but I would just like to state that I think chainsaws would make awesome melee weapons. Especially in the hands of zombies.

The RimWorld Chainsaw Massacre.

Log: 2014/01/06: Lilith has a mental break. She picks up the chainsaw. A solar eclipse happens and . . .
Title: Re: [Request] Melee Weapons maybe?
Post by: mrblonde1990 on June 04, 2014, 05:13:59 PM
There is a melee weapon in the game called the pilla or something or other. The tribes carry it sometimes.
Title: Re: [Request] Melee Weapons maybe?
Post by: SSS on June 04, 2014, 07:08:32 PM
Quote from: mrblonde1990 on June 04, 2014, 05:13:59 PM
There is a melee weapon in the game called the pilla or something or other. The tribes carry it sometimes.

It's not a melee weapon. It's a thrown spear/javelin. You might want to reference this thread: http://ludeon.com/forums/index.php?topic=3847.0