Enderkevin13 Posted July 7, 2015 I Wanna Make It Where You Have To Kill 2 Enemies To Activate Something. What Do I Do? 0 Share this post Link to post
Naked Snake Posted July 7, 2015 Dear Sir, The Effect You Wish To Attempt Requires A Scripting Language, Which Vanilla Doom Lacks Entirely. First You Figure Out What Source Port You Want To Use, And Then You RTFM And Find Out How To Utilize The Scripting Language To Achieve The Desired Effect. I Am Pretty Sure Eternity Engine Can Achieve This Effect, You'd Have To Look Though. 0 Share this post Link to post
Krispy Posted July 7, 2015 Remember that video that I recommended earlier? And I recommended you watch his other tutorials? Turns out the same guy who posted that video made another video that answers your question. Also, from a (very) short google search I found this on the zdoom forums: Step 1: Give all the enemies in question a matching TID. Step 2: Create a script that reads like this: #include "zcommon.acs" script 1 OPEN { while (ThingCount(T_NONE, 5) > 0) delay(35); Door_Close(7, 16, 0); Floor_LowerToLowest(10, 8); } Step 3: Compile your script (DoomBuilder does this automatically) What it does: After all the enemies with a TID of 5 are killed, the sector with a tag of 7 closes like a door, while the sector with a tag of 10 lowers its floor to the level of its nearest neighbor. Change the TID and tags to suit your taste. 0 Share this post Link to post
BaronOfStuff Posted July 7, 2015 Are there any aspects of scripting which are case-sensitive? TC's going to be fucked rotten if there are. 0 Share this post Link to post
scifista42 Posted July 7, 2015 Just curious: What does "TC" mean in the context above? 0 Share this post Link to post
Enderkevin13 Posted July 7, 2015 Krispy said:Remember that video that I recommended earlier? And I recommended you watch his other tutorials? Turns out the same guy who posted that video made another video that answers your question. https://www.youtube.com/watch?v=jVkYkC60xr4 Also, from a (very) short google search I found this on the zdoom forums: Step 1: Give all the enemies in question a matching TID. Step 2: Create a script that reads like this: #include "zcommon.acs" script 1 OPEN { while (ThingCount(T_NONE, 5) > 0) delay(35); Door_Close(7, 16, 0); Floor_LowerToLowest(10, 8); } Step 3: Compile your script (DoomBuilder does this automatically) What it does: After all the enemies with a TID of 5 are killed, the sector with a tag of 7 closes like a door, while the sector with a tag of 10 lowers its floor to the level of its nearest neighbor. Change the TID and tags to suit your taste. That Script Is A Bit Out Of Place. 0 Share this post Link to post
Enderkevin13 Posted July 7, 2015 It Also Says I'm Missing Semicolons. God Scripting Sucks, It's Always Screwing Around With Me. 0 Share this post Link to post
BaronOfStuff Posted July 7, 2015 scifista42 said:Just curious: What does "TC" mean in the context above? Topic (or thread) Creator. 0 Share this post Link to post