Results 1 to 7 of 7
  1. #1
    MSgt. Shooter Person
    Join Date
    Oct 2008
    Location
    Wisconsin, United States
    Posts
    145
    Gamer IDs

    Gamertag: ShadowlurkerCoB

    Default How do i, keep turning up a value?

    I want to press a button over and over again and keep the amount going up on something how do i do this? Im not the greatest with programming i know very little so any help would be great!

  2. #2
    MSgt. Shooter Person
    Join Date
    Jan 2008
    Location
    Florida
    Posts
    255
    Gamer IDs

    Gamertag: Gorets

    Default

    Hey, shadowlurker, this is the easiest way to do this, in my opinion:
    1. In Kismet, Right Click --> New Condition --> Counter --> Int Counter. In its properties leave value a=0 and set b to whatever you need the amount to go up to.
    2. Connect your button pressing event to the counter
    3. Connect your Int Counter output that says A==B (or whatever the condition you want met) to the event that you'd like to be triggered when the counter reaches the designated amount.

    Hope this helps.

    Forsaken City (animation video)
    Chainsaw Duel (popular animation video)
    Tyro. Part 1.
    Tyro. Part 2.



    http://s1.battleknight.ru/index.php?loc=hire&ref=MTAzODEwOA==

  3. #3
    MSgt. Shooter Person
    Join Date
    Oct 2008
    Location
    Wisconsin, United States
    Posts
    145
    Gamer IDs

    Gamertag: ShadowlurkerCoB

    Default

    Thanks for the help! This kinda helps. Since many people have considered and are considering my mod too dark. Im trying to let them adjust the brightness in game. But i dont want it to be a constant toggle on more lights or toggle dynamic channel. I dont know if its possible to change the properties of the lights is it? Thanks gorets.

  4. #4
    MSgt. Shooter Person
    Join Date
    Mar 2008
    Location
    Dallas,TX
    Posts
    203
    Gamer IDs

    Gamertag: N4RLYT337H

    Default

    Quote Originally Posted by shadowlurker View Post
    Thanks for the help! This kinda helps. Since many people have considered and are considering my mod too dark. Im trying to let them adjust the brightness in game. But i dont want it to be a constant toggle on more lights or toggle dynamic channel. I dont know if its possible to change the properties of the lights is it? Thanks gorets.
    maybe you can add a skylight (ActorClasses>light>skylight) and make it really dim (about .4 in brightness).

    you can also use post-processing to change value levels of the world you are rendering. (View>world properties>world info>default post-processing>scene highlights, midtones, and shadows.) you can adjust the individual channels from there.
    Hey terminator fans check out the FPS: Terminator mod especially if you like first person shooters.

  5. #5
    MSgt. Shooter Person
    Join Date
    Nov 2007
    Location
    insideToMy
    Posts
    175

    Default

    maybe you MUST add a skylight

  6. #6
    MSgt. Shooter Person
    Join Date
    Jan 2008
    Location
    Florida
    Posts
    255
    Gamer IDs

    Gamertag: Gorets

    Default

    Well, I can think of 2 ways of adjusting brightness in a map - a simple one and a little more compex one but with a dimming effect. I'm planning on making a full video tutorial on that topic, but here's the headlines:

    1. Simple.
    Place 2 togglebale point lights (you can find them in Generic Browser's Actor Classes --> Light) - 1st with brightness to whatever you initially do, 2nd with brightness, say, 2.000. Disable the 2nd light (in its properties). In Kismet, New Action --> Toggle --> Toggle and connect the 2 lights to the Target variable. Connect your button pressing to the Toggle input (not "Turn on" or "Turn off, that's important) and you're all set.

    2. Complex
    Only 1 light is needed. Use Matinee. In Matinee add New Float Property Track for your light and pick Brightness. That way you'll be able to adjust brightness with a cool slowly dimming / getting brighter effect.

    These techniques can be used for 3 levels of brightness adjusting, but you'll need to make a script that monitors which of 3 states you're in now, which, in my opinion, is not worth the trouble. But anyway, hope this helped.

    Forsaken City (animation video)
    Chainsaw Duel (popular animation video)
    Tyro. Part 1.
    Tyro. Part 2.



    http://s1.battleknight.ru/index.php?loc=hire&ref=MTAzODEwOA==

  7. #7
    MSgt. Shooter Person
    Join Date
    Oct 2008
    Location
    Wisconsin, United States
    Posts
    145
    Gamer IDs

    Gamertag: ShadowlurkerCoB

    Default

    Thanks for all the help guys. I might end up using a skylight then disabling it and use the toggling.


 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •