[DiscordArchive] Is there a way to edit boss scripts or do I need to recompile each time? For instance I want to remo
[DiscordArchive] Is there a way to edit boss scripts or do I need to recompile each time? For instance I want to remo
Archived author: Prymetyme • Posted: 2024-05-03T17:25:19.830000+00:00
Original source
Is there a way to edit boss scripts or do I need to recompile each time? For instance I want to remove Lord Marrowgar bone spike. Can I do that any other way than editing the .cpp and then recompiling?
Archived author: Honey • Posted: 2024-05-03T17:27:23.177000+00:00
Original source
Changing boss scripts inevitably requires you to compile again. But changing a single script should take a couple seconds at most. Unless you press **re-**build, which isn't neccesary.
Another way to disable a spell is to use the `disables` table. It requires a `.reload conf` or a restart to take effect.
Archived author: Prymetyme • Posted: 2024-05-03T17:31:44.377000+00:00
Original source
I think the disables may be the easier route. I have always done re-build lol..didn't know there was another way. I am new to this only my second week messing around with this stuff
Archived author: Prymetyme • Posted: 2024-05-03T17:32:14.728000+00:00
Original source
With bots and other mods it takes like 25 min a rebuild
Archived author: Revision • Posted: 2024-05-03T17:32:20.265000+00:00
Original source
Never do a full recompile unless you're having issues that require it, which is fairly rare.
Archived author: Prymetyme • Posted: 2024-05-03T17:33:40.286000+00:00
Original source
Good to know. For the sake of learning how would I just compile that one script? Do I have to do the cmake stuff over again?
Archived author: Revision • Posted: 2024-05-03T17:34:17.609000+00:00
Original source
You only have to run cmake if you add or remove files or modules. You just hit build in visual studio (or run make if on linux) and it'll compile the changes and that's all you need.
Archived author: Revision • Posted: 2024-05-03T17:35:04.126000+00:00
Original source
Don't hit rebuild or clean, just build (again, if using visual studio)
Archived author: Prymetyme • Posted: 2024-05-03T17:35:12.275000+00:00
Original source
Ok
Archived author: Prymetyme • Posted: 2024-05-03T17:37:24.094000+00:00
Original source
Thanks for the help, I did some changes to other bosses and each time i was compleety rebuilding. This will save a ton of time