Jump to content

Modifing the Mass of objects.


true_predator

Recommended Posts

I have been trying to play catchup to the Elder scrolls modding since I last did anything back in Morrowind. The idea I'm working with now is a Carriage/Wagon type of house that is able to be pulled by either a companion that follows the player or a mount the player can use. I have had success looking into scripts and the Wiki and have managed to create this so far. ( really simply to do...honestly )

http://www.youtube.com/watch?v=PGySjlRvF88&feature=youtu.be

 

Course there are a lot of ideas one could do with this such as quest escorts, actually have to ride the entire trip when using a carriage, etc.. So to get a solid foundation I wanted to start basic and fix one little issue first. Thing I'm having some trouble with atm I'd like to get fixed is the rather bounciness of the wagon. Walking it works fine, running it doesn't bounce to bad but it can get rather wild at times and a full sprint on the horse really makes it jam! I have been working with nifscope and searching for how to change the mass of the wagon and I'm not really getting anywhere.

 

I'm not finding any articles or tutorials on the Havok side of modding so far. If anyone might know something or perhaps a way to change its mass in-game or through its .nif ( that is where I believe it lies at) I would greatly appreciate the help.

Link to comment
Share on other sites

After spending many hours trial and error I have made some difference in how the wagon reacts. I have managed to temper its extreme bounciness it no longer bounces crazy enough to flip on side but still has a hop to it. I will toy with what I learned on the Handcarts that go crazy when touched and see how it does with them. Im also looking for ideas on how to make the cart useable to execute a script for teleporting the player to a house cell and back again. Thats all coming after I get some more basics figured out but just a head start you know. :)
Link to comment
Share on other sites

I really love what you are working on and I think youve done a great job so far, the bouncing is actually pretty realistic but guess would be annoying during a quest^^

Anyway, you doing great here, keep up the good work :thumbsup: ( too bad I cant be of any help tho )

Link to comment
Share on other sites

Physics: I can make the handcart calm down somewhat but its not super realistic but it wont zip off into the air:

To cheat I made the wagon a door which it will still works as in the horse will pull it behind it and you can activate the wagon to go to a house (I simply linked it to a door outside)

 

Now the return door I'm aware you cant move those door marker references so I tried a script to make the door upon activation send the player to the cart (or even horse) and this is where I'm having trouble.

 

ObjectReference property wgnloc auto
Event OnActivate(ObjectReference akActionRef)
     Game.GetPlayer().moveto(wgnloc)
EndEvent

 

I'm not at my workstation atm but using this script (well a good idea of it I cant remember off top of my head what I have set) in a door doesn't seem to activate it using a debug message doesn't pop up. I think I need to use BlockActivation but I don't know how to apply it to the door. Or use an activator im still learning so I appreciate the help

Edited by true_predator
Link to comment
Share on other sites

  • Recently Browsing   0 members

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