Bioware Archive

Bioware Archive V2 => Builders - Scripting => Topic started by: Legacy_Grani on February 13, 2012, 11:08:23 pm

Title: "Forger" scripts? [Solved]
Post by: Legacy_Grani on February 13, 2012, 11:08:23 pm


                Hi there!
Are there any ready to use "forger" scripts out there? What I mean is something like in HotU campaign, where there is one guy in the Underdark that modify your weapons, etc. A more complex example is in "Good VS Evil" module from the Vault, where one can virtually create in-game any weapon or armor and choose its name and description, and of course properties.

I have no idea about scripting. I tried copying the conversation and connected scripts from "Good VS Evil" (I asked the author for permission, but I haven't received any response) but it still doesn't work properly - one cannot change the name or the description of the item and the required gold for the item is not taken from the player.

Could anyone help with this? Thanks in advance.
               
               

               


                     Modifié par Grani, 15 février 2012 - 07:22 .
                     
                  


            
Title: "Forger" scripts? [Solved]
Post by: Legacy_Grani on February 14, 2012, 10:32:38 am


               Anyone? If there is nothing like that, maybe You know what to do to make the copied ones work properly?
               
               

               
            
Title: "Forger" scripts? [Solved]
Post by: Legacy_Tyndrel on February 14, 2012, 10:57:13 am


               It is always worth having a look on the vault first,

This is number one in the script chart:

Custom Forge

I have used this one and it works very well:

Omega Forge
               
               

               
            
Title: "Forger" scripts? [Solved]
Post by: Legacy_GhostOfGod on February 14, 2012, 01:50:20 pm


               In line with Tyndrel's comment. You should probably check out the vault first. There are a lot of different forges out there and they do a lot of different things.
Most servers have one that they've created themselves or one they've altered to suit the needs of their world. When it comes to forges there isn't really a simple "one size fits all" solution. So searching the vault for something that works best for you is probably your best bet.

nwvault.ign.com/View.php
               
               

               


                     Modifié par GhostOfGod, 14 février 2012 - 01:52 .
                     
                  


            
Title: "Forger" scripts? [Solved]
Post by: Legacy_Grani on February 14, 2012, 05:39:22 pm


               Oh, thanks a lot! I don't know how I managed to miss them, because I was pretty sure I've checked the Vault thoroughly... Thank You. ;)
               
               

               
            
Title: "Forger" scripts? [Solved]
Post by: Legacy_Grani on February 14, 2012, 11:29:06 pm


               The Forge of Wonders system is exactly what I need! However, I'd need the option to change the name and description of the item as well... I've already searched for it on Vaul but it's difficult with no good keywords.

Anyway, could someone suggest some script for changing the name and description of item via conversation? It'd be best if it could work together with Forge of Wonders system... thanks and sorry for further trouble.
               
               

               


                     Modifié par Grani, 14 février 2012 - 11:35 .
                     
                  


            
Title: "Forger" scripts? [Solved]
Post by: Legacy_Birdman076 on February 15, 2012, 12:09:35 am


               I use the Chest of many names for renaming chores.
               
               

               


                     Modifié par Birdman076, 15 février 2012 - 12:10 .
                     
                  


            
Title: "Forger" scripts? [Solved]
Post by: Legacy_Grani on February 15, 2012, 12:13:33 am


               From what I see it cannot change the description... And I would need that as well.
               
               

               
            
Title: "Forger" scripts? [Solved]
Post by: Legacy_GhostOfGod on February 15, 2012, 05:16:32 am


               If you like the system that Birdman suggested I just altered it in a test mod. Changed the conversation a bit and added one more script so it can now change descriptions as well. Let me know if you want to use it.

If you like another system better, most are pretty easy to alter.

You can also do things with the OnChat event to bypass any conversations or npcs all together but it didn't sound like that was what you were looking for. Just another option.

EDIT: I went ahead and put the updated conversation and the new script into an erf in a zip and stuck it in my projects if you want to use it. If you import it into your mod go ahead and overwrite the convesation and scripts.
               
               

               


                     Modifié par GhostOfGod, 15 février 2012 - 05:28 .
                     
                  


            
Title: "Forger" scripts? [Solved]
Post by: Legacy_Tyndrel on February 15, 2012, 06:18:10 am


               This system appears to have the capabilities you need together with...  many others!  :whistle:

