MAX SCRIPTS FOR BLADE

Talk about Severance Blade of Darkness modifications and maps here. No tips or tech support questions please, use the forum above. Note that the game is rated 18 so some content may be unsuitable for younger readers.

Moderators: Ade, prospero

User avatar
Sryml
Dragon
Posts: 114
Joined: Tue Aug 28, 2012 12:50 pm
Location: China
Contact:

Re: mass/density of model - how can it be controlled?

Postby Sryml » Thu Dec 27, 2018 7:14 am

No matter what I do with the material in 3dsmax it always generates the same model. I try to remove material and make new, all kinds of new ones and either it has no texture at all (which crashes game anyway) or it's as it was first time - so I'm stuck with a tiny piece of jewellery weighing 10kg.
Recently I found a function "Bladex.SetDefaultMass". It can change the weight of an entity. The effective way is to put it before creating the entity.

Code: Select all

Bladex.SetDefaultMass("ZombieLaborerAxe",2.0)
Once the entity has been created, it cannot be modified again.
Anything is possible!

User avatar
cieply
Dragon
Posts: 321
Joined: Wed Jun 26, 2013 3:43 pm

SetDefaultMass

Postby cieply » Wed Jan 02, 2019 4:16 pm

Does it work on class of objects?
I tried with Eclipse and didn't work.
Bladex.SetDefaultMass("Eclipse", 2.0)
e02=Bladex.CreateEntity("Eclipse02","Eclipse",char.Position[0], char.Position[1], char.Position[2],"Weapon")
e02.Mass
>>> 10.0
And so with other weapons.
When I use it on created object like
Bladex.SetDefaultMass("Eclipse02", 2.0)
e02.Mass
>>> 10.0
nothing changes either.
l'aria fresca,
vino puro, ...

User avatar
Sryml
Dragon
Posts: 114
Joined: Tue Aug 28, 2012 12:50 pm
Location: China
Contact:

Re: SetDefaultMass

Postby Sryml » Mon Jan 07, 2019 1:22 am

Try remove the "BODpak" cache file in the /pak folder. :roll:
Anything is possible!

Sgumby
Hatchling
Posts: 2
Joined: Fri May 24, 2019 12:19 pm

Re: MAX SCRIPTS FOR BLADE

Postby Sgumby » Mon Jun 03, 2019 9:16 am

I am still new to it so I believe it will take me some time to go through all those links. But I sure do believe it will be of great benefit to me.


Return to “Severance BoD: Modding Community”

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest