BaseMod Plugin

This forum is for members of the public to post any announcements relating to Diablo 2 Mod Making including mod and patch releases amongst other similar subjects.
Post Reply
User avatar
devurandom
Forum Regular
Angel
Posts: 617
Joined: Sat Mar 07, 2015 9:07 pm
United States of America

BaseMod Plugin

Post by devurandom » Wed Oct 03, 2018 8:02 pm

=============
BaseMod Plugin
=============
[v1.04]


Supports: [1.13c][1.13d][1.14d] & D2SE Support for v1.13c


- UberQuests & World Event
- Animated Inventory Items
- Bypass 25 FPS limit for single player
- AutoGoldPickup
- Extended Objects - starts at ID#586
- Extended Levels [255 levels]
- Extended Sounds support
- All Missing SuperUniques can be spawned - not map based
- Nilathek Portal Fix
- Fix for Shadow Master - disappears much less for most maps
- Fix for NecroMancer revives so they don't wander off
- Option for Custom Mpq file
- HyperJoin - fast loading for multiplayer
- MultiCopy Enabled
- Enable Ladder Only RuneWords in SP games
- Start game with nopickup console option
- Players X can be specified before startup
- Players 127 patch
- Set Language (requires preinstalled Language files to work)
- Secret Cow level can be entered even if Cow King has been killed


Plugin can be renamed to yourmodname.dll and yourmodname.ini
For that you'll need to figure out how to change BaseMod.dll string in Game.exe Loader to
yourmodname.dll. Or use a seperate loader to accomplish the same thing.
Also you can specify a custom mpq yourmodname.mpq.


Should work with PlugY, but don't enable the same features in both plugins at the same time.
Choose one or the other.


======
Credits
======


KingPin
Necrolis
Nefarius
Lolet
Whist
Mnw1995
Ogodei


Thanks to Kaladann [Casual Nostalgia] for initial testing and suggestions.
Thanks to DarkQuake [Grail] for followup testing and suggestions.


Download
Last edited by devurandom on Sat Oct 13, 2018 3:28 am, edited 1 time in total.
Assembly Reference | 1.13d Code Edits | UVLoD | BaseMod Plugin

“The urge to save humanity is almost always a false-face for the urge to rule it." ― H.L. Mencken 1956

User avatar
Kaladann
Posts: 58
Joined: Fri Oct 23, 2015 1:15 am
Location: France
France

Re: BaseMod Plugin

Post by Kaladann » Thu Oct 04, 2018 7:31 pm

Hello, nice to see it released !
Will test it soon :)

Cheerz !
Want to play but not enought time to drop good stuff and raise decent level ? Try Casual Nostalgia !
ImageMore infos here : viewtopic.php?f=5&t=63800
CHEERS !

ocarinas
Posts: 50
Joined: Sun Apr 10, 2016 4:36 am

Re: BaseMod Plugin

Post by ocarinas » Fri Oct 05, 2018 1:57 am

Doesn't work for me.
I've 1.13d installed, so I copied 1.13d loader and both dll and ini to Diablo II directory, run the game and nothing changes (fps still capped at 25)
And can this be used on server?

User avatar
Darkquake
Posts: 21
Joined: Tue Feb 20, 2018 3:38 pm
Australia

Re: BaseMod Plugin

Post by Darkquake » Fri Oct 05, 2018 2:56 am

ocarinas wrote:
Fri Oct 05, 2018 1:57 am
I've 1.13d installed, so I copied 1.13d loader and both dll and ini to Diablo II directory, run the game and nothing changes (fps still capped at 25)
Override the default game.exe with the one from within your appropriate loader file.
I make things? I make things.
Image
https://www.moddb.com/mods/darkquake

ocarinas
Posts: 50
Joined: Sun Apr 10, 2016 4:36 am

Re: BaseMod Plugin

Post by ocarinas » Fri Oct 05, 2018 3:17 am

Darkquake wrote:
Fri Oct 05, 2018 2:56 am
Override the default game.exe with the one from within your appropriate loader file.
I did that, and it doesn't work.
Does it work for you?

User avatar
Darkquake
Posts: 21
Joined: Tue Feb 20, 2018 3:38 pm
Australia

Re: BaseMod Plugin

Post by Darkquake » Fri Oct 05, 2018 5:16 am

Yeah, it works perfectly for me. Sorry to seem picky, but to clarify you have BaseMod.dll, BaseMod.ini and Loaders/1.13d/game.exe in the main directory of D2?

