View Full Version : Need help in making a countdown timer
PuppetMaster120
12-13-2009, 09:54 AM
Hey guys am new to the unreal community and am having some difficulties with this countdown mechanic that i am trying to implement.
Basically what i want is, once the player has touched the trigger the countdown will start up and an image will appear on a monitor (the monitor is a static mesh actor btw which i wnna link to the countdown trigger) has some texture or something like that.
Once the countdown reaches to 0 i want the lasers which have I made to move contually move which basically traps the player.
If you could guide me in th right direction i would really happy.
Thanks some much guys
Nawrot
12-14-2009, 06:18 AM
First learn about materials from hourences tutorials:
http://www.hourences.com/book/tutorialsindex.htm
Start with tutorials about material instance, then look into snippets, there is one you may find useful "Use Trigger, Console Command, and Set Bool", modufy that one to use integer as counter and pan or change your material.
Beastenator
12-14-2009, 06:58 AM
So basicly what you want is a trigger, it activates a timer, when it's done a trap activates and shreds the player. I think i can show you how to do that. let me play a bit with kismet =P
PuppetMaster120
12-16-2009, 08:34 AM
cool thx nawrot and beastentator if u could to do then it will help me alot, cheers guys
Beastenator
12-17-2009, 10:00 AM
ok, made a room with a working laser in it. Use matinees for timers, not delays, because you'll get replication issues in a online game.
(got a bit sidetracked with lighting and decorating btw, feel free to use anything I made in that little map.)
Download (http://www.filefront.com/15154077/DM-Laser.ut3)
ADPdirty
12-18-2009, 12:47 AM
Do you always get replication issues with online game-play when using delay ?
If so then it would give me some answers to my past problems, but not solve them (i'd have to try to confirm that)
Thanks
PuppetMaster120
12-18-2009, 09:30 AM
Your kismet sequencce doesn't seem to work i get the following warning messages
StaticMeshActor_51 Actor has bAcceptLights set but only uses unlit materials
StaticMeshActor_50 Actor has bAcceptLights set but only uses unlit materials
InterpActor_0 Actor has bAcceptLights set but only uses unlit materials
When touching the trigger the laser doesn't appear after 60 seconds
ADPdirty
12-19-2009, 02:17 AM
Select reported object's and disable its bAcceptLights in its properties.
Warning is self explanatory :) It uses material that does not need light, yet it accepting it.
post link to your map file (dont cook it, just compress to zip or rar), ill take a look at it, maybe ill find your issue
OR
1st Make sure you using trigger volume
2nd Check volume's collision. Touch all should fix it depending on what you trying to accomplish.
OR
Post screenshot of your Kismet Setup of that timer you having an issue with so we can take a look.
Good luck
Beastenator
12-19-2009, 05:25 AM
those are just lighting issues, it should work regardless of that, what i made should be allong the lines of what you need to do. basicly make a mover that actives after 60 seconds when the trigger has been enabled
Tested again, it works.
ADPdirty
12-19-2009, 05:48 PM
Good.
Sometimes thinking that its obvious and has to work because it seems logical and you 100% sure it will, IT DOESNT.
Sometimes i'd have to rebuild ALL while making changes in Kismet (Weird and extremely rare)
I guess you just had one of those "sometimes" moments lol :D
Beastenator
12-20-2009, 02:44 AM
Well I changed nothing, and it did work. oh, by the way, make sure the triggercount is set to 0, I may have forgotten to do that
PuppetMaster120
12-20-2009, 10:47 AM
Hey guys i've just re-tested the sequence and now its working, all i did was lowered the counter time and set the MaxTrigger count to 0.
Thx you guys for the help and support :D
Peace out and have great christmas
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.