[Project] "Knee-Deep in ZDoom"

New maps, and other projects whose primary focus is new maps, belong here.

NOTE: This forum, and all forums below it, are NOT for questions or troubleshooting! Threads here are for active projects only! Please use the Editing subforums or General for questions.
Forum rules
The Projects forums are ONLY for YOUR PROJECTS! If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.

Got a cool project idea but nothing else? Put it in the project ideas thread instead!

Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.

Please read the full rules for more details.

Postby Graf Zahl » Sun Nov 14, 2004 7:53 am

You need a library source but since this library doesn't contain any exports you might as well use an empty library for compiling the other ACS files.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Postby randi » Sun Nov 14, 2004 1:35 pm

Risen wrote:Then what's the deal with people saying you need the library source to compile the map scripts? Is that only necessary when functions are present?

When you #import a script, ACC grabs the names of functions and variables from the imported file so that they can be used by the script that imports it. It also sets a value in the compiled script that tells it to load the library along with it when the map is loaded. An imported file serves much the same purpose as a C header file: It defines what is available, but it doesn't provide an implementation.

Suppose you wanted to provide some functions in your library but didn't want anybody to know how they worked. The following would work just fine as an imported file:
Code: Select allExpand view
#library "secret"

function int SomeSecretFunction (int foo, int bar)
{
}

function void SuperSecretFunction (int foo)
{
}

As long as your version of the compiled library is what gets put between the A_START and A_END markers, the maps will be able to use the functions even though the file they imported didn't provide any code for them.

What this means for you is that you can have the map authors #import the file you have right now, and then you can make all the changes you want to it. As long as you don't change the way the maps interface with your library, they won't need to recompile their scripts for every change you make.

[Oo. I just noticed this is post 1666 in this topic.]
User avatar
randi
Site Admin
 
Joined: 09 Jul 2003

Postby Bio Hazard » Sun Nov 14, 2004 1:48 pm

so to use a library:

risen should put this at the top of his file:
Code: Select allExpand view
#library "InterMapStuff"


and then he should compile the scripts and put the resulting BEHAVIOR between the A_START and A_END markers

then we put this into our map files:
Code: Select allExpand view
#Import "InterMapStuff"


and thats it?

-------------------------------------------------------

i just had a huge bit of inspiration and am mapping like crazy (its about time).
so untill NMN asks for the map, im keeping it! :p
User avatar
Bio Hazard
Lord of the Lord of Nitpicking.
 
Joined: 15 Aug 2003
Location: ferret ~/C/ZDL $

Postby Nmn » Sun Nov 14, 2004 2:05 pm

That suits me fine, I'm actually occupied by several other huge problems and I'm affraid at this moment my presence in the project ends. Was a nice time working with You people.

How's the project itself going on? Have You seen ellmo lately? He is desperately needed.
User avatar
Nmn
Just lurking about...
 
Joined: 16 Apr 2004

Postby Bio Hazard » Sun Nov 14, 2004 2:10 pm

...

om... okay then, i guess im on week 3 too... (good thing too cause i had some ideas)

EDIT: well i lost all of today's work cause DB crashed... its a shame too, the sector count is back to 2900 (from 3500)

DOOMBUILDER NEEDS TO KEEP THE TEMP MAP UNTILL YOU PURPOSELY EXIT SO THIS DOESNT HAPPEN AGAIN (or prompt to save after a while)
Last edited by Bio Hazard on Sun Nov 14, 2004 3:16 pm, edited 1 time in total.
User avatar
Bio Hazard
Lord of the Lord of Nitpicking.
 
Joined: 15 Aug 2003
Location: ferret ~/C/ZDL $

Postby Risen » Sun Nov 14, 2004 2:20 pm

randy wrote:What this means for you is that you can have the map authors #import the file you have right now, and then you can make all the changes you want to it. As long as you don't change the way the maps interface with your library, they won't need to recompile their scripts for every change you make.


That sounds good to me. There is already one change but it won't matter. I'll name the library INTERMAP.
User avatar
Risen
 
Joined: 08 Jan 2004
Location: N44°30' W073°05'

Postby Csonicgo » Sun Nov 14, 2004 4:11 pm

Bio Hazard wrote:...

om... okay then, i guess im on week 3 too... (good thing too cause i had some ideas)

EDIT: well i lost all of today's work cause DB crashed... its a shame too, the sector count is back to 2900 (from 3500)

DOOMBUILDER NEEDS TO KEEP THE TEMP MAP UNTILL YOU PURPOSELY EXIT SO THIS DOESNT HAPPEN AGAIN (or prompt to save after a while)

CTRL-S is your friend.
User avatar
Csonicgo
OPL Goddess
 
Joined: 15 Apr 2004
Location: Leeds

Postby Bio Hazard » Sun Nov 14, 2004 4:27 pm

i would save often, but i keep forgetting

im still used to how wadauthor would save every time you tested the map
User avatar
Bio Hazard
Lord of the Lord of Nitpicking.
 
Joined: 15 Aug 2003
Location: ferret ~/C/ZDL $

Postby MasterOFDeath » Sun Nov 14, 2004 9:20 pm

Then use WadAuthor as opposed to DB(unless the map is that big or the scripts is above WA's limit :P)
User avatar
MasterOFDeath
professional lurking witch
... in loving memory ...
 
Joined: 03 Apr 2004

Postby Risen » Sun Nov 14, 2004 9:55 pm

Got the library to work. Everyone can save the code and #import it, no need to worry about changes from there on.

Where is the newest resource?
Where are the week 3 maps?
User avatar
Risen
 
Joined: 08 Jan 2004
Location: N44°30' W073°05'

Postby Bio Hazard » Sun Nov 14, 2004 11:36 pm

BUG: AMB2 in the resource wad is defined improperly

replace:
Code: Select allExpand view
$AMBIENT 2 amb2 POINT CONTINOUS 0.5

with:
Code: Select allExpand view
$AMBIENT 2 amb2 POINT CONTINUOUS 0.5


and shouldnt enjays tank graphics be put between the TX_ markers?
User avatar
Bio Hazard
Lord of the Lord of Nitpicking.
 
Joined: 15 Aug 2003
Location: ferret ~/C/ZDL $

Postby NiGHTMARE » Mon Nov 15, 2004 2:05 am

I'm afraid I won't be able to finish E1M4 until the end of week 3, as I said would probably happen a few pages back. This means someone else is going to have to fix the bugs Risen reported in E1M7.
NiGHTMARE
.now.
 
Joined: 19 Jul 2003

Postby Tormentor667 » Mon Nov 15, 2004 2:59 am

I feel, like we have to enlarge Week 2 to the end of Week 3 and add another Week as Week3 after Week 2 ...
User avatar
Tormentor667
needs more detail
 
Joined: 16 Jul 2003
Location: Germany

Postby Risen » Mon Nov 15, 2004 6:01 am

I think every 'week' thus far has actually been two weeks!
User avatar
Risen
 
Joined: 08 Jan 2004
Location: N44°30' W073°05'

Postby cccp_leha » Mon Nov 15, 2004 7:52 am

Sorry.

To summarize the last two weeks for me: I had midterms (when is the last day to drop classes?), I got sick (probably the flu, so stay away from me) and my computer broked (haven't you noticed the lack of my posts?). That is all. My apologies, but there was nothing I could do. Now if you are really extending the weeks, I'll be happy to dig up some backup copy or something.
User avatar
cccp_leha
Words are silver; silence is gold... so stfu.
 
Joined: 16 Jul 2003
Location: NJ, USA

PreviousNext

Return to Levels

Who is online

Users browsing this forum: madsnark and 1 guest