View previous topic :: View next topic |
Author |
Message |
Mathuzzz
Joined: 09 May 2010 Posts: 14
|
Posted: Wed May 19, 2010 3:07 pm Post subject: Load more than 1 add-on |
|
|
Is there any way to load more add-ons? The main add-on I use is nehahra one, but would like to use some rogue monsters. |
|
Back to top |
|
 |
Spirit

Joined: 20 Nov 2004 Posts: 476
|
Posted: Wed May 19, 2010 3:32 pm Post subject: |
|
|
Nope. Quake mods are monolithic code-wise, you cannot load more than one. _________________ Quake Maps |
|
Back to top |
|
 |
Orion

Joined: 12 Jan 2007 Posts: 413 Location: Brazil
|
Posted: Wed May 19, 2010 4:02 pm Post subject: |
|
|
Like Spirit said, there's no way to load 2 mods at the same time.
But in a simpler way, you'll need to find nehahra source code, rogue source code, and put the rogue monsters .qc files into the nehahra source code, modify progs.src properly and then compile. _________________ There's no signature here. Stop looking for one. |
|
Back to top |
|
 |
Sajt
Joined: 16 Oct 2004 Posts: 1026
|
Posted: Wed May 19, 2010 4:38 pm Post subject: |
|
|
DarkPlaces can layer any number of gamedirs with consecutive -gamedir parameters in the command-line. But it will only use the topmost progs.dat, it can't magically "combine" them. _________________ F. A. Špork, an enlightened nobleman and a great patron of art, had a stately Baroque spa complex built on the banks of the River Labe. |
|
Back to top |
|
 |
frag.machine

Joined: 25 Nov 2006 Posts: 728
|
Posted: Wed May 19, 2010 5:58 pm Post subject: |
|
|
Orion wrote: | Like Spirit said, there's no way to load 2 mods at the same time.
But in a simpler way, you'll need to find nehahra source code, rogue source code, and put the rogue monsters .qc files into the nehahra source code, modify progs.src properly and then compile. |
That's easier said than done.
Darkplaces allows to load .paks and discrete artwork assets (models, sprites, sounds, gfx) from multiple game folders at once. But this doesn't applies for progs.dat, obviously. _________________ frag.machine - Q2K4 Project
http://fragmachine.quakedev.com/ |
|
Back to top |
|
 |
leileilol

Joined: 15 Oct 2004 Posts: 1321
|
Posted: Wed May 19, 2010 6:08 pm Post subject: |
|
|
and that's why unreal is the best engine ever _________________
 |
|
Back to top |
|
 |
Mathuzzz
Joined: 09 May 2010 Posts: 14
|
Posted: Wed May 19, 2010 6:28 pm Post subject: |
|
|
frag.machine wrote: | Orion wrote: | Like Spirit said, there's no way to load 2 mods at the same time.
But in a simpler way, you'll need to find nehahra source code, rogue source code, and put the rogue monsters .qc files into the nehahra source code, modify progs.src properly and then compile. |
That's easier said than done.
Darkplaces allows to load .paks and discrete artwork assets (models, sprites, sounds, gfx) from multiple game folders at once. But this doesn't applies for progs.dat, obviously. |
That´s the problem exactly, I already tried it that way, but I get Runtime error 213 with nehahra decompiler, I used patch, which repaired compiler, but decompiler still doesn´t work.  |
|
Back to top |
|
 |
Spike
Joined: 05 Nov 2004 Posts: 944 Location: UK
|
Posted: Thu May 20, 2010 1:38 am Post subject: |
|
|
FTE_MULTIPROGS
permits loading multiple progs at once.
essentually UT mutators, but more clumsy.
does NOT combine existing mods, but does allow adding code to closed source mods in a generic way.
<doc-me> _________________ What's a signature? |
|
Back to top |
|
 |
Error Inside3D Staff

Joined: 05 Nov 2004 Posts: 558 Location: VA, USA
|
|
Back to top |
|
 |
