Weapon that hurts to fire

A place to discuss mods in development and concepts for new mods.
Post Reply
User avatar
TheLoneWolf
Militia Captain
Militia Captain
Posts: 802
Joined: Thu Nov 28, 2013 5:03 pm
Location: Aboard the CSS Radiant

I was looking at the <FireEffect> element. It turns out that it just paints the muzzle flash. WHAT IF (I love to say that) we add thermoExplosion into it AND it actually hurts the player? That gives possibility for a powerful weapon that hurts to fire :D any ways to accomplish that?

And any way to make projectile explosions hurt the player too?

Like XYZ was killed off because they were too close when their Lucifer exploded :mrgreen:
RPC
Fleet Admiral
Fleet Admiral
Posts: 2876
Joined: Thu Feb 03, 2011 5:21 am
Location: Hmm... I'm confused. Anybody have a starmap to the Core?

Yeah you can probably use SysCreateWeaponFire in <OnFireWeapon> to simulate the player killing themselves. I think there is also canHitSource="true" that you can add to the weapon description.
Tutorial List on the Wiki and Installing Mods
Get on Discord for mod help and general chat
Image
Image
Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.
gunship256
Militia Commander
Militia Commander
Posts: 451
Joined: Sat Jul 25, 2015 11:41 pm
Location: repairing armor

artemisFowl made a weapon a few weeks ago that damage's the player's own armor when it's fired. Let me know if you're interested so I can remember to ask him for the code.
User avatar
TheLoneWolf
Militia Captain
Militia Captain
Posts: 802
Joined: Thu Nov 28, 2013 5:03 pm
Location: Aboard the CSS Radiant

gunship256 wrote:artemisFowl made a weapon a few weeks ago that damage's the player's own armor when it's fired. Let me know if you're interested so I can remember to ask him for the code.
You do that :D Thanks!
User avatar
TheLoneWolf
Militia Captain
Militia Captain
Posts: 802
Joined: Thu Nov 28, 2013 5:03 pm
Location: Aboard the CSS Radiant

RPC wrote:Yeah you can probably use SysCreateWeaponFire in <OnFireWeapon> to simulate the player killing themselves. I think there is also canHitSource="true" that you can add to the weapon description.
Won't that outright kill the player?
RPC
Fleet Admiral
Fleet Admiral
Posts: 2876
Joined: Thu Feb 03, 2011 5:21 am
Location: Hmm... I'm confused. Anybody have a starmap to the Core?

@LoneWolf:
It might, but I'm assuming that the weapon isn't something like a howitzer. If you want to remove a set amount of HP, use this function in the <OnFireWeapon> of the weapon:

Code: Select all

(shpDamageArmor ship armorSegment damageType damage ['noSRSFlash]) -> damage done
Tutorial List on the Wiki and Installing Mods
Get on Discord for mod help and general chat
Image
Image
Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.
User avatar
TheLoneWolf
Militia Captain
Militia Captain
Posts: 802
Joined: Thu Nov 28, 2013 5:03 pm
Location: Aboard the CSS Radiant

@RPC
You've put me on my way towards success! Thank ya :D

Dice range works?
RPC
Fleet Admiral
Fleet Admiral
Posts: 2876
Joined: Thu Feb 03, 2011 5:21 am
Location: Hmm... I'm confused. Anybody have a starmap to the Core?

From the functionlist:

Code: Select all

(rollDice count sides bonus)
Tutorial List on the Wiki and Installing Mods
Get on Discord for mod help and general chat
Image
Image
Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.
User avatar
TheLoneWolf
Militia Captain
Militia Captain
Posts: 802
Joined: Thu Nov 28, 2013 5:03 pm
Location: Aboard the CSS Radiant

Thanks again!
gunship256
Militia Commander
Militia Commander
Posts: 451
Joined: Sat Jul 25, 2015 11:41 pm
Location: repairing armor

TheLoneWolf wrote:
gunship256 wrote:artemisFowl made a weapon a few weeks ago that damage's the player's own armor when it's fired. Let me know if you're interested so I can remember to ask him for the code.
You do that :D Thanks!
OK - I just sent him a PM. I may not get a reply for quite a while - possibly not even until September.
User avatar
TheLoneWolf
Militia Captain
Militia Captain
Posts: 802
Joined: Thu Nov 28, 2013 5:03 pm
Location: Aboard the CSS Radiant

He's trying to do the opposite of hibernation, is he?
Post Reply