Macro11_1 Posted July 4, 2006 Yeah, This thing compliles and everything... But It dosent show up in zDooM. I dont know why... Id be much obliged to have some help on ACS :), Im making a map SORT of like Tormentor667 Stronghold. (yeah I cant get my own ideas, but hey, if you wana be nitpicky then id guess that ut03 was the first game with this style of gameplay.) Oh well, If no one wants to help ill understand. // This is my Script for Pirate.wad #include "zcommon.acs" int x; Script 1 OPEN { int time; time = x; time = (1*10)-1200; While (x <= 1200) delay(350); HudMessage (s:"there is: ", d: "time", s:"left"; HUDMSG_PLAIN, 0, 0, 0.5, 0.0, 1); x++; }Good day! 0 Share this post Link to post
Kaiser Posted July 4, 2006 try changing the keyword OPEN to ENTER and see if it starts up or not. 0 Share this post Link to post
Macro11_1 Posted July 4, 2006 Oh thanks for the quick reply but that didn't seem to help. Im not shure on how to use the x,y cordinates for the HUDmessage() do you or anyone else think that could have anything to do with it? Thanks again for any help received. 0 Share this post Link to post
Kaiser Posted July 4, 2006 okay, then try SetHudSize before you enter the loop try SetHudSize(640, 480, 1); Also with that being set, you can now expand your coord values. Experiment with 64.0 for the x, and 128.0 for the y values. 0 Share this post Link to post
Macro11_1 Posted July 4, 2006 Ok that sorta helped, but Interesting note, I tryed moving the HUDMessage() before the delay so it looked like this:while( x <= some number) HUDMessage(); delay(); x++; Then the timer appeard on screen, but the script was terminated at the start as a runaway script, but the spooky thing was that my CPU then clocked in at 100% useage. hmmm, I think im getting closer to an answer :P. Thanks Kaiser for the help so far :) [Edit1] Actually, sorry for wasting time and thread space, ill post back later once Ive got more of a grasp on this stuff :| [Edit2] Arg, lol I fuigured it out. sorry for the massive waste of time you guys, but here is what i came up with.// This is my Script for Pirate.wad #include "zcommon.acs" int x; Script 1 OPEN { setHudSize(640, 480, 1); int time; while (x <= 1200) { time = x; time = (time-1200)*-1; delay(35); HudMessage (s:"there is: T-", d: time, s:" left"; HUDMSG_PLAIN, 0, 0, 64.0, 128.0, 1.0); x++; } } 0 Share this post Link to post