lfnetwork.com mark read register faq members calendar

Thread: The loot generator problem
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 01-24-2007, 08:16 AM   #1
Ztalker
Saving the world casually
 
Ztalker's Avatar
 
Join Date: Aug 2005
Location: Normandy SR-2
Posts: 2,780
Forum Veteran 
The loot generator problem

Hello there...

I recently installed Kotor 2 again. While browsing through some Mods, I found Svösh his Jedi Master retextures. I clicked the picture to see the result, and got a shock.
It showed several robes I had never seen before. Browsing through the forums, i found out that the item list has several cool items in it that aren't 'Rollable' by the loot generator.
For example, Malak's Armor is obtainable. It never spawned for me though.

So...my question is:
Is this fixable? I'd love to see all that cool weapons and armor. It would make the game so much better.

Thanks in advance!
http://img154.imageshack.us/img154/7...arfix150us.jpg


Last edited by stoffe; 01-24-2007 at 09:02 AM. Reason: Changed very wide image to link instead...
Ztalker is offline   you may: quote & reply,
Old 01-24-2007, 08:59 AM   #2
stoffe
Network Caretaker
 
stoffe's Avatar
 
Status: Administrator
Join Date: Apr 2002
Posts: 5,833
Helpful! 10 year veteran! Notable contributor 
Quote:
Originally Posted by Ztalker
While browsing through some Mods, I found Svösh his Jedi Master retextures. I clicked the picture to see the result, and got a shock.
It showed several robes I had never seen before.
(snip)
So...my question is:
Is this fixable? I'd love to see all that cool weapons and armor. It would make the game so much better.
It's a bug in the loot generator scripts that cause a_robe_16 to be the highest one that is dropped as loot. It's pretty easy to fix in itself, though since it will require recompiling all the loot generating scripts (there are quite a lot of them) it might lead to incompatibilities with other mods that modify these scripts. The Ultimate Saber Mod comes to mind, since it alters the random loot, as does the Improved AI mod, since it has recompiled versions of some of these scripts as well.

The attached file contains a modified k_inc_treas_k2.nss include file which should have that bug fixed. You'd need to use it to recompile all the random loot scripts though. Some of them are listed below, but there could be more:

Code:
k_def_grenspn.nss
k_def_spawn01.nss
k_def_spn_t_drd.nss
k_def_spn_t_empt.nss
k_def_spn_t_jedi.nss
k_def_spn_t_less.nss
k_def_spn_t_more.nss
k_def_spn_t_per.ss   
k_plc_it_arm.nss
k_plc_it_arm_h.nss
k_plc_it_arm_l.nss
k_plc_it_arm_m.nss
k_plc_it_arm_r.nss
k_plc_it_eq.nss
k_plc_it_eq_belt.nss
k_plc_it_eq_glov.nss
k_plc_it_eq_helm.nss
k_plc_it_eq_imp.nss
k_plc_it_up.nss
k_plc_it_up_a.nss
k_plc_it_up_l.nss
k_plc_it_up_l_cr.nss
k_plc_it_up_m.nss
k_plc_it_up_r.nss
k_plc_it_weap.nss
k_plc_it_weap_bp.nss
k_plc_it_weap_br.nss
k_plc_it_weap_l.nss
k_plc_it_weap_m.nss
k_plc_treas_empt.nss
k_plc_treas_less.nss
k_plc_treas_more.nss
k_plc_treas_norm.nss
k_plc_treas_per.nss
k_plc_tresciv.nss
k_plc_trescorhig.nss
k_plc_trescorlow.nss
k_plc_trescormid.nss
k_plc_tresdrdhig.nss
k_plc_tresdrdlow.nss
k_plc_tresdrdmid.nss
k_plc_tresmilhig.nss
k_plc_tresmillow.nss
k_plc_tresmilmid.nss
k_plc_tresrakat.nss
k_plc_tresshahig.nss
k_plc_tresshalow.nss
k_plc_tresshamid.nss
k_plc_tressndppl.nss
Attached Files
File Type: zip k_inc_treas_k2.zip (5.5 KB, 75 views)
stoffe is offline   you may: quote & reply,
Old 01-24-2007, 09:53 AM   #3
Ztalker
Saving the world casually
 
Ztalker's Avatar
 
Join Date: Aug 2005
Location: Normandy SR-2
Posts: 2,780
Forum Veteran 
Thanks, Stoffe.

I'm downloading the Improved A.I. right now

(And that script might come in handy too...I might actually try to make a fix for this myself)

Ztalker is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > Knights of the Old Republic > Editing / Modding > Holowan Laboratories > Modding requests > The loot generator problem

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:52 PM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.