What if you use ingame command /fps what values do you get? How about turning on one of the other options like autogoldpickup to see if it's only the fps bypass having issues?
I make things? I make things.
Image
https://www.moddb.com/mods/darkquake

ocarinas
Posts: 50
Joined: Sun Apr 10, 2016 4:36 am

Re: BaseMod Plugin

Post by ocarinas » Fri Oct 05, 2018 5:43 am

I just reinstalled the game, and it works now.

Still want to know if the plugin can be used on server.

User avatar
devurandom
Forum Regular
Angel
Posts: 617
Joined: Sat Mar 07, 2015 9:07 pm
United States of America

Re: BaseMod Plugin

Post by devurandom » Fri Oct 05, 2018 9:03 am

Yes it can be used with server.. how ever you want to use it.

Some features that I can think of like extended levels & animated inventory, I think would require
you to use the plugin on the client side as well.

:)
Last edited by devurandom on Fri Oct 05, 2018 9:11 am, edited 1 time in total.
Assembly Reference | 1.13d Code Edits | UVLoD | BaseMod Plugin

“The urge to save humanity is almost always a false-face for the urge to rule it." ― H.L. Mencken 1956

jessedazebra
Posts: 30
Joined: Sun Nov 11, 2012 9:46 am
Russia

Re: BaseMod Plugin

Post by jessedazebra » Fri Oct 05, 2018 9:10 am

Hello, this is some great stuff right here :D
I just loaded it with plugy and d2se and it works just fine, thanks!
I'll give some feedback later I guess.
PS.I have a question about Animated Inventory thing: will it work for animated life/mana orbs or it's just for inventory graphics?

User avatar
devurandom
Forum Regular
Angel
Posts: 617
Joined: Sat Mar 07, 2015 9:07 pm
United States of America

Re: BaseMod Plugin

Post by devurandom » Fri Oct 05, 2018 9:14 am

Hello, Thanks for the feed back.
Animated inventory would only work for inventory graphics, as far as I know. - Its also untested by anyone yet.
Assembly Reference | 1.13d Code Edits | UVLoD | BaseMod Plugin

“The urge to save humanity is almost always a false-face for the urge to rule it." ― H.L. Mencken 1956

jessedazebra
Posts: 30
Joined: Sun Nov 11, 2012 9:46 am
Russia

Re: BaseMod Plugin

Post by jessedazebra » Fri Oct 05, 2018 9:51 am

Yea, inv graphics use frames and it works as intended, so I'm not surprised orbs doesn't work this way.
pic
I've seen some people made animated orbs work, and there's C++ code of this somewhere on this site, so it would be really cool to have this feature in your plugin. And stuff like buff icons and this
Just a suggestion ;)
Thanks again for the plugin, I hope to see more cool features in the future, good luck.

User avatar
devurandom
Forum Regular
Angel
Posts: 617
Joined: Sat Mar 07, 2015 9:07 pm
United States of America

Re: BaseMod Plugin

Post by devurandom » Fri Oct 05, 2018 11:19 am

Thanks again for the feedback/suggestions and testing animated inventory. :cool:
Not familiar with animated Orb code/buff icons. Would like to implement 24 bit images. But what tools can make 24 Bit DC6 images? or use .BMP or other image format instead ??

rereading that post it seems they used bitmap image, but not sure??
Assembly Reference | 1.13d Code Edits | UVLoD | BaseMod Plugin

“The urge to save humanity is almost always a false-face for the urge to rule it." ― H.L. Mencken 1956

jessedazebra
Posts: 30
Joined: Sun Nov 11, 2012 9:46 am
Russia

Re: BaseMod Plugin

Post by jessedazebra » Fri Oct 05, 2018 11:59 am

I'm not sure as well. D6Creator won't let to use more than 8-bit colors if I'm not mistaken. I guess Sven's GlideWrapper supports something like 32-bit, at least I could use every color I wanted with this plugin.
Example: teal color name on GC
But I couldn't find any tool that could use 24-bit colors with DC6 file format.
I also asked OP from that topic about his code, but seems like he just dissapeared, idk.

JayBrainDead
Posts: 36
Joined: Fri Mar 09, 2018 10:43 pm

Re: BaseMod Plugin

Post by JayBrainDead » Wed Oct 10, 2018 5:26 pm

Great work Devu. I added it to a fresh install of 1.14d and everything I was able to test worked flawlessly :)

I dont know if you are still looking for suggestions but here are a few simple ones I could think of that could make the world event much more customizable.

<spoiler>
A unique prefix requirement ( The stone of jordan = 122 or custom item = xxx ) for the World event trigger
Potential to allow someone to create an entirely new story line to get said object

