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!
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!
Hey, shadowlurker, this is the easiest way to do this, in my opinion:
- 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.
- Connect your button pressing event to the counter
- 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==
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.
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==
Thanks for all the help guys. I might end up using a skylight then disabling it and use the toggling.
Bookmarks