3 registered members (NewbieZorro, TipmyPip, 1 invisible),
19,045
guests, and 8
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: How can i make a snipper lens
[Re: Erick_Castro]
#264752
05/07/09 22:39
05/07/09 22:39
|
Joined: Jan 2008
Posts: 1,580
Blade280891
Serious User
|
Serious User
Joined: Jan 2008
Posts: 1,580
|
You need to make the lens as a panel and then just zoom in the camera, im pretty sure it says in one of the workshops somewhere how to do teh camera zoom, it would just be
camera.z += 5;
or similar
My Avatar Randomness V2"Someone get me to the doctor, and someone call the nurse And someone buy me roses, and someone burned the church"
|
|
|
Re: How can i make a snipper lens
[Re: Blade280891]
#264753
05/07/09 22:46
05/07/09 22:46
|
Joined: Apr 2005
Posts: 4,506 Germany
fogman
Expert
|
Expert
Joined: Apr 2005
Posts: 4,506
Germany
|
camera.arc does the trick.
no science involved
|
|
|
Re: How can i make a snipper lens
[Re: Erick_Castro]
#265545
05/13/09 04:42
05/13/09 04:42
|
Joined: Jul 2008
Posts: 553 Singapore
delinkx
User
|
User
Joined: Jul 2008
Posts: 553
Singapore
|
taken directly from the manual: function sniper() { while(1) { if(mouse_right) // right mouse button pressed { camera.arc = max(camera.arc - time_step, 30); // reduce fiel of view } else { camera.arc = min(camera.arc + time_step, 90); // increase fiel of view } wait(1); } }
|
|
|
Re: How can i make a snipper lens
[Re: darkinferno]
#265669
05/13/09 15:50
05/13/09 15:50
|
Joined: Oct 2007
Posts: 116
sydan
Member
|
Member
Joined: Oct 2007
Posts: 116
|
Your english is very good.
For some reason, my ambition always seems to beat my ability.
|
|
|
|