A factor of multiplication for the trigger ( 1 Item = 100 SoJ sold ) It is not necessary since you can enable autosoj if you want it to spawn every time you trigger it
but it it still a prettier solution since it doesnt spam the chat and rewards you with an instant screen shake

Also assuming you borrowed some code from plugy for the Uber tristram the minions wont spawn but there are examples of people working with the source code of plugy
that managed to make uber minions / any monster spawn arround bosses, maybe a similar approach could work
</spoiler>

As is it the Base mod tackles the most common requests from new modders to code editing in one clean solution. :good:

User avatar
devurandom
Forum Regular
Angel
Posts: 617
Joined: Sat Mar 07, 2015 9:07 pm
United States of America

Re: BaseMod Plugin

Post by devurandom » Sat Oct 13, 2018 3:39 am

Thanks for the suggestions ;)

Actually nothing is borrowed from PlugY. I set out from the beginning to code independently from that.
Most/all of the code is copy/paste from my own mod. Uber Tristram minions can be softcoded with missiles.txt and monprop.txt.

Update:

@JayBrainDead
made some changes in your request. Lowered the MaxItems sold requirement to just 1 so you'd get instant trigger on item. Also coded in so you can specify only one type of Unique Item for triggering World Event. And fixed some bugs in World Event where it was using the wrong variable name.

New Additions for 1.04
- Nilathek Portal Fix
- Fix for Shadow Master - disappears much less for most maps
- Fix for NecroMancer revives so they don't wander off
- Option for Custom Mpq file
- Updates for World Event Trigger
Assembly Reference | 1.13d Code Edits | UVLoD | BaseMod Plugin

“The urge to save humanity is almost always a false-face for the urge to rule it." ― H.L. Mencken 1956

User avatar
Kaladann
Posts: 58
Joined: Fri Oct 23, 2015 1:15 am
Location: France
France

Re: BaseMod Plugin

Post by Kaladann » Sun Oct 14, 2018 4:43 pm

Nice additions, cheerz !
Want to play but not enought time to drop good stuff and raise decent level ? Try Casual Nostalgia !
ImageMore infos here : viewtopic.php?f=5&t=63800
CHEERS !

User avatar
thaison
Dark Alliance Beta Test
Crusader
Posts: 64
Joined: Fri Apr 03, 2015 11:59 am
Location: Viet Nam
Vietnam

Re: BaseMod Plugin

Post by thaison » Sun Oct 14, 2018 5:43 pm

Can you extend state.txt?. Thanks

User avatar
devurandom
Forum Regular
Angel
Posts: 617
Joined: Sat Mar 07, 2015 9:07 pm
United States of America

Re: BaseMod Plugin

Post by devurandom » Sun Oct 14, 2018 10:06 pm

Thinking i'll pass on that for now.
Assembly Reference | 1.13d Code Edits | UVLoD | BaseMod Plugin

“The urge to save humanity is almost always a false-face for the urge to rule it." ― H.L. Mencken 1956

Ap0calypse
Posts: 8
Joined: Wed Jun 13, 2018 4:18 pm
Brazil

Re: BaseMod Plugin

Post by Ap0calypse » Fri Oct 19, 2018 6:08 am

I'm very impressed with the results! The gold autopick doesn't insist on picking gold after character is full, and everything else I tested worked great!


I'd like to suggest a port from uvlod custom portals (so we can use it on 1.13c and other versions), 2-3 in each act, so modders can add more end game events :-)

I'm in love with you guys work, really really amazing!



edit: an ethereal socketing bug fix would be great too! :P

User avatar
devurandom
Forum Regular
Angel
Posts: 617
Joined: Sat Mar 07, 2015 9:07 pm
United States of America

Re: BaseMod Plugin

Post by devurandom » Fri Oct 19, 2018 7:36 am

Thanks for checking it out.. and suggestions.

Not sure if/when i'll add custom portals but maybe. one thing to note is its definitely not compatible with PlugY, red portals (uber portals)

It would be good to add ethereal socket fix to basemod. First though, I'd like replace my (old) crappy assembly patches in d2common into shiny looking C functions.

Right now I don't have time. I have to take a break D2 modding obsession to, deal with backlogged stuff in real life.. :(
Assembly Reference | 1.13d Code Edits | UVLoD | BaseMod Plugin

“The urge to save humanity is almost always a false-face for the urge to rule it." ― H.L. Mencken 1956

Post Reply

Return to “Member Аnnouncements”