1. #1

    shooter help.

    Hey guys I'm going to try explain this as best as I can.

    Basically I have a sniper shooter I'm working on, I have set up simulating rounds in the game.. Problem I'm having is with the "Lt" Button it zooms in to another camera to simulate a scope in, but what I want is at the end of the round I want it to disable so it zooms out and you can't zoom in untill a delay of 5 seconds when the next round starts again.

    So what I have done is from the generic filter I have done on true to a splitter so that I can hook up more effects obviously, but to turn the trigger to disabled so that its zooms you back out to the original camera when the round is over won't work.. I have tried doing and state off event one the trigger then a state on event with a 5 seconds delay to activate it again.. But that won't work for some reason which I thought it would.. Can anyone help? Thanks Hazard.
    Share this post

  2. #2

    Re: shooter help.

    I'd need more detail of your logic to suggest something I'm afraid. If you can describe it a bit more that might help.

    Also, splitters are rarely needed. At the bottom of each event is an option called "select event/filter" and you can use this to pass the impulse on from event to event and create a chain.

    So ditch the splitter
    Share this post

  3. #3
    dasraizer's Avatar Senior Member
    Join Date
    Apr 2014
    Location
    UK, Isle of Wight
    Posts
    1,195

    Re: shooter help.

    hi in the same impulse chain (use Select Event/Filter) that turns the button off, add a camera event to switch back to the non zoomed camera
    Share this post

  4. #4

    Re: shooter help.

    Hey guys! Sorry for delayed reply, I don't understand really what you mean das so what I will do is just give you guys the basic logic I have for the round..

    On the L,T press I have the zoomed in camera (scope) with a visibility event set to visible which gives me the scope sight thing. Lol. Then obviously the opposite on release.. So camera even set to the zoomed out camera and hidden visibility on the scope sight..

    For the rounds generator.. VDS (prim score) set value to increase the round.. Generic filter, interval trigger hooked to the filter, 6 set value's for the 6 targets for first round, hooked to another generic filter so when 6 have been registered on true to a VDS.. (This is confusing me) then basically it all hooked up to generate, I'm hoping this makes sense..

    So yeah that's what I have for simulating rounds and its working, just having trouble disabling and enabling camera.
    Share this post

  5. #5

    Re: shooter help.

    I feel like a wizard

    All sorted lads so no need to worry! Linked a VDS to the enabled box of the left trigger. Set the VDS to 1 so its enabled, then goes to 2 set values one on set 0 for when the generic filter is true so it disables (freezes) then 5 second delay set to set value 1 to enable.. Then simply a camera event to the zoomed out one with a 5 second delay to disable that camera, make sense? Well it works anyway

    Thanks though guys.
    Share this post