Jump to content

Is there a way to keep a bot npc from going thermo-nuclear?


nzukowski

Recommended Posts

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 by LarannKiar
Link to comment
Share on other sites

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

  • Recently Browsing   0 members

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