Home   Help Search Login Register  

Author Topic: View through Sniper Scope  (Read 785 times)

0 Members and 1 Guest are viewing this topic.

Gravedigga

  • Guest
View through Sniper Scope
« on: 28 Dec 2002, 21:22:30 »
My 1st post, wondering how to do the following:

a. Sniper (resistance sniper rifle) ontop of tower, aiming at a moving civilian. Camera angle through scope (i.e cross-hairs) following civilian's movement

b. Sniper fires after short pause and civilian...err...dies! Also seen from perspective of cross-hairs.

  This is FAR too complicated for me, but I thought some1 here might be able to do it!  Sorry if put this in wrong forum, I'm new to scripting and this website, but your tutorials are v. helpful!  :)

Thx in advance!

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:View through Sniper Scope
« Reply #1 on: 28 Dec 2002, 21:43:19 »
go to da TUT zone in da editors depot - in da cutscense part dere is somthin called switchcamera TUT by lilmat (n me ;D) - it have all u need  :P  ;D

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Gravedigga

  • Guest
Re:View through Sniper Scope
« Reply #2 on: 29 Dec 2002, 14:24:21 »
I found the script, which is just what I want....but the sniper does not target the civilian when I use 'dotarget' in script.

Basically u see the ground through the sniper scope until the sniper gets the command 'dofire' when the sniper jerks his gun up and shoots the civilian. There is no bit in-between when the sniper 'follows' the civilian's movement with his scope....he just targets him and fires at the last moment

This probably sounds really complicated, but could some1 give me a few ideas on how to 'see' the civilian through the scope before he gets shot, instead of the ground!

Thx!

Gravedigga

  • Guest
Re:View through Sniper Scope
« Reply #3 on: 29 Dec 2002, 15:36:04 »
Perhaps it would be better if I put the script I am using up: I must warn u though that it is 1 of the 1st scripts me ever used, so most of it is probably garbage!



_cam = "camera" camcreate [0,0,0]
_cam cameraeffect ["internal", "back"]
snip dotarget c1
_cam cameraeffect ["terminate", "back"]
snip switchcamera "internal"
snip switchcamera "gunner"
titlecut["","black in",1]
~10
snip dofire c1
@ not alive c1
~5


Basically I want 'snip' to target 'c1' through scope before he shoots him, i.e I can see the civilian through the gun sights

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:View through Sniper Scope
« Reply #4 on: 30 Dec 2002, 03:25:14 »
gonna help u - so put me in da credits ;)  ;D (seeking fame :D)

i think (nothing 4 sure) dat ur main prob is dat da civilian is not enemy  :-X so da sniper dont realy wanna target him  :o - tru editing da mission.sqm file nd making his side da enemy side of da sniper (open da file wid text editor finde da unit nd change its side 2 west (if da sniper is east) or east (if sniper is west) now make sure da sniper holds fire or he wil fire on first sight ;)

LCD OUT


"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Gravedigga

  • Guest
Re:View through Sniper Scope
« Reply #5 on: 31 Dec 2002, 11:56:02 »
It seems to be working sofar........I'll scream and scream and scream if I need your help again!

   Thx LCD, I'll put u in the credits and distribute it amongst my massive fan base

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:View through Sniper Scope
« Reply #6 on: 31 Dec 2002, 16:32:40 »
LOL
 ::) ::) ::)

Kool

 ::) ::) ::)

:cheers::cheers::cheers::cheers::cheers::cheers::cheers::cheers::cheers::cheers::cheers::cheers::cheers::cheers::cheers:

Hapy new year

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta