Blockland Forums > Modification Help
Orthographic weapons...?
(1/2) > >>
YoshiDude:
If it's something really obvious, then please forgive my stupidity.
I've tried both of these

--- Code: ---doRetraction=false;
item=BowItem;

--- End code ---
so far, but they do nothing related to my problem.

Some tools, like the Hammer, Printer, and Wrench, are "welded" to the screen, in the way that it is constantly on the hud and not moving with the up/down aiming. Some weapons do this, too. For example, the Old-School Rifle does this. I've gone through the .cs files of multiple weapons that do this, and still couldn't figure out exactly how this is done. How can I do this?

EDIT: If this is searchable on the forums, please forgive me once again, because I have no idea what to type down for results having to do with this.
lordician:
Asking questions is never stupid.
Those who do not ask are stupid.

To the question at hand:
I do not really get it, don't all weapons and tools go with your screen when you aim up or down?
YoshiDude:

--- Quote from: lordician on June 06, 2011, 05:46:47 PM ---Asking questions is never stupid.
Those who do not ask are stupid.

To the question at hand:
I do not really get it, don't all weapons and tools go with your screen when you aim up or down?

--- End quote ---
Try aiming up and down with the Hammer, then do the same with the Gun. The Gun has an inconsistency, but the Hammer remains at the same exact position on the screen.
Plornt:
Screw with the eyeOffset values.
YoshiDude:

--- Quote from: Plornt on June 06, 2011, 06:51:03 PM ---Screw with the eyeOffset values.

--- End quote ---
Trying this.
EDIT: Worked. Thanks.
Navigation
Message Index
Next page

Go to full version