Whenever I try to add a new index to string.tbl, it messes every other index order up. The menu index's(menu texts) get moved.
What should I do?
Sincerely, Sean.
Adding new index to String.tbl f*cks everything.
Moderator: Nizari
Re: Adding new index to String.tbl f*cks everything.
I am moving this thread to General mod making.
Probably you are " inserting " rather han "adding". When you ' insert ', you create a brand new index in between two existing ones. This makes the game's code retrieve the wrong numeric index(es) and the result is a lot of messed up texts
Try adding your new index at the bottom of the .tbl file
Probably you are " inserting " rather han "adding". When you ' insert ', you create a brand new index in between two existing ones. This makes the game's code retrieve the wrong numeric index(es) and the result is a lot of messed up texts
Try adding your new index at the bottom of the .tbl file
Terms of Service
My tutorials:
AIs:
Fixing the Shadow Master's AI
The Shadow Master's AI Compendium
The Shadow Warrior's AI Compendium
The DruidBear's AI Compendium
The DruidWolf's AI Compendium
The Vines AI Compendium
Use every AI as Minion for the Player [Thanks to Necrolis]
Adding simple commands to the Shadow Master's AI
Skills:
Fixing SrvDoFunc 49
Creating a proper summoning skill for enemy monsters
Revive super uniques and bosses
Misc:
Changing reanimated monsters life span [thanks to Necrolis]
My resources:
Ogodei's Diablo I Monster Pack - Final
Ogodei's Diablo I Item Pack v1.00
Ogodei's Autumnal Act I
My tutorials:
AIs:
Fixing the Shadow Master's AI
The Shadow Master's AI Compendium
The Shadow Warrior's AI Compendium
The DruidBear's AI Compendium
The DruidWolf's AI Compendium
The Vines AI Compendium
Use every AI as Minion for the Player [Thanks to Necrolis]
Adding simple commands to the Shadow Master's AI
Skills:
Fixing SrvDoFunc 49
Creating a proper summoning skill for enemy monsters
Revive super uniques and bosses
Misc:
Changing reanimated monsters life span [thanks to Necrolis]
My resources:
Ogodei's Diablo I Monster Pack - Final
Ogodei's Diablo I Item Pack v1.00
Ogodei's Autumnal Act I
- devurandom
- Angel
- Posts: 897
- Joined: Sat Mar 07, 2015 9:07 pm
Re: Adding new index to String.tbl f*cks everything.
String indices are hard coded. You can change an existing string to new one if that's the desired effect, or add new ones at the end of the file.
Assembly Reference | 1.13d Code Edits | UVLoD | BaseMod Plugin
Fiat paper money is the most elaborate and well devised form of slavery the world has ever seen..
Fiat paper money is the most elaborate and well devised form of slavery the world has ever seen..
- Necrolis
- Throne
- Posts: 9125
- Joined: Sat Mar 25, 2006 1:22 pm
- Location: The Land of the Dead
- Contact:
Re: Adding new index to String.tbl f*cks everything.
It is generally recommended that you add strings to the end of patchstring.tbl; this is the file least likely to give issues, and will overwrite any older (non hardcoded) strings.
Netiquette, Do you USE it?!?! | Nefarius' Fixed TXT Files | Terms Of Service
Blackened | Day of Death | D2GFEx
"What was yours is mine. Your land, your people, and now your life." - Lim-Dul, the Necromancer
Judgement is Final, Death is Eternal