Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Doom'd Marine

scripting basics..

Recommended Posts

This is renagade, my passwords for both my accounts dont work, and i had to make a new one out of a disposeable msn hotmail account ¬¬ wellll anyways...


im starting on working with scripts ( just trying to change the colour of water when using deap water effects. ) and when ever i complie the script i get the error:

" Line 3 in file "script.acs" ...
script.acs:3: Function sector_setcolor is used but not defined. "

heres what im trying to do:

Script 1 OPEN
{
Sector_SetColor (1, 0, 0, 203);
}

dont flame me, because im new at this scripting portion of editing.

Share this post


Link to post

You need to place the following above the script:

#include "zcommon.acs"
Otherwise a lot of the commands will not work and just spit out an error.

Share this post


Link to post
dutch devil said:

Hope this will help you somewhat, im not very good at explaining things due to my crappy english :)
http://www.zdoom.org/zdkb/zdoom12.html



Thats the first place I went to, but it seems when i tried to load up the wad i was using to test this, it gave me the eorror that the lump had a bad santax and closed out... very strange.

Share this post


Link to post

Can I take an look at your map?, I never made any animated textures myself but maybe I can figure this out.

Btw what port are you testing your map with?

Share this post


Link to post
dutch devil said:

Can I take an look at your map?, I never made any animated textures myself but maybe I can figure this out.

Btw what port are you testing your map with?



this map is a test map.. and i scrapped it as i am trying to figure it out along with some other things.as well it was in the skulltag port and this is how i put it.. as it said in the zdoom thing

"
texture Telr1
Telr1 tics 4
Telr2 tics 4
Telr3 tics 4
Telr4 tics 4
Telr5 tics 4
Telr6 tics 4
Telr7 tics 4
Telr8 tics 4
Telr9 tics 4
"

the " " was for the example.. not what i put.

Share this post


Link to post

Did you tried to rename Telr1, Telr2 etc to pic 1, pic 2, and so on?
Just open up the demo wad in xwe, and look at the animdefs lump file.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×