TimeShadow Posted September 4, 2014 Share Posted September 4, 2014 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 More sharing options...
rickerhk Posted September 5, 2014 Share Posted September 5, 2014 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 More sharing options...
africaisstarving Posted September 26, 2014 Share Posted September 26, 2014 (edited) 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 September 26, 2014 by africaisstarving Link to comment Share on other sites More sharing options...
salomaogh Posted January 13, 2015 Share Posted January 13, 2015 (edited) @TimeShadow, I dont know if thats your case, but, just for the record, when i use player.equipitem [ingestible], CTD is immediate, player.cios [ingestible] does the trick. Edited January 13, 2015 by salomaogh Link to comment Share on other sites More sharing options...
Recommended Posts