[D2Mod plugin] SetStat
Moderators: Nefarius, Yohann, SVR
-
- Champion of the Light
- Posts: 392
- Joined: Mon Apr 12, 2004 1:12 am
- Location: Newcastle upon Tyne
[D2Mod plugin] SetStat
I'm pleased to present a new plugin, SetStat, which is currently available from here.
This fulfills a long-held dream of RicFaith's to allow a character's stats to be directly controlled from a cube recipe.
The included readme gives a couple of examples of use, but feel free to ask questions, or give suggestions for extensions.
This fulfills a long-held dream of RicFaith's to allow a character's stats to be directly controlled from a cube recipe.
The included readme gives a couple of examples of use, but feel free to ask questions, or give suggestions for extensions.
-
- Angel
- Posts: 630
- Joined: Wed Jan 28, 2004 2:47 am
- Location: In the darkest corners of your mind
Re: [D2Mod plugin] SetStat
Does the stats entered only effect the char or can it be used otherwise
Custom health-mana bubbles. Custom loading video's. Custom Hireling graphics.
'Do what thou wilt shall be the whole of the Law'
'Do what thou wilt shall be the whole of the Law'
-
- Angel
- Posts: 630
- Joined: Wed Jan 28, 2004 2:47 am
- Location: In the darkest corners of your mind
Re: [D2Mod plugin] SetStat
Sorry, too quick at reading the info (and seeing it's not item based) But how about doing an item based plugin.
But this is a good plugin for D2Mod.
Things are advancing fast in this aspect, soon we won't have to do much editing with regards to code for "medium" things.
EDIT
Sorry the "medium" reference sounds demeaning, which it wasn't meant to be.
But this is a good plugin for D2Mod.
Things are advancing fast in this aspect, soon we won't have to do much editing with regards to code for "medium" things.
EDIT
Sorry the "medium" reference sounds demeaning, which it wasn't meant to be.
Last edited by I_only_pressed_Esc on Mon Apr 25, 2005 9:14 pm, edited 1 time in total.
Custom health-mana bubbles. Custom loading video's. Custom Hireling graphics.
'Do what thou wilt shall be the whole of the Law'
'Do what thou wilt shall be the whole of the Law'
-
- Crusader
- Posts: 90
- Joined: Mon Jan 03, 2005 11:23 am
Re: [D2Mod plugin] SetStat
What does this plugin do, i dont get it?
And i think next plugin should be for new quests
And i think next plugin should be for new quests
"I am that one star shining brightly in the night" - NightStar
Re: [D2Mod plugin] SetStat
Cool plugin! For a long time I wanted to give the player experience for use of some cube recipes. Now I may!
One question: Is it possible to add possibility to do same for stats with parameters (for example +X to single skill)? It would be magnificent.
One question: Is it possible to add possibility to do same for stats with parameters (for example +X to single skill)? It would be magnificent.
-
- Arch-Angel
- Posts: 1576
- Joined: Fri May 24, 2002 7:12 am
- Location: Back where the weather is too hot
Re: [D2Mod plugin] SetStat
[quote=I_only_pressed_Esc";p="221827"]Sorry, too quick at reading the info (and seeing it's not item based) But how about doing an item based plugin.
But this is a good plugin for D2Mod.
Things are advancing fast in this aspect, soon we won't have to do much editing with regards to code for "medium" things.
EDIT
Sorry the "medium" reference sounds demeaning, which it wasn't meant to be. [/quote]
Item based? But if you're using the cube, you can already give stuff to items? "useitem" and whatever you want via the mod columns. What you can't affect are the character stats.
---
NightStar, the plugin allows you to give +X to a character stat. Usually you can only add to items, or perhaps create charms so that you can put them in inventory to get the effects. Now you can directly modify the character stats. So a cube recipe that give +5 to strength is directly possible.
---
Heh yes of course I'm excited abt this
But this is a good plugin for D2Mod.
Things are advancing fast in this aspect, soon we won't have to do much editing with regards to code for "medium" things.
EDIT
Sorry the "medium" reference sounds demeaning, which it wasn't meant to be. [/quote]
Item based? But if you're using the cube, you can already give stuff to items? "useitem" and whatever you want via the mod columns. What you can't affect are the character stats.
---
NightStar, the plugin allows you to give +X to a character stat. Usually you can only add to items, or perhaps create charms so that you can put them in inventory to get the effects. Now you can directly modify the character stats. So a cube recipe that give +5 to strength is directly possible.
---
Heh yes of course I'm excited abt this
13 - [color=FF77FF]A Lord of Destruction Total Conversion[/color] - Taking No Hostages
13 File Center - Find [color=00FF00]D2Mod Plugins[/color], [color=6789FF]BGmod UI Pack[/color] and more!
[color=9876FF]Got too much time? [/color] [color=FF7654] Got too much work?[/color]
Get over to the Job Offerings Forum and let others know!
13 File Center - Find [color=00FF00]D2Mod Plugins[/color], [color=6789FF]BGmod UI Pack[/color] and more!
[color=9876FF]Got too much time? [/color] [color=FF7654] Got too much work?[/color]
Get over to the Job Offerings Forum and let others know!
-
- Angel
- Posts: 630
- Joined: Wed Jan 28, 2004 2:47 am
- Location: In the darkest corners of your mind
Re: [D2Mod plugin] SetStat
Oh,dear............ I just don't know where my brain is sometimesItem based? But if you're using the cube, you can already give stuff to items? "useitem" and whatever you want via the mod columns. What you can't affect are the character stats.
Custom health-mana bubbles. Custom loading video's. Custom Hireling graphics.
'Do what thou wilt shall be the whole of the Law'
'Do what thou wilt shall be the whole of the Law'
-
- Angel
- Posts: 955
- Joined: Tue May 28, 2002 8:57 pm
- Location: Chicago, IL, USA
-
- Angel
- Posts: 955
- Joined: Tue May 28, 2002 8:57 pm
- Location: Chicago, IL, USA
-
- Paladin
- Posts: 164
- Joined: Fri Feb 06, 2004 4:02 am
Re: [D2Mod plugin] SetStat
[quote=delixer";p="222025"]Would this allow me to make a potion that, when right-clicked, it would add to a players stat, permantently? I remember seeing a post where I think Kingpin might have found a txt based solution, but I cannot for the life of me find it.[/quote]
No. It is for moment when cube recipe works, not for when You right-clics on items. I think You search this?
No. It is for moment when cube recipe works, not for when You right-clics on items. I think You search this?
-
- Angel
- Posts: 955
- Joined: Tue May 28, 2002 8:57 pm
- Location: Chicago, IL, USA
Have patience, grasshopper. It may be quite some time before it's released but I'm pretty darn sure you'll see it from someone who's done it.
Havvoric, since you've hinted the next version of this plugin is on the way and much better, might we know what features to expect as I'm already working on a minimod based on this?
Havvoric, since you've hinted the next version of this plugin is on the way and much better, might we know what features to expect as I'm already working on a minimod based on this?
-
- Champion of the Light
- Posts: 392
- Joined: Mon Apr 12, 2004 1:12 am
- Location: Newcastle upon Tyne
Well, at the moment, all the work is done through two hard-coded routines. The next version (not started) will use entries from properties.txt to allow more features to be added (hopefully including) TrueMage's suggestion of
Is it possible to add possibility to do same for stats with parameters (for example +X to single skill)? It would be magnificent.
-
- Angel
- Posts: 955
- Joined: Tue May 28, 2002 8:57 pm
- Location: Chicago, IL, USA
Neat-o! Thanks for the 411, I don't think the next version will affect my design. I'm off to mod...
EDIT: So I was looking at the readme and I noticed something confusing. In the examples you provide, you use strength as the stat being adjusted, which is why modparam is zero when the property is called. But that is very confusing because normally when you see modparam as zero that means it is not used. It might be helpful to choose another stat for the example so it is obvious that modparam is referring to the stat ID in itemstatcost, or maybe spell that out in the readme as well.
EDIT: So I was looking at the readme and I noticed something confusing. In the examples you provide, you use strength as the stat being adjusted, which is why modparam is zero when the property is called. But that is very confusing because normally when you see modparam as zero that means it is not used. It might be helpful to choose another stat for the example so it is obvious that modparam is referring to the stat ID in itemstatcost, or maybe spell that out in the readme as well.
Last edited by Kraj on Wed Apr 27, 2005 9:02 pm, edited 1 time in total.