Mad Rabbit's player chat commands

I've not used this but it comes highly recommended by those who have and it sounds like you can use just the bits you want.  I continue to be amazed at what folks are able to do with this game, some days I'm more amazed than others!
               
               

               
            
Title: "Forger" scripts? [Solved]
Post by: Legacy_Grani on February 15, 2012, 10:34:15 am


               Chest of many names system is actually very good for changing names and if GhostOfGod modified it to change also description, then it's all I need. :)

However, I checked the projects of yours and it looks like there are no files there, although the project itself is present. Am I missing something? Because I'm not really familiar with Bioware forums.
Thanks a lot :D

Edit: Oh, one more thing! Is it possible to create a script for the conversation in Forge of Wonders that would check if the item on anvil is a weapon or not? And the game would choose two different branches of conversation depending on that?
Yeah, I know I'm asking for much, but that's it and no more :P
               
               

               


                     Modifié par Grani, 15 février 2012 - 10:51 .
                     
                  


            
Title: "Forger" scripts? [Solved]
Post by: Legacy_GhostOfGod on February 15, 2012, 10:58:07 am


               

Grani wrote...

However, I checked the projects of yours and it looks like there are no files there, although the project itself is present. Am I missing something? Because I'm not really familiar with Bioware forums.
Thanks a lot :D



Click on the project and then click the "files" tab. should see the zip file there to download.
               
               

               
            
Title: "Forger" scripts? [Solved]
Post by: Legacy_Grani on February 15, 2012, 10:59:57 am


               Did that, but it is written there are no files there.
               
               

               
            
Title: "Forger" scripts? [Solved]
Post by: Legacy_GhostOfGod on February 15, 2012, 11:06:35 am


               Oops. sorry bout that. I had a setting wrong. Try it now. Hopefully there now.
               
               

               
            
Title: "Forger" scripts? [Solved]
Post by: Legacy_Grani on February 15, 2012, 11:11:08 am


                Yep, working like a charm, thanks. :)
Now, the only remaining question is about the script to recognize whether it's a weapon or not that's placed on the anvil... any ideas?

Edit: Gosh, I accidentally made some weird double-post and don't really see any option to delete a post..
               
               

               


                     Modifié par Grani, 15 février 2012 - 11:14 .
                     
                  


            
Title: "Forger" scripts? [Solved]
Post by: Legacy_Grani on February 15, 2012, 11:12:12 am


               
               
               

               


                     Modifié par Grani, 15 février 2012 - 11:12 .
                     
                  


            
Title: "Forger" scripts? [Solved]
Post by: Legacy_Birdman076 on February 15, 2012, 12:50:26 pm


               Thanks GOG, as always an outstanding job. I didn't really think about the description and had no requests for it, but I will be including it now :)
               
               

               
            
Title: "Forger" scripts? [Solved]
Post by: Legacy_Grani on February 15, 2012, 04:56:09 pm


               I basically need this "text appears when" script with the condition that a weapon is stored in a container. Could anyone do such script, please?
               
               

               
            
Title: "Forger" scripts? [Solved]
Post by: Legacy_GhostOfGod on February 15, 2012, 05:20:20 pm


               I could take a look after I get back up. zzzzz......zzzzzz......zzzzz
               
               

               
            
Title: "Forger" scripts? [Solved]
Post by: Legacy_Grani on February 15, 2012, 06:45:14 pm


               Sure, thanks in advance :D

Edit: It looks like there was already such script in Forge of Wonders system, so I simply used this one. :) Thanks for help, all problems solved!
               
               

               


                     Modifié par Grani, 15 février 2012 - 07:22 .
                     
                  


            
Title: "Forger" scripts? [Solved]
Post by: Legacy__Guile on February 20, 2012, 12:58:40 am


               

Grani wrote...

I basically need this "text appears when"
script with the condition that a weapon is stored in a container. Could
anyone do such script, please?


Change the tagnames below to the actual tagnames of the chest & wpn...


string sChest = "chesttagname";
string sWpn = "wpntagname";

int StartingConditional()
{int i = FALSE; if(GetItemPossessedBy(GetObjectByTag(sChest), sWpn)!=ObjectInvalid){ i = TRUE; } return i;}
               
               

               


                     Modifié par _Guile, 20 février 2012 - 01:00 .