Visit the Ironworks Gaming Website Email the Webmaster Graphics Library Rules and Regulations Help Support Ironworks Forum with a Donation to Keep us Online - We rely totally on Donations from members Donation goal Meter

Ironworks Gaming Radio

Ironworks Gaming Forum

Go Back   Ironworks Gaming Forum > Ironworks Gaming Forums > Dungeon Craft - RPG Game Maker
FAQ Calendar Arcade Today's Posts Search

Reply
 
Thread Tools Search this Thread
Old 08-01-2008, 06:17 PM   #11
manikus
Jack Burton
 

Join Date: July 13, 2001
Location: Stumptown
Age: 53
Posts: 5,444
Default Re: Superpowers

This worked fine in my tests, except that I was using a hat (Thinking Cap) that raised intelligence to 21.

Check out Paul's responses on the Yahoo list...
__________________
manikus is offline   Reply With Quote
Old 08-01-2008, 08:19 PM   #12
Funky Dynamite
Zhentarim Guard
 

Join Date: July 11, 2005
Location: Saint Louis, Missouri
Age: 51
Posts: 393
Default Re: Superpowers

Quote:
Originally Posted by SilentThief View Post
I was having issues with editing effects from items and spells, and thats why I stopped working with it. I can do some tricks (for peanuts or shiny coins ), but until GPDL is corrected, its functionality is limited to simple tricks.

ST
So have I.
__________________
"Where does he get those wonderful toys...?"
"Why, I sell my soul, of course...."
Funky Dynamite is offline   Reply With Quote
Old 08-01-2008, 08:24 PM   #13
manikus
Jack Burton
 

Join Date: July 13, 2001
Location: Stumptown
Age: 53
Posts: 5,444
Default Re: Superpowers

As I stated above, I don't think that the GPDL is that broken.

I think that we just don't know how to do a lot correctly.

By the by- you can use $MyIndex instead of $TargetIndex in the above code. Paul pointed this out as the better way to do it.

Oh, and by the way, not only has Paul spoken up, but so has Richard (CocoaSpud), and while they're not committing to anything, they are both taking a look at the code.
__________________
manikus is offline   Reply With Quote
Old 08-01-2008, 08:58 PM   #14
Funky Dynamite
Zhentarim Guard
 

Join Date: July 11, 2005
Location: Saint Louis, Missouri
Age: 51
Posts: 393
Default Re: Superpowers

Quote:
Originally Posted by manikus View Post
Okay, I've got it now.

It is a bit more complicated than what we've been doing.

