Binoculars problem


(Azyu) #1

I worked ‘drop binoculars(shrubet)’.
But, binoculars looks crash.
What’s the problem?


(Floris) #2

This is a bug on unpatched with shrubet 1.2test13 too, it appears the cvar table is messed up. at shrubet it was cuz patched source code removed a weapon called lockpick


(Jaquboss) #3

do you have set proper model for binoculars ?
you are missing it…


(Azyu) #4

Thank you, Jaquboss! and Florisjuh!
Now, It works well.


(Loffy) #5

Azyu, is Enemy Territory popular in Korea? Or is it only Warcraft and Counter-Strike?
//Loffy


(Azyu) #6

Maybe Starcraft and MMORPG Games :smiley:

But, many people also play ET.

Here is the biggest ET Forum in Korea!
(But, Written by Korean Letter - Hangul)
http://game.teamcscw.com


(Jaquboss) #7

Nice , you may also try to use some hack to rotate it , but I dont think that it’s important…


(jaybird) #8

How exactly do you go about displaying the model for this if you’ve dropped a binoculars item? I can drop it and pick it up fine, but can’t get it to display an actual model. I’ve been trying various things within the weapon_binoculars section of bg_misc.c with no luck.


(Azyu) #9

I tried this way.

Replace this code in ‘weapons/binocs.weap’.


		//pickupModel		""
		pickupModel		"models/multiplayer/binocs/binocs.md3"


(jaybird) #10

Heh, guess I could have done it the easy way :smiley:

Thanks.


(KillerWhale) #11

That would require a client download. There must be a way to do it completely serversided, like shrub did.


(jaybird) #12

That’s how I was trying to do it. But, my mod does have client-side mods already, so it doesn’t matter :smiley: