Making ACS Libraries Accessible through DECORATE

Moderator: GZDoom Developers

Post Reply
User avatar
chaoscentral
Posts: 677
Joined: Sun Feb 27, 2005 4:32 pm
Location: Revere, MA
Contact:

Making ACS Libraries Accessible through DECORATE

Post by chaoscentral »

This is another way to have script based weapons... but what if you could include an ACS library through Decorate like maybe something at the top of the decorate lump like...

Code: Select all

#Import "libname"

ACTOR CoolGun : ChainSaw 20020
{
   States
   {
   Fire:
      CSAW D 2 LIB_Execute( 100,  0, 0, 0)
      CSAW E 0
   Goto Ready
   }
}
where LIB_Execute is

LIB_Execute( script number, arg 1, arg 2, arg 3)

I think this could be a possible solution
User avatar
HobbsTiger1
Posts: 1235
Joined: Fri Jan 07, 2005 7:29 pm
Location: #DMClub
Contact:

Post by HobbsTiger1 »

Erm, ah, oh dear. That would require a bit of work wouldn't it. While I like the idea I'm trying to be mindful that I wan't to see 2.0.97 before I graduate from college, and the less features randy has to add to 2.0.97, the quicker we will get it. (It's apt to be very buggy, so 2.0.98 will probably soon come after).
User avatar
chaoscentral
Posts: 677
Joined: Sun Feb 27, 2005 4:32 pm
Location: Revere, MA
Contact:

Post by chaoscentral »

gotcha, i just though this would be easier than putting in a script for every map... if not, make the script library to just autostart with zdoom... so you dont need to make it include itself for every map.
Costja
Posts: 188
Joined: Mon Oct 18, 2004 3:58 pm
Location: Russia, Moscow
Contact:

Post by Costja »

I thought #import needed to load library, so autoload (using configs) libraries will not work
User avatar
Talonos
Posts: 789
Joined: Mon May 03, 2004 7:08 am
Location: At college!

Post by Talonos »

I requested this already.

http://forum.zdoom.org/potato.php?t=6934

Is this what you were asking for?
User avatar
chaoscentral
Posts: 677
Joined: Sun Feb 27, 2005 4:32 pm
Location: Revere, MA
Contact:

Post by chaoscentral »

yea, basically the same thing. This shoudl really be in there, so AUTOLIB could be just a lump that contained a script library, making it available, for weapons to use scripts, along with items too
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”