Spike
Joined: 05 Nov 2004 Posts: 944 Location: UK
|
|
Back to top |
|
 |
Sajt
Joined: 16 Oct 2004 Posts: 1026
|
Posted: Thu May 20, 2010 5:23 pm Post subject: |
|
|
Eeeeesh! :O _________________ F. A. Špork, an enlightened nobleman and a great patron of art, had a stately Baroque spa complex built on the banks of the River Labe. |
|
Back to top |
|
 |
frag.machine

Joined: 25 Nov 2006 Posts: 728
|
Posted: Thu May 20, 2010 5:47 pm Post subject: |
|
|
Documentation for such exotic extensions as FTE_MULTIPROGS needs to be something more rich and detailed, preferably followed by a couple examples covering the main aspects worth of note. There are a truck of non-trivial and non-obvious details involved in merging two or more QuakeC mods on-the-fly that can easily spoil any autodidact effort to use it (for example, you should consider that many of us have exactly ZERO experience with UT mutators, but that's doesn't prevent us of being curious about how we could explore this feature in Quake), rendering all your effort useless in the sense of "most interested people won't be able to produce something alone just reading two or three paragraphs of text, so they'll just give up". _________________ frag.machine - Q2K4 Project
http://fragmachine.quakedev.com/ |
|
Back to top |
|
 |
Spike
Joined: 05 Nov 2004 Posts: 944 Location: UK
|
Posted: Thu May 20, 2010 10:32 pm Post subject: |
|
|
UT mutators work because the base mod is known and consistant. want to make a new weapon? make it derive from class X. job done.
QuakeC doesn't work like that. the code is more procedural. new features require random changes throughout. you can't just create new ents that derive from other ents in well defined ways. a function is a function, not a _member_ function.
multiprogs provides features that can be used to create UT-like mutators. but that's where the similarity ends. the implementation is different - its multiprogs, not mutators. mutators are a mod-specific usage of multiprogs.
multiprogs just says that you can load multiple progs at once, and get/set the globals/fields of other progs if needed, including the globals that refer to function defs, and that values present in one progs are still valid when exposed to another.
it remaps functions strings and fields to be consistent between each progs file, so that you can call an .void() or whatever safely from one progs to another.
globals are still separate though. hence the get/set builtins. and function definitions are actually function pointers of a kind.
its not that exotic, and its not magic. its just a way to add lots more code to an existing progs.
that link documents the functionality and the quirks. but most of the things you presumably envisage doing require a heck of a lot of hooks all over the place. writing such a mutator would be fairly obscure and not a good example of the actual functionality provided.
I did make one that hijacked the playerprethink/postthink functions and made quake turn-based in such a way that should be able to apply to most mods. Which was certainly fun, but not useful - I agree that I should clean it up and post it somewhere, but really it would be a distraction from the code I already gave, unless you really wanted to make quake turn-based and nothing else.
I hate documentation. yes. its terse. enjoy. _________________ What's a signature? |
|
Back to top |
|
 |
Spike
Joined: 05 Nov 2004 Posts: 944 Location: UK
|
Posted: Thu May 20, 2010 11:50 pm Post subject: |
|
|
I found this on my harddrive: http://fteqw.svn.sourceforge.net/viewvc/fteqw/branches/wip/specs/fbotplug.zip
Its just frikbot (slightly modified+buggified probably to use DP_BOTCLIENT) in a multiprogs plugin, that should work for closed source mods that have frikbot-compatible weapons+rules.
Actually, frikbot is a very good example of multiprogs - its just extra/modular code. _________________ What's a signature? |
|
Back to top |
|
 |
goldenboy

Joined: 05 Sep 2008 Posts: 310 Location: Kiel
|
Posted: Fri May 21, 2010 7:22 pm Post subject: |
|
|
> its not that exotic, and its not magic. its just a way to add lots more code to an existing progs.
something makes me like this feature.
 _________________ ReMakeQuake
The Realm of Blog Magic |
|
Back to top |
|
 |
|