Here is the Activation Script:
Code:
$SET_CHAR_ASL($TargetIndex(),"strength25",25-#$GET_CHAR_STR($TargetIndex()));
$SET_CHAR_STR($TargetIndex(),25);
And the Deactivation Script:
Code:
$SET_CHAR_STR($TargetIndex(),$GET_CHAR_STR($TargetIndex())-#$GET_CHAR_ASL($TargetIndex(),"strength25"));
Cool!
I'll try it tonight....
__________________
"Where does he get those wonderful toys...?"
"Why, I sell my soul, of course...."
Funky Dynamite is offline   Reply With Quote
Old 08-02-2008, 07:45 AM   #15
Funky Dynamite
Zhentarim Guard
 

Join Date: July 11, 2005
Location: Saint Louis, Missouri
Age: 51
Posts: 393
Default Re: Superpowers

Quote:
Originally Posted by manikus View Post
Okay, I've got it now.

It is a bit more complicated than what we've been doing.

Here is the Activation Script:
Code:
$SET_CHAR_ASL($TargetIndex(),"strength25",25-#$GET_CHAR_STR($TargetIndex()));
$SET_CHAR_STR($TargetIndex(),25);
And the Deactivation Script:
Code:
$SET_CHAR_STR($TargetIndex(),$GET_CHAR_STR($TargetIndex())-#$GET_CHAR_ASL($TargetIndex(),"strength25"));
Okay, I tested this, works just beautifilly, thank you. Even works with different numbers too.
But what about other stats, like Charisma? I tried this script with the appropriate changes, and it seems not to work. Is it just me?
__________________
"Where does he get those wonderful toys...?"
"Why, I sell my soul, of course...."
Funky Dynamite is offline   Reply With Quote
Old 08-02-2008, 09:29 AM   #16
manikus
Jack Burton
 

Join Date: July 13, 2001
Location: Stumptown
Age: 53
Posts: 5,444
Default Re: Superpowers

It should work with any attribute. The actual item that I used to test this out, and that Paul helped me with was for Intelligence. When I was testing $MyIndex (instead of $TargetIndex) I did it for Dexterity.

For Charisma it should read:
Code:
$SET_CHAR_ASL($MyIndex(),"Char25",25-#$GET_CHAR_CHA($MyIndex()));
$SET_CHAR_CHA($MyIndex(),25);
And
Code:
$SET_CHAR_CHA($MyIndex(),$GET_CHAR_CHA($MyIndex())-#$GET_CHAR_ASL($MyIndex(),"Char25"));
(For the Activation and Deactivation scripts respectively.)
__________________
manikus is offline   Reply With Quote
Old 08-03-2008, 10:29 AM   #17
Funky Dynamite
Zhentarim Guard
 

Join Date: July 11, 2005
Location: Saint Louis, Missouri
Age: 51
Posts: 393
Default Re: Superpowers

Quote:
Originally Posted by manikus View Post
It should work with any attribute. The actual item that I used to test this out, and that Paul helped me with was for Intelligence. When I was testing $MyIndex (instead of $TargetIndex) I did it for Dexterity.

For Charisma it should read:
Code:
$SET_CHAR_ASL($MyIndex(),"Char25",25-#$GET_CHAR_CHA($MyIndex()));
$SET_CHAR_CHA($MyIndex(),25);
And
Code:
$SET_CHAR_CHA($MyIndex(),$GET_CHAR_CHA($MyIndex())-#$GET_CHAR_ASL($MyIndex(),"Char25"));
(For the Activation and Deactivation scripts respectively.)
Ah, I see what I was doing wrong; I was spelling out "Charisma" I see you have "Char," how do you know what to put there? Like is Intelligence Intell, and Dexitary is Dexit, etc., etc...?
__________________
"Where does he get those wonderful toys...?"
"Why, I sell my soul, of course...."
Funky Dynamite is offline   Reply With Quote
Old 08-03-2008, 10:31 AM   #18
Funky Dynamite
Zhentarim Guard
 

Join Date: July 11, 2005
Location: Saint Louis, Missouri
Age: 51
Posts: 393
Default Re: Superpowers

Oh, BTW, pass onto your friend my immense thanks!
__________________
"Where does he get those wonderful toys...?"
"Why, I sell my soul, of course...."
Funky Dynamite is offline   Reply With Quote
Old 08-03-2008, 10:54 AM   #19
manikus
Jack Burton
 

Join Date: July 13, 2001
Location: Stumptown
Age: 53
Posts: 5,444
Default Re: Superpowers

My "friend" is named Paul R. Stevens and he's one of the original coders of DC. He's the guy who created the GPDL engine to run all of these scripts. And all I did was know where to ask. He reads the Yahoo list and while he has been pretty inactive for the last couple of years, has announced that he is getting back into DC. In fact he's already been testing submitting new code to the CVS which is the first step towards the next version of DC. And to think, if you hadn't asked here, I wouldn't have asked there, and...Paul might have decided not to come back. So, thanks for asking questions.
__________________
manikus is offline   Reply With Quote
Old 08-03-2008, 11:05 AM   #20
Arminius
The Magister
 

Join Date: January 10, 2008
Location: The Gate Between Worlds
Age: 53
Posts: 103
Default Re: Superpowers

Ok I see how it works now. I'm gonna start playing around with the GPDL thing and start asking lots of questions about it. Maybe in that way I can help push DC into the next version!
Arminius is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 11:59 PM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
©2024 Ironworks Gaming & ©2024 The Great Escape Studios TM - All Rights Reserved