Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Skrying

Scripting Help

Recommended Posts

ive been trying to change the sky texture in my map

ive looked into the scrpits to do this and this is what i have so fare

#include "zcommon.acs"
Script 1 open {
map "M1" "Unnamed"
sky1 = "<Sky2>", [0.2]
}



Line 3 in file "script.acs" ...
script.acs:3: map : Identifier has not been declared.
> map "M1"
> ^

The ACS compiler did not compile your script.

Share this post


Link to post

You don't change the sky with ACS script. Look or MAPINFO on the ZDoom wiki. Or ask on the ZDoom forums if that doesn't help.

Share this post


Link to post

Looks like you're working on a MAPINFO lump - which don't have to be compiled.

Try this-

map Map01 "Unnamed"
sky1 sky2 0.2
Apart from the ZDoom wiki I've found the best source of scripting reference material to be other people's wads, using XWE or SLumpEd to pick them apart and see how they work.

Share this post


Link to post

ahhh

and are there any free lump editors i can download...and not get any viruses lol

Share this post


Link to post

For downloads - follow the links in my previous post then take a look at the brief tutorial I posted here.

Share this post


Link to post

ok
so im guessing this is something you do once your done with your entire wad file or do you do it to each map individually
&
thanks for the help

Share this post


Link to post

No, you can do it while making the map. Just write your MAPINFO in a text editor and use the mentioned tools to put it in the WAD file as a "lump". You can then still open your map with Doom Builder and edit away, your MAPINFO lump will stay untouched when you save in Doom Builder. (Doom Builder does not replace wad files entirely. When saving, it just removes the old map from the wad file and adds the new map in its place)

Share this post


Link to post

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×