Blade & Sorcery
Modifying Weapons
So there's tons of weapons in the game, some not even accessible in the spawn menu without mods. For example is the dagger T1, the base dagger found on the table in the starting room is actually a T2. Anyways I want to make the dagger T2 gravity disabled, there's a specific bit of its file that can be changed to false which disables gravity. My issue is that the second i pick up the item or use telekinesis on it, gravity is permanently enabled on that dagger. How can i make it permanently not have gravity?
< >
Показване на 1-8 от 8 коментара
Yeah, some are hidden in other directories I think. You can't get at them.

As for gravity, I have absolutely no idea if this is even possible yet. Siilk might be able to help you.
Im not sure who siilk is, but theres a really simple bit of every weapons file that says "useGravity: true" and I assumed that changing to false would make the item have no gravity
He's a modder who made the SharpAI mod, makes good stuff. You'll find him on here on the forums, maybe ask him. I have no experience modding B&S.
I'm not sure what you mean by gravity. If you mean weight, there is a value for mass in the item file. You should be able to set it to zero.
I've tried messing with mass but even setting it to 0 still doesn't make it float in the air, it does give it weird properties to pass through things and such though
Първоначално публикувано от DrySniperWolf:
I've tried messing with mass but even setting it to 0 still doesn't make it float in the air, it does give it weird properties to pass through things and such though
From what I know, modifications like that are not possible through changes to the weapon JSON definition alone. You would've had to modify parameters of the RigidBody component of the weapon prefab. But it is only accessible from the project source, which is, obviously, not available for B&S. Your best option is to create your own weapon mod for that purpose, where you will have full access to all the RigidBody parameters.
I have no clue how to do that, is there a specific program I can use? I just want to create a copy of the longsword for example but make it float without gravity, but still have the same mass and weight
Първоначално публикувано от DrySniperWolf:
I have no clue how to do that, is there a specific program I can use? I just want to create a copy of the longsword for example but make it float without gravity, but still have the same mass and weight
You will need Unity editor 2019.2.9f1[unity3d.com] and B&S SDK[github.com] for the modding work. You can check out the modding wiki[github.com] for modding tutorials and other useful info and also join modding channel of B&S Discord[discordapp.com].
< >
Показване на 1-8 от 8 коментара
На страница: 1530 50

Дата на публикуване: 27 март 2020 в 20:28
Публикации: 8