nzukowski Posted August 16, 2022 Share Posted August 16, 2022 I've got a custom cell with pretty close quarters that has a number sentries/assaultrons is there a way that I can keep them from blowing up in the player's face or at least drastically reduce the damage of the blast when they go off? -Thanks Link to comment Share on other sites More sharing options...
LarannKiar Posted August 16, 2022 Share Posted August 16, 2022 (edited) The hierarchy looks like this: Every robot (e.g., Takahashi) has a Race (ProtectronRace). Race has a Spell (AbRaceProtectron). Spell has an Magic Effect (abProtectronRaceEffect). Magic Effect has a Papyrus script (abProtectronSelfDestruct). abProtectronSelfDestruct extends a script called RobotSelfDestructScript. Since abProtectronSelfDestruct extends RobotSelfDestructScript, abProtectronSelfDestruct can call the Papyrus script functions of RobotSelfDestructScript. The actual destruction sequence is in RobotSelfDestructScript. abROBOTRACENAMESelfDestruct scripts call it. is there a way that I can keep them from blowing up in the player's face If you want to completely remove the effect, you can comment out the unwanted lines with ; in the scripts. or at least drastically reduce the damage of the blast when they go off? -Thanks The damage is defined in three Explosions: robotSelfDestructExplosion, robotSelfDestructExplosionLarge, robotSelfDestructExplosionSmall. These are Script Properties of the abROBOTRACENAMESelfDestruct scripts. You can edit the Damage and Radius values of these Explosions. Edited August 16, 2022 by LarannKiar Link to comment Share on other sites More sharing options...
nzukowski Posted August 16, 2022 Author Share Posted August 16, 2022 After some sleep I realized the above is a little misleading the npcs aren't actual sentries/assaultrons but are enemy npcs I have made that use the sentry race and template (and some that use the assaultron). I'm going to experiment with changing the race and templates to different types of bots. Even if that works I would still like to know how the sentry explosion and assualtron self destruct mechanic works and/or what controls it, could you modify it to have something else occur/trigger at the npc instead of an explosion (like having a bloodworm spawn in at the spot where the enemy is killed). Link to comment Share on other sites More sharing options...
nzukowski Posted August 18, 2022 Author Share Posted August 18, 2022 (edited) Awesome. Thanks! That was extremely helpful. Especially the hierarchy part, figuring out how certain things are structured in the ck can be quite bedeviling (for me at least). Thanks again! Edited August 18, 2022 by nzukowski Link to comment Share on other sites More sharing options...
Recommended Posts