Page 2 of 2

Posted: Fri May 19, 2006 6:29 am
by Shadelight
Heh, nice example TDA, this would work great for powerup replacements!

Posted: Fri May 19, 2006 6:53 am
by TheDarkArchon
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)

Posted: Fri May 19, 2006 6:26 pm
by TheDarkArchon
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.

Posted: Sat May 20, 2006 3:10 am
by MartinHowe
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?

Posted: Sat May 20, 2006 3:56 am
by TheDarkArchon
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.

Posted: Sat May 20, 2006 8:47 am
by AFADoomer
Has anyone else run into problems with using both a TITLEMAP and an autoloaded script library?

Posted: Sat May 20, 2006 8:17 pm
by DoomRater
TheDarkArchon wrote:

Code: Select all

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

Posted: Sat May 20, 2006 8:19 pm
by dennisj1
HoCX and Heretech? I'd like to see those two WADs. (Or, did you mean HacX?)

Posted: Sun May 21, 2006 1:26 am
by Graf Zahl
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.

Posted: Sun May 21, 2006 3:58 am
by TheDarkArchon
dennisj1 wrote:HoCX and Heretech? I'd like to see those two WADs. (Or, did you mean HacX?)
HoCX (Hordes of Chaos X
Heretech

Posted: Sun May 21, 2006 11:12 am
by DoomRater
I do remember the FSGLOBAL script code... but I woulda thought ACS could check for the starting inventory items, assuming you remove them.

Posted: Sun May 21, 2006 11:24 am
by Graf Zahl
FS can, too.

Posted: Sun May 21, 2006 11:47 am
by DoomRater
Oh. The original code then assumed nothing about the original weapons?

Posted: Sun May 21, 2006 11:51 am
by Graf Zahl
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.

Posted: Fri May 26, 2006 11:55 am
by Anakin S.
How exactly do you use this global acs script? I couldn't really figure it out from heretech.