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: prospero, Ade

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

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

Post by Sryml »

cieply wrote:
Mon Feb 15, 2016 1:18 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.
Fear can hold you prisoner. Hope can set you free.
My YouTube: https://www.youtube.com/channel/UCg0SHO ... P3FdZLWzpQ

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

SetDefaultMass

Post by cieply »

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: 190
Joined: Tue Aug 28, 2012 12:50 pm
Location: China
Contact:

Re: SetDefaultMass

Post by Sryml »

Try remove the "BODpak" cache file in the /pak folder. :roll:
Fear can hold you prisoner. Hope can set you free.
My YouTube: https://www.youtube.com/channel/UCg0SHO ... P3FdZLWzpQ

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

Re: MAX SCRIPTS FOR BLADE

Post by Sgumby »

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.

Post Reply