Aller au contenu

Photo

"Forger" scripts? [Solved]


  • Veuillez vous connecter pour répondre
20 réponses à ce sujet

#1
Grani

Grani
  • Members
  • 554 messages
 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 .


#2
Grani

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

#3
Tyndrel

Tyndrel
  • Members
  • 185 messages
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

#4
GhostOfGod

GhostOfGod
  • Members
  • 863 messages
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 .


#5
Grani

Grani
  • Members
  • 554 messages
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. ;)

#6
Grani

Grani
  • Members
  • 554 messages
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 .


#7
Birdman076

Birdman076
  • Members
  • 186 messages
I use the Chest of many names for renaming chores.

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


#8
Grani

Grani
  • Members
  • 554 messages
From what I see it cannot change the description... And I would need that as well.

#9
GhostOfGod

GhostOfGod
  • Members
  • 863 messages
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 .


#10
Tyndrel

Tyndrel
  • Members
  • 185 messages
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!

#11
Grani

Grani
  • Members
  • 554 messages
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 .


#12
GhostOfGod

GhostOfGod
  • Members
  • 863 messages

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.

#13
Grani

Grani
  • Members
  • 554 messages
Did that, but it is written there are no files there.

#14
GhostOfGod

GhostOfGod
  • Members
  • 863 messages
Oops. sorry bout that. I had a setting wrong. Try it now. Hopefully there now.

#15
Grani

Grani
  • Members
  • 554 messages
 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 .


#16
Grani

Grani
  • Members
  • 554 messages

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


#17
Birdman076

Birdman076
  • Members
  • 186 messages
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 :)

#18
Grani

Grani
  • Members
  • 554 messages
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?

#19
GhostOfGod

GhostOfGod
  • Members
  • 863 messages
I could take a look after I get back up. zzzzz......zzzzzz......zzzzz

#20
Grani

Grani
  • Members
  • 554 messages
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 .


#21
_Guile

_Guile
  • Members
  • 685 messages

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 .