GLOBAL script.

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: GLOBAL script.

by Anakin S. » Fri May 26, 2006 11:55 am

How exactly do you use this global acs script? I couldn't really figure it out from heretech.

by Graf Zahl » Sun May 21, 2006 11:51 am

No, the original code was for a WAD where you could get the original weapons later so I couldn't check for them because the script was run on every map.

by DoomRater » Sun May 21, 2006 11:47 am

Oh. The original code then assumed nothing about the original weapons?

by Graf Zahl » Sun May 21, 2006 11:24 am

FS can, too.

by DoomRater » Sun May 21, 2006 11:12 am

I do remember the FSGLOBAL script code... but I woulda thought ACS could check for the starting inventory items, assuming you remove them.

by TheDarkArchon » Sun May 21, 2006 3:58 am

dennisj1 wrote:HoCX and Heretech? I'd like to see those two WADs. (Or, did you mean HacX?)
HoCX (Hordes of Chaos X
Heretech

by Graf Zahl » Sun May 21, 2006 1:26 am

DoomRater wrote:
TheDarkArchon wrote:

Code: Select all

If(!Checkinventory("QuestItem1"))
Why not check for GoldWand instead? You remove it anyway...


He just copied and altered some code I posted that couldn't do such a simple check so I used the quest item as a marker.

by dennisj1 » Sat May 20, 2006 8:19 pm

HoCX and Heretech? I'd like to see those two WADs. (Or, did you mean HacX?)

by DoomRater » Sat May 20, 2006 8:17 pm

TheDarkArchon wrote:

Code: Select all

If(!Checkinventory("QuestItem1"))
Why not check for GoldWand instead? You remove it anyway...

by AFADoomer » Sat May 20, 2006 8:47 am

Has anyone else run into problems with using both a TITLEMAP and an autoloaded script library?

by TheDarkArchon » Sat May 20, 2006 3:56 am

It works fine. Randy pointed out that library script lacked #LIRBRARY "<LIBNAME>" at the top. One I added that, there appeared to be no conflicts.

by MartinHowe » Sat May 20, 2006 3:10 am

TheDarkArchon wrote:I think ZDoom tries to merge the scripts
What does that mean? You mean it runs each "script 1" (or whatever number) in turn?

by TheDarkArchon » Fri May 19, 2006 6:26 pm

TheDarkArchon wrote:I think ZDoom tries to merge the scripts but it doesn't work particularily well (For example, GZDoom once tried to give me a Pain Elemental in HoCX when playing it with Heretech.)
I would like to say that this was an oversight on my part (Forgetting to mark my script as a library). In reality, the script works fine.

by TheDarkArchon » Fri May 19, 2006 6:53 am

The mod used FSGLOBAL until 12 hours ago. I then converted the WAD to global ACS script in about 10 (including getting the script to compile and a quick bout of MP testing, working MP support being the main motivation behind the switch)

by Shadelight » Fri May 19, 2006 6:29 am

Heh, nice example TDA, this would work great for powerup replacements!

Top