[Not like this] Making ACS Libraries Accessible through DECORATE

Moderator: GZDoom Developers

Making ACS Libraries Accessible through DECORATE

Postby chaoscentral » Sun Jul 17, 2005 6:34 pm

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 allExpand view
#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
chaoscentral
 
Joined: 27 Feb 2005
Location: Revere, MA

Postby HobbsTiger1 » Sun Jul 17, 2005 7:00 pm

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
HobbsTiger1
Might be banned
 
Joined: 08 Jan 2005
Location: #DMClub

Postby chaoscentral » Sun Jul 17, 2005 7:03 pm

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.
User avatar
chaoscentral
 
Joined: 27 Feb 2005
Location: Revere, MA

Postby Costja » Mon Jul 18, 2005 6:31 am

I thought #import needed to load library, so autoload (using configs) libraries will not work
Costja
_PA_
 
Joined: 18 Oct 2004
Location: Russia, Moscow

Postby Talonos » Mon Jul 18, 2005 1:37 pm

I requested this already.

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

Is this what you were asking for?
User avatar
Talonos
Returning Newcomer... or Newcoming Returner.
 
Joined: 03 May 2004
Location: At college!

Postby chaoscentral » Mon Jul 18, 2005 6:53 pm

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
User avatar
chaoscentral
 
Joined: 27 Feb 2005
Location: Revere, MA


Return to Closed Feature Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest