Cannibilism power and Moon Sugar power

Post » Wed Jun 20, 2012 4:55 am

I'm working on a mod called "Better Racials- Bosmer Edition" and one of the powers I'm going to give them, has to do with cannibilism. After they consume a corpse they go into a berserk type mode.

My question is. How do I accomplish this?


Another mod I'm working on is called "Better Racials- Khajit Edition." Once a khajit eats moon sugar they enter a berserk type state. Think of the last scenes of Scarface, where he's getting shot at and doesn't feel a thing.

How can I accomplish this?


Thank you in advance:)
User avatar
Juliet
 
Posts: 3440
Joined: Fri Jun 23, 2006 12:49 pm

Post » Wed Jun 20, 2012 4:35 am

The Bosmers are cannibals by nature? (Backs slowly away)
User avatar
Juan Suarez
 
Posts: 3395
Joined: Sun Nov 25, 2007 4:09 am

Post » Wed Jun 20, 2012 8:44 am

The Bosmers are cannibals by nature? (Backs slowly away)

Yes, they eat their dead. It's part of their culture.

Here's a link with some info:

http://www.uesp.net/wiki/Oblivion:Bosmer
User avatar
FLYBOYLEAK
 
Posts: 3440
Joined: Tue Oct 30, 2007 6:41 am

Post » Wed Jun 20, 2012 7:00 am

Well ritual cannibalism is one thing, but randomly snacking on uncooked bodies is another.
User avatar
Sarah Bishop
 
Posts: 3387
Joined: Wed Oct 04, 2006 9:59 pm

Post » Wed Jun 20, 2012 4:03 am

Thoughts:

For cannibals:
  • Create new Magical Effect (like one of the Effects from using one of the statues to the gods or Power Stones) - Exactly what you want this to do to stats/animations and whatever depends what you want the PC to do when they go berserk?
  • Create new Food item (Flesh)
  • Create script "OnUse" (I think it is?) for that food item that triggers the Effect on the Player when "eaten" - Check Player Race on execution
  • On death of NPC, create inventory item on NPC of Flesh. Player can pick up and eat
Easy to write in overview format ... No where near as easy to do ... Have a look at how Werewolf works for some "berserk ideas", maybe?

Moonsugar:
  • Same as above, but a little easier to do, as the Food Item exists already
  • Look at how the MS powers work now, this should help you see how to apply a new "power"
  • NOTE: I would clone the existing MS item and use that clone (Super MS) ... You'll probably get fewer issues ... Though you should be OK editing the existing variety ... Just becareful with the existing MS powers and note that you may run into "Dirty Save" issues if you alter the original.

GL and Have fun :)
User avatar
DAVId Bryant
 
Posts: 3366
Joined: Wed Nov 14, 2007 11:41 pm

Post » Wed Jun 20, 2012 8:51 am

beautiful h4vent, thank you, I too was looking for a way to make the Khajiit beserk little Kitties
User avatar
Mark
 
Posts: 3341
Joined: Wed May 23, 2007 11:59 am

Post » Wed Jun 20, 2012 3:30 am

Thanks for the input h4vent.


Thoughts:

For cannibals:
  • Create new Magical Effect (like one of the Effects from using one of the statues to the gods or Power Stones) - Exactly what you want this to do to stats/animations and whatever depends what you want the PC to do when they go berserk?
  • Create new Food item (Flesh)
  • Create script "OnUse" (I think it is?) for that food item that triggers the Effect on the Player when "eaten" - Check Player Race on execution
  • On death of NPC, create inventory item on NPC of Flesh. Player can pick up and eat
Easy to write in overview format ... No where near as easy to do ... Have a look at how Werewolf works for some "berserk ideas", maybe?


This sounds a bit complicated. I was thinking of making it work like in the vanilla game, you click on the body a menu pops up asking you if you want to feast. I'll try figuring out both ways.

Moonsugar:
  • Same as above, but a little easier to do, as the Food Item exists already
  • Look at how the MS powers work now, this should help you see how to apply a new "power"
  • NOTE: I would clone the existing MS item and use that clone (Super MS) ... You'll probably get fewer issues ... Though you should be OK editing the existing variety ... Just becareful with the existing MS powers and note that you may run into "Dirty Save" issues if you alter the original.

Originally I was thinking along the same lines, but how do I make it only work once a day?

Once again thank you for the input.
User avatar
Sophie Payne
 
Posts: 3377
Joined: Thu Dec 07, 2006 6:49 am

Post » Wed Jun 20, 2012 1:18 pm

Originally I was thinking along the same lines, but how do I make it only work once a day?

Once again thank you for the input.

Set a boolean like "AlreadyUsedMoonSugarToday" that resets at midnight, or on a timer.
User avatar
roxxii lenaghan
 
Posts: 3388
Joined: Wed Jul 05, 2006 11:53 am

Post » Wed Jun 20, 2012 9:38 am

Set a boolean like "AlreadyUsedMoonSugarToday" that resets at midnight, or on a timer.

Thanks for the help.
User avatar
Kevan Olson
 
Posts: 3402
Joined: Tue Oct 16, 2007 1:09 am

Post » Wed Jun 20, 2012 1:27 pm

...
This sounds a bit complicated. I was thinking of making it work like in the vanilla game, you click on the body a menu pops up asking you if you want to feast. I'll try figuring out both ways.
I think it would work either way, you need to test which way is easiest to link with the power and a racial check.

You may also want to think about StoryManager ... (I haven't thought this all the way through, but it is what struck me when I read your idea):

1. There is an SM Event for when an NPC dies and when it has been killed by the PC (and other conditions, so race of PC, race of NPC and so on).
2. You can get that event to start a Repeatable Quest
3. That Quest can be used to give the NPC a food item (or a menu item, to be fair, I think)
4. Somehow, using Quest Stages, you should be able to figure if the player has eaten the item generated and set via script the Power he acquired and how long for etc
5. If he does not eat, then the Quest would need to "finish" though ... and I'm not sure how you make that bit work.

Still ... if you can figure out the last bit, then doing it via SM and a Quest may give you an easier time (because it would "attach" to any NPC, and the exact NPC reference would be auto-passed to the "Quest"). And it may help make it easier to add more depth to your system (so, Elf corpses give longer duration power, or a different power, than Human ... or whatever).
User avatar
Honey Suckle
 
Posts: 3425
Joined: Wed Sep 27, 2006 4:22 pm

Post » Wed Jun 20, 2012 3:33 am

That does sound easier in theory, I'll have to try it out and post the results.

Thanks for your help. :)
User avatar
W E I R D
 
Posts: 3496
Joined: Tue Mar 20, 2007 10:08 am


Return to V - Skyrim