String and spell problem
#1
Posted 01 June 2009 - 06:39 AM
i hope someone ll help me with these 2 problems :
1. problem is with making new items in program IEEP (v109 build 40). I can make item and when testing it in game everything is just fine. Efects, headers, text... works fine. Until i change language from english to czech. From that moment text is like this : <Invalid Reference> in all editing boxes. It happen on my new items or old items (where i made some change) in all directories of windows (doesnt matter where they are and what name they have). Maybe language instaler did that, but after unninstall it happen again. So how can i protect my new items ? And is there other way how to import items into game, except copy them to override folder ? I find that mods for weidu have console-installer and after installing (for expample stuff of magi v4) is everything ok, but if u look at items in directory before install - there is same "problem" <Invalid Reference>. This is only way how to do that ?
2. problem is with casting some spell permanent after item is equipped. My solution doesnt work. (2 days ago it worked with this effect, but now i dont know how to make it)
I'm using effect : cast spell on condition
while equipped
0 - 100 propability
self
spellname in resource key
parameters 0 (up) 8 (down) [program says : with this condition is spell casted every turn]
When i start game and wear item nothing happen.
I cant make scripts, only using this and nearinfinity - for exporting. So can someone help ?
(i know this is not about weidu or modding but most forums related to this are already dead)
Thanks
#2
Posted 01 June 2009 - 08:41 AM
2. I'm not sure I've understood what you mean. Do you mean you want an item that casts a spell on the wearer and you want this spell to be permanent, even after the item has been taken away?
Anyway, I'd suggest you to take a look at the tutorials here on SHS http://www.shsforums...showtopic=36781 (if you haven't already)
oO My DA Gallery Oo
oO My Artcorner on SHS Oo
oO "Ask the Betrayer" parody comic Oo
oO My other parody comics on SHS Oo
(and no, I'M not egocentric!)Oh, and Epantiras, you're simply Epantirastic.
I Hate Elminster! (proud member of the We Hate Elminster club)
#3
Posted 01 June 2009 - 09:49 AM
Do not use IEEP for item editing (or any other editing). In modding terms, the tool is pretty much antique. Near Infinity or DLTCEP are both better suited for this, and as far as I can recall, they both have built-in support for adding strings to dialog.tlk. They should also be able to better edit the cast-spell-on-condition ability. If you want to make your item distributable (as in, available for others to download and play with), you should create an installer with WeiDU to assign the strings.
Khadion NPC mod - Team leader, head designer
Hubelpot NPC mod - Team leader, coder
NPC Damage - Coder
PC Soundsets - Coder, voice actor
Brythe NPC mod - Designer
DragonLance TC - Glory of Istar - Designer
The NPC Interaction Expansion Project - Writer for Cernd, Sarevok
The Jerry Zinger Show - Producer
Iron Modder 5 - Winner
#4
Posted 01 June 2009 - 09:52 AM
Yes, it is the only way, it is also the best way, but it is also easy to get around with WeiDU. Just make a text file called setup-mymod.tp2 and put in it:I find that mods for weidu have console-installer and after installing (for expample stuff of magi v4) is everything ok, but if u look at items in directory before install - there is same "problem" <Invalid Reference>. This is only way how to do that ?
BACKUP ~mymod/backup~ AUTHOR ~anything~ BEGIN ~My Mod~ COPY ~mymod/items/myitem1.itm~ ~override~ SAY NAME1 ~Unidentified name goes here~ SAY NAME2 ~Identified name~ SAY UNIDENTIFIED_DESC ~Guess what?~ SAY DESC ~Identified description~And so on. Save this in a 'mymod' folder in your game directory (call it what you want). Make a folder called 'backup' in that too. Then download WeiDU.exe (or copy another mod's .exe) and rename it setup-mymod.exe. Put that in your game folder. Congrats, you've just made a WeiDU mod .
Note, you can use AUTO_TRA in WeiDU to have different languages for your mod, but that is slightly more advanced.
Which spell do you want on your item? The best thing is to look at the effects of the spell and put them all individually on your item under equipping effects. I prefer DLTCEP to NI for this kind of work, but both should do the job (and both are better than IEEP as SConrad says).2. problem is with casting some spell permanent after item is equipped. My solution doesnt work. (2 days ago it worked with this effect, but now i dont know how to make it)
I'm using effect : cast spell on condition
while equipped
0 - 100 propability
self
spellname in resource key
parameters 0 (up) 8 (down) [program says : with this condition is spell casted every turn]
When i start game and wear item nothing happen.
Need a little more information to help - what is the problem with the scripts?I cant make scripts, only using this and nearinfinity - for exporting. So can someone help ?
Eh... yes it is about WeiDU and modding, and this forum is not dead .(i know this is not about weidu or modding but most forums related to this are already dead)
Infinity Engine Contributions
Aurora * BG1 NPC * BG1 Fixpack * Haiass * Infinity Animations * Level 1 NPCs * P5Tweaks
PnP Free Action * Thrown Hammers * Unique Containers * BG:EE * BGII:EE * IWD:EE
================================================================
Player & Modder Resources
BAM Batcher * Creature Lister * Creature Checker * Creature Fixer * Tutu/BGT Area Map & List * Tutu Mod List
================================================================
"Infinity turns out to be the opposite of what people say it is. It is not 'that which has nothing beyond itself' that is infinite, but 'that which always has something beyond itself'." -Aristotle
#5
Posted 01 June 2009 - 10:37 AM
Miloch thx for code, i ll try it. So i need some time to study these programs... I ll write if I ll be successfull or not.