Jump to content

Auto-Inject Stimpak CTD upon use?


TimeShadow

Recommended Posts

Have created an Auto-Inject Stimpak (thanks to tips from jazzinparis) but every time it auto-injects the game crashes.

 

This for some reason it's caused by the Base Effect that I created. It's just used for the name, so I checked 'Display Name Only', 'Self' and 'Touch' using the 'Effect Archetype' Value Modifier and nothing else. If I don't use this then name 'Auto-Inject at 50% Health' is not displayed in the Pipboy.

 

When I add this Base Effect to the Ingestible item the game crashes upon use, without it no problem.

 

Does anyone have any thoughts on this and perhaps there is another way to display the name without using the Base Effect?

 

Any help is very much appreciated.

 

~TS


Link to comment
Share on other sites

You should only need 'self', but you could try what I did to show an effect name with a 'dummy' base object:

Name: Wendy Skill Bonus

Flags: self

Archtype: Value Modifier

Actor Value: Variable08


Then on the top menu under Character -> Actor Values, change the 'in-game name' and 'Abbreviation' of Variable08 to whatever you want.


edit - another thing you might try with what you already have - shorten the name, starting with a few characters and see if it doesn't crash. Maybe there is a character limit. Or the percent sign. Never know :)
Link to comment
Share on other sites

  • 3 weeks later...

You can add a dummy base effect and give it a heal effect (or any effect with timer) give it a magnitude of 0 for 18 sec. Set the name and in the base effect tab for "My effect" check Display Name Only. Add that to your item. For 18 sec in your effect panel in pipboy will say "My Effect" and then a text message appears effect expired.

Your CTD might be caused by running multiple scripts on same item.

castimmediatelyonself is used to cast actor effects and simulate ingestible or spell or alcohol or chem effects or any temporary effect. You cannot use it for permanent effects that is an ability and for that you can make a perk marked as not playable and add the ability to the perk and add the perk to the player will give the player permanent effect.

 

Note : cast immediately on self casts actor effects ..thats the muscly gray hand icon not the black hat icon that is a base effect. You need to apply the base effect to an actor effect and use the actor effect on the player. Always works like that.

 

if you check Display Name Effect only will now display the base effect applied to actor effect but will display whatever name you give the actor effect or deleted or a sound or mesh is missing

if you check Script Always Applies no effect is listed ever in the effects panel.

 

 

Copy and paste your code and we can figure out why is crashing. Likely a duplicate script . That ALWAYS CTDs. You may be trying to use or cast wrong ability or on wrong reference or reference is disabled.

Edited by africaisstarving
Link to comment
Share on other sites

  • 3 months later...
  • Recently Browsing   0 members

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