Button assign quastion

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
Chronos
Posts: 170
Joined: Tue Dec 30, 2008 1:58 pm
Location: Somewhere in your nightmare...

Button assign quastion

Post by Chronos »

Im making mod in GZDoom and hasnt find anything in wiki so asking here.
How to assign button to some state in decorate?
User avatar
Renegade
Posts: 83
Joined: Mon Dec 31, 2007 6:39 pm
Location: Alberta, Canada
Contact:

Re: Button assign quastion

Post by Renegade »

[wiki]KEYCONF[/wiki] / [wiki]Adding_keysections[/wiki]
User avatar
Chronos
Posts: 170
Joined: Tue Dec 30, 2008 1:58 pm
Location: Somewhere in your nightmare...

Re: Button assign quastion

Post by Chronos »

Thanks ill try this out
User avatar
Chronos
Posts: 170
Joined: Tue Dec 30, 2008 1:58 pm
Location: Somewhere in your nightmare...

Re: Button assign quastion

Post by Chronos »

Oh wait!Not to create new thread ill ask here where to enter ACS in which lump?
User avatar
Ghastly
... in rememberance ...
Posts: 6109
Joined: Fri Jul 06, 2007 2:34 pm

Re: Button assign quastion

Post by Ghastly »

If you want a script to be available in every map, use LoadACS.

Write an ACS script (I prefer doing so in Doom Builder, in a map, so I know about any errors) with #Library "WhateverYouWantItToBeCalled", put it in a .txt file, drag and drop onto acc.exe, take the resulting .o file, import it into your wad between A_Start and A_End markers, make a lump called "LoadACS" and just write the name you put in #Library in it, and it'll automatically load in every map.
User avatar
Renegade
Posts: 83
Joined: Mon Dec 31, 2007 6:39 pm
Location: Alberta, Canada
Contact:

Re: Button assign quastion

Post by Renegade »

That is correct for ACS.

If you were referring to the KEYCONF lump, then it's not ACS. It's an entirely different lump, which goes in the root directory of a zip file, or at the very top of a wad file (no markers).
User avatar
Chronos
Posts: 170
Joined: Tue Dec 30, 2008 1:58 pm
Location: Somewhere in your nightmare...

Re: Button assign quastion

Post by Chronos »

Yes thanks that what i need
Locked

Return to “Editing (Archive)”