Jump to content

Nightvision mod


Mirilion

Recommended Posts

I made a tiny mod that adds nightvision to orcs and elves (my AD&D heritage).

Seems like I have to create a new character for this, as my elf character doesnt get any new ability, while a new char does have it (its in the racial abilities table when choosing race).

Is there a way to implement this in an existing character ? I tried the getspell function in the console, but no go.

Link to comment
Share on other sites

im quite sure it wouldnt be getspell, it would be getability, did you drag and drop the ability/spell into the race ability/spells thing, on the thing you click to see the classes/races/animations, click on races, look for the race you want to add it to, and drag and drop it, then it should work.
Link to comment
Share on other sites

I created a new spell, elven sight, that is classified as an ability, and has a night eye 20 pts effect (maybe thats too much but its not the point...)

I added the spell to the elven race templates ( all of them, and orcs too :lol: )

then saved.

When adding the plugin with the launcher, and creating a new char, everything is cool. My problem is adding it to an existing char, and "getability" console command doesnt exist :( .

 

*It would be nice to give argonians permanent water breathing, too.

Link to comment
Share on other sites

Ahem... The command is "AddSpell." You can either just run that command through with the new ability's ID as an argument or add the following as a startscript to avoid potential conflicts that arise when editing race attributes:

 

Begin excuse

 

; Sorry, been playing Deus Ex 2 for the last few days

; It's a good game... Short, but good

; Isn't quite as open as Morrowind, but does compensate lack of choices with more support for each option

; ...Although it does bug me that there's no way to go Tong's route from the beginning or ally yourself with the Omar in any solid manner

; ...Also saw that movie... The Butterfly Effect...

; The words "Doesn't Suck" are echoed when you enter a certain cheat in Doom... I think that applies with that movie

; ...Although some have thought that "phat" was a more fitting term

; ...Coming up, the "national obesity epidemic" and how it affects your taxes...

; Double-yew-tee-eff... I changed the channel on that whopper right after they said "Anti-Black Unit."

; ...And on the other channel was the chief of police being forced to resign for including blacks in his description of criminals as "sons of b----es."

; I'm starting to believe that guy about the flouride in the drinking water.

; Long Live Comment-Blogging!

 

If ( PCRace == 3 )

Player->AddSpell "###ABILITY_ID###"

ElseIf ( PCRace == 4 )

Player->AddSpell "###ABILITY_ID###"

ElseIf ( PCRace == 8 )

Player->AddSpell "###ABILITY_ID###"

ElseIf ( PCRace == 10 )

Player->AddSpell "###ABILITY_ID###"

Else

Player->RemoveSpell "###ABILITY_ID###"

EndIf

 

End

 

...Of course, if you want to make the Night-Eye effect fade in and out depending on time and other conditions, you'll have to beef the script up a bit more. In its current state, it will just add the spell every frame (Will not result in much performance degredation and will not mean that the spell's effect grows with every frame, but is generally unclean).

Link to comment
Share on other sites

naa Morrowind is the only game for me, at least for the next few months...

Huge rpg's are much better than fps's IMHO.

I love the fact that I keep getting new ideas about what to, like new quests or places to explore, but I save them for later because I still have a lot of stuff I wanna try first.... simply awsome.

Link to comment
Share on other sites

The graphics are good, but I wouldn't go as far as saying they're better than Half-Life 2 -- besides, unless you have some sort of time machine (I know what you're about to say, and no, that won't do it either -- it's out of date and most likely lacks most of its graphical ability), you have no way of comparing anything to Half-Life 2, unless you're relying on the E3 presentation.
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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