Jump to content

Want to mod new crafting activator (does not work =/ )


Thorbsten

Recommended Posts

hi everybody

 

i just started modding a new crafting-activator (same like a workbench, campfire, or reloadingbench) for chems misc and explosives.

made the items , recipes, recipe category, a script for the activator, and finally the activator.

the items work fine

recipes are visible ingame via player.showrecipemenu (if the recipe category isn't defined in GECK)

 

but...

 

the crafting activator can't be activated

and if the recipe category is defined for the recipes in GECK, NV crashes when trying to see the recipe in player.showrecipemenu by clicking on it.

 

i'm desperate... :confused: pls help this would help me a lot :yes:

 

here is the script for the activator:

 

ScriptName CraftingLabortryScript

; Launches crafting interface for recipes in the "Labortry" category.

Ref  User

Begin OnActivate

    Set User to GetActionRef
    If GetActionRef != Player
         User.Activate
    Elseif GetActionRef == Player
         player.showrecipemenu Labortry
    Endif
End

Link to comment
Share on other sites

I have done what you want to achieve in my mod. It might be of help taking a look at it?

 

The recipe category was needed being utilized.

 

Edit: Does the mesh of the activator item have a collision box?

 

don't know; i used the chemistryexperiment01.nif mesh

 

would you show me that mod pls?

Link to comment
Share on other sites

That's the same vanilla mesh I am using. My mod is linked in my signature (Marijuana Plant).

 

What you're searching for would be the 'cannabisextractor'.

 

ah thx i will check this out

and use it =D hope it'll work or i'll get mad of frustration, even can't get no f+cking weed in my city bcoz everybody got caught by cops :wallbash:

Link to comment
Share on other sites

That's the same vanilla mesh I am using. My mod is linked in my signature (Marijuana Plant).

 

What you're searching for would be the 'cannabisextractor'.

 

ah thx i will check this out

and use it =D hope it'll work or i'll get mad of frustration, even can't get no f+cking weed in my city bcoz everybody got caught by cops :wallbash:

 

 

It's a pleasure!

 

You'll get surely frustrated... Feel free to add a comment or an endorsement on my modpage if you like my mod! :)

Edited by MadNuttah
Link to comment
Share on other sites

hehe, I ripped off Mad's script to be able to carry my distiller.

 

Modding is awesome...

 

at the end of the ability to get something working. The process from start to finish. hang on theres a you tube video. One sec..

 

OK, heres the dealio

 

http://www.youtube.com/watch?v=xZLCoYrmZwk

 

I gave him a kudo's though. Also if you do any modding it alwas helps to reverse engineer. NEVER build the wheel again. Just make it your demensions though. Thats computer programming 101.

Edited by Floatsup
Link to comment
Share on other sites

  • 11 months later...

If you want to instead of creating a new script for that just take the campfire script and copy the player.showrecipemenu CampfireRecipes to player.showrecipemenu Labortry. I do it in this tutorial at 5:00.

This also goes into detail on how to do the whole process if you want a step by step.

http://www.youtube.com/watch?v=YIZcC1cV828&feature=g-upl&context=G2b1ebe8AUAAAAAAAAAA

Edited by Rexdorchester
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...