Jump to content

OBSE command auto activation


Eshenaleros

Recommended Posts

alright, in the OBSE, there's a script called setracealias. basically, it makes it so that whenever there's a race check in game (like, say, with Valen Dreth in the starting area) the game reads you as the race you choose rather than what you actually are. very useful for custom races, so that you don't get caught at some point.

 

however, it's application to custom races comes with a second problem - you generally have to open the oblivion construction set to check what your race ID is, and every time I try to open said set, it crashes my computer. I don't know why, and I can live with it, but mods such as integration: the stranded light almost require this for me, as they make a whole lot of race checks.

 

Is there a way to activate the script through something in game? perhaps a ring that changes your race alias when you put it on?

Link to comment
Share on other sites

I remember XEO uses 'SetRaceAlias' to make duplicated races being recognized as vanilla races.(That's why it requires OBSE..)

 

That is how-to..

- You have to make a quest that starts with the game.

- The quest has an attached script, like:

scn <Any script name you want>
begin GameMode

if ( GetGameRestarted || GetGameLoaded )
	SetRaceAlias <Custom Race EditorID> <Vanilla Race Editor ID>
		   ....(Repeat it for each cutom race you want)
endif
 
end

 

By adding the quest and attached script to your race mod, you can make certain race being recognized as vanilla race.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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