|
Post by Leatherface on Dec 11, 2011 16:55:21 GMT -5
Can I edit the "items.txt" to do this?
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Dec 11, 2011 17:46:45 GMT -5
To my knowledge, somewhat.
Editing the durability line of items in the .txt file will do the trick. It won't be invincible but they will last a long while.
Find the "durability" line in each item
Change the number in it to 100000
Bingo!!
Doesn't work for chuck though, only cThemeItem does and I don't know how that works.
|
|
|
Post by Leatherface on Dec 12, 2011 3:53:36 GMT -5
Thanks for your help!
|
|
tommah
Veteran
Where's My Wiskey
Posts: 1,270
|
Post by tommah on Dec 12, 2011 9:18:36 GMT -5
|
|
|
Post by Leatherface on Dec 12, 2011 12:56:38 GMT -5
Thanks a TON tommah! JUST what I was looking for Can you make every weapon and vehicle indestructible without having to add this line to every single weapon and vehicle?
|
|
tommah
Veteran
Where's My Wiskey
Posts: 1,270
|
Post by tommah on Dec 12, 2011 14:42:44 GMT -5
Thanks a TON tommah! JUST what I was looking for Can you make every weapon and vehicle indestructible without having to add this line to every single weapon and vehicle? you could try a find and replace function: Find all {
Replace with { UnlimitedDurability = "true"
one of two things will happen. 1. it will place it in all entries and the sub-categories, items that won't work will ignore the entry or 2. adding the line to sub-categories will crash the game The code works on all items except Launchers: Cluster, Projectile, etc...
|
|
|
Post by Leatherface on Dec 12, 2011 15:26:58 GMT -5
Hooray!!! EVERY Weapon is now indestructible! So is Chuck! (Invincible, more like ) And it's ALL thanks to YOU, tommah! Thanks a TON!!! I also thank Gibbed for this, without his software, this would not have been possible
|
|
tommah
Veteran
Where's My Wiskey
Posts: 1,270
|
Post by tommah on Dec 12, 2011 16:55:09 GMT -5
your welcome, and yes Gibbed is a god.
|
|