#How to mods CWSDK

62 messages · Page 1 of 1 (latest)

alpine cloud
#

Hello guys,
I need help !
I want to create mods on an old game.
To make a mod, you need and SDK dev by the community (in cpp en h)
Compile this mod with cmake to made a .dll
And load the mod with the mods launcher
No difficult on this

Buuuuuut
The creator of the SDK disapear and never create a guide on "How to use this SDK properly to make mods", then I need someone who can help me to clarify how this SDK work to make mods.
I got Mods example already existing and the SDK complete.

Really need help !

brittle grotto
#

Hi we met again

alpine cloud
#

hi

violet mantle
bleak havenBOT
#

@alpine cloud has reached level 2. GG!

alpine cloud
#

I got my licence 3 years of programming but i don't work in this domains

#

I talk about the Alpha not the beta

#

Sooo 3 years or more i didn't develop something

violet mantle
alpine cloud
#

fck me

#

Soo if someone is able to help me 🙂

violet mantle
#

did you check the instructions?

alpine cloud
#

yes

violet mantle
#

so what's the issue

alpine cloud
#

explain how it woks because it's not "clear" in my head

violet mantle
#

go through the steps, let us know at which step you get stuck

alpine cloud
#

how to start

violet mantle
alpine cloud
#

so ?

violet mantle
#

do you have the instructions open?

alpine cloud
#

no

violet mantle
#

ok then start there lol

violet mantle
alpine cloud
#

I don't know what you mention actually

#

I got this for the moment

#

I have to modify the dllmain.h and dllmain.cpp

#

But i don't have the logic to start

#

I would for the moment, enter F6 key
Launch a function who scan creature nearby the main player
And print the number in the tchat

#

very simple in logic

#

but to realize ...

violet mantle
alpine cloud
#

a friend who already makes mods on this game

violet mantle
#

why not ask them for help?

alpine cloud
#

He's always busy

#

I would not ask for help if he was able to

bleak havenBOT
#

@alpine cloud has reached level 3. GG!

violet mantle
#

did you setup your compile environement

#

are you able to compile and load the mod?

alpine cloud
#

cmake ? yes

#

Load yes

violet mantle
#

ok, can you explain how you compile and load the mod?

#

just to make sure you have a working setup before getting started

alpine cloud
#

Command in folder with the cmake file cmake --build build --config Release

#

I place the .dll generate in the folder Release in the mods folder of Cube World Game

violet mantle
#

do you have VS installed?

alpine cloud
#

yes

violet mantle
#

you should compile in VS

alpine cloud
#

too much bug

#

Cmake work perfectly

#

Don't need VS for this

#

Only to modify the code

violet mantle
#

you'll need to compile in VS if you want to read the errors and jump to the lines

alpine cloud
#

I clearly can read in the power shell if the compilation failed

#

the lines is mentionned and the errors so it's ok from this part

violet mantle
#

alright so what's the issue

alpine cloud
#

how to code

violet mantle
#

you can look at cwsdk.h to know what functions you can override

violet mantle
#

@alpine cloud did you fiture it out?

violet mantle
#

what are you stuck on?