Scroll texture script
-
Flaminglacier
- Posts: 65
- Joined: Thu Jun 21, 2012 9:28 pm
Scroll texture script
So I can't seem to find a way to get this simple idea to work. All I need is a script that will scroll a texture up (at lineid 20) then after another script is activated stop the line from scrolling. I am making an invasion map and I wish to have a texture constantly scrolling until wave 3, which is when the texture will stop scrolling but I can't seem to find a way to give a line an ID while giving it a scroll up special. Any ideas how to get this to work?
RE: Scroll texture script
Try with this:
Code: Select all
Script xx (void)
{
SetLineSpecial(20,102,<speed>,0,0); //Start the scrolling in line with id 20
}
Script xx (void)
{
SetLineSpecial(20,0,0,0,0); //Stop the scrolling
}
I dont care about how bad your maps are. Everything can be improved.
Banned for cheating at DoomBuilder.
Banned for cheating at DoomBuilder.
-
Flaminglacier
- Posts: 65
- Joined: Thu Jun 21, 2012 9:28 pm
RE: Scroll texture script
Hmmm doesn't seem to work. Maybe I am giving the line an ID the wrong way? In doombuilder I give the line action 121 (lineid) and give arg1 20 (id). I think it might have to do with the line only being allowed to have 1 special?
this is my script anyways:
this is my script anyways:
Code: Select all
script 1 open
{
SetLineSpecial (20, 102, 90, 0, 0);
delay(100);
HudMessagebold(s:"Now we just have to wait till we reach the storage facility...";
HUDMSG_PLAIN, 0, CR_GREY, 0.5, 0.4, 5.0);
delay(120);
}
Script 53 (void) // Wave 3
{
SetLineSpecial (20, 0, 0, 0, 0);
HudMessagebold(s:"Shit the elevators stopped!";
HUDMSG_PLAIN, 0, CR_GREY, 0.5, 0.4, 5.0);
Delay(120);
}RE: Scroll texture script
No, you need to just give it a tag of 20 and then it will be fixed by itself. No action involved with said lines, only in script. But you need linedef action 80 with arg1 to script number to activate (void) scripts.
THE ROMANIAN POWER
Code: Select all
<+Dastan> edd
<+Dastan> boxxy skin when
<+Shift> dastan you really want to fap at it this much and now you are going crazy and shredding your hair into a million tiny pieces for this boxxy skin to come out that way you can cum out
<+Dastan> Shift, yes
--------------------------------------------------------------------
21:53:26 <@Estar> well, if i'd be a girl, i would say ideidoom has ok looks
-
Flaminglacier
- Posts: 65
- Joined: Thu Jun 21, 2012 9:28 pm
RE: Scroll texture script
Newbie question here but how can I give a line a tag in DB2 without using the 121 action?
RE: Scroll texture script
You can use UDMF line tag, in hexen format you have no other choice.
𝕂𝕝𝕠𝕗𝕜𝕒𝕔
-
Flaminglacier
- Posts: 65
- Joined: Thu Jun 21, 2012 9:28 pm
RE: Scroll texture script
Well my whole project is in hexen format and I have no experience whatsoever in UDMF so I guess I'll have to find another way... Any ideas on how I can make the illusion of a texture rising? I'm making an elevator map where the elevator stops moving after a certain wave. Maybe Have a floor constantly rising slowly until the wave is reached? Giving the illusion that the texturing is scrolling up when actually it is the lower texturing rising higher and higher?
RE: Scroll texture script
There is an ACS command for line scrolling, actually.
http://zdoom.org/wiki/Scroll_Texture_Up
http://zdoom.org/wiki/Scroll_Texture_Up
𝕂𝕝𝕠𝕗𝕜𝕒𝕔
- Vincent(PDP)
- Forum Regular
- Posts: 527
- Joined: Thu Mar 14, 2013 7:35 pm
- Location: Sweden
- Clan: My DOOM site
- Clan Tag: <MDS>
- Contact:
RE: Scroll texture script
Nou, I was just about to post that. ;DKlofkac wrote: There is an ACS command for line scrolling, actually.
http://zdoom.org/wiki/Scroll_Texture_Up
-
Flaminglacier
- Posts: 65
- Joined: Thu Jun 21, 2012 9:28 pm
RE: Scroll texture script
Thanks guys but I that script only works if someone activates the script press pressing/shooting/ or using the line. I want the script to start when the map starts. I figured out a way around my scripting problem though so I've solved my problem. Thanks for all the input.
RE: Scroll texture script
This is why I prefer UDMF in general. It has so much mobility and flexibility.Klofkac wrote: You can use UDMF line tag, in hexen format you have no other choice.
I tried doing a map in Doom in Hexen and it went wrong.
THE ROMANIAN POWER
Code: Select all
<+Dastan> edd
<+Dastan> boxxy skin when
<+Shift> dastan you really want to fap at it this much and now you are going crazy and shredding your hair into a million tiny pieces for this boxxy skin to come out that way you can cum out
<+Dastan> Shift, yes
--------------------------------------------------------------------
21:53:26 <@Estar> well, if i'd be a girl, i would say ideidoom has ok looks
