Jump to content

Adding Item Effects


Milata

Recommended Posts

I had the forum editor open while I was typing mine up. When I was done I just dropped it into the editor and hit the firing button. Oh well he hasplenty of info on how to do it now! :)
Link to comment
Share on other sites

Im saying in the future if i can think of an idea for one, and right now im trying to think of one, make an entirely new effect, if possible
Link to comment
Share on other sites

Im saying in the future if i can think of an idea for one, and right now im trying to think of one, make an entirely new effect, if possible

 

This is the object script used by the Jack's Rebreather you get from him at Nellis. I cleaned it up by deleting all the lines that were commented out already.

 

scn VMS15RebreatherScript

int iEquipped

begin OnEquip player
player.AddSpell VMS15WaterBreathingActual
set iEquipped to 1
end

begin GameMode
if iEquipped == 1 && Player.GetEquipped VMS15Rebreather == 0
	player.RemoveSpell VMS15WaterBreathingActual
	set iEquipped to 0
endif
end

 

To use this script you have create your own equipable item then change the Item ID in the script from "VMS15Rebreather" to your own item ID. I made a Deep Sea Explorer Suit by taking the anti-radiation suit and adding a modified version of this script (with my own item ID) so it added water breathing when my suit was equiped. It's very simple once you know how to do it.

 

If you filter on "breath" and select "All" objects in GECK you'll be able to find all related objects if you are curious about looking at everything in more detail. You don't need to duplicate the effects for the VMS15 quest because they aren't going to change, just make your own copy of the script and change the item ID is all you need, you can continue to use the VMS15 "spell" (a holdover term from Oblivion no doubt, as this is the same engine)

Edited by drakeelvin
Link to comment
Share on other sites

Thanks, How would i go about making my own effect?

 

 

You mean like adding a whole new effect that does not exist in the current game or is available in the GECK? Well I suppose like the rebreather thing you could script an effect. If your effect used special effects not currently available then you would need textures maybe meshes etc which is a whole completely different style of modding using a completely different set of modding tools.

 

What is this specific effect you are thinking about?

Link to comment
Share on other sites

Never mind, the effect i want is already somewhat in the game, Right now im thinking of an effect that over time fixes crippled limbs and runs on Fission Battery's
Link to comment
Share on other sites

Never mind, the effect i want is already somewhat in the game, Right now im thinking of an effect that over time fixes crippled limbs and runs on Fission Battery's

 

 

I think the first thing I would do is see how the Dr.s bag works. If it is a script adapt the the script to fit what you want and assign it to your batteries.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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