Author Topic: Tool_NameGun - Names bricks easily  (Read 14103 times)

It's based in the engine, so I'm not sure that's possible. We also don't have the source code to that kind of tool, so we can't make our own easily. (The Sword Slice is a projectile and goes through raycasting bricks)

It's based in the engine, so I'm not sure that's possible. We also don't have the source code to that kind of tool, so we can't make our own easily. (The Sword Slice is a projectile and goes through raycasting bricks)

Its not based in the engine really. There's just a special typemask which will get all objects whether they're raycasting or not, so the tool raycasts just use that typemask instead of the standard fxBrickObjectType one, which is what projectiles use.

Oh, I assumed it was a special function since there was something to do with weaponImage::onHitObject.

In that case, it'd be instant hitting at range and possibly not affected by your speed (without trigonometry, vectors etc. to see how far off it should be), do a raycast with either $TypeMasks::FxBrickAlwaysObjectType (all kinds of bricks but scans through players, statics, etc.) or $TypeMasks::All (every object).

You might want to use the showBricks field (I think, it's something similar) in the weapon image to make it show brick outlines as well.

Oh, I assumed it was a special function since there was something to do with weaponImage::onHitObject.

Thats just a callback so people can package the effects of the tools, otherwise all of that would be handled immediately after the raycast which wouldn't be packageable.

Yes, I understand it now.

Ohthankgod. I NEEEED this SOOOO badly, it's not even funny. THANK YOU.

... Is it too much to just hit the brick with the wrench?


... Is it too much to just hit the brick with the wrench?
If you don't want to use the increment feature, then use a wrench.

i like it but it seems like but it is kinda of pointless cause all it does it make naming bricks faster but its still good i'll dl

i like it but it seems like but it is kinda of pointless cause all it does it make naming bricks faster but its still good i'll dl
Well what do you want it to do? Its a brick naming gun, of course all its going to do is name bricks.

You should have use the "gun" instead of the printer.

If you're relating that to the name, the item name for Printer is actually printGun.

Make new version where you get to shoot events into bricks, then you'll get like a download from everyone who plays this game.
K? Bai!

That would be a different type of tool.
This is NameGun, not EventGun.