Author Topic: A few questions  (Read 919 times)

I modified some weapons to make their bullets travel slower for a top-down map I'm making. I was thinking of releasing the map/gamemode (whatever) to the public for kicks, but thats just the problem. I'm trying to make a copy of the modified weapons, but with slow bullets instead. I copy them, rename them, even change up the code to be a completely different weapon, but even though the weapon shows on the custom gamemode screen, it never appears on the list during game-play. You guys are smart right? How can I do that?
Also, Y no victim code for bots other than onbotinfected?

This means there is an error in your code, so it won't execute the scripts.

Put Blockland in windowed mode (if it isn't already) and watch the black command window while loading your server.
You can pause it by holding the scroll bar.
Wait until it starts to load addons and look for the name you gave your addon.
It goes from Z - A, so it loads weapons first.

You will see there is some text like:
There is syntax error in the code between the ##
-sniplet of code with some ##'s in it-


This way you can find out where the error is.
You can also look at the console.log but my way is faster.

Just press the ~ key and it will open an in-game console. Then look for errors loading your add-on.

Additionally, make sure that you changed the datablock names and UI name of the weapon.

Thanks, I'll give it a shot.