lfnetwork.com mark read register faq members calendar

Thread: [KoTOR] Holster Weapons Mod
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 09-24-2008, 08:58 AM   #1
Xiskio
Rookie
 
Xiskio's Avatar
 
Join Date: Jan 2006
Posts: 26
[KoTOR] Holster Weapons Mod (First Release!)

UPDATE

New Version 1.1 released.
New in this Version: If the party gets attacked or any hostile people/creatures are in sight, weapons will be automatically reequipped.
Download from my Homepage



INTRODUCTION

Hi all,

a few days ago I started playing KoTOR I again. The first time I set foot at Taris I felt the urge to holster the parties weapons. Especially because it seemed so unnatural in a lot of places where just normal living is going on, running around with weapons drawn. It feels even more out of place if one of your characters is using swords. And beside that, I was told to keep a low profile . So the idea for a "Holster Weapons Mod" was born.

Even so I am an experienced NWN2 modder (xUI), I am new to modding KoTOR. However, I am very good at NWN scripting and KoTOR scripting is not that different. I also am good with Photoshop and do have a little experience with 3D modeling.


MOD DESCRIPTION

In the first step I am developing this mod so that it lets you unequip respectively equip the parties weapons by a click on a button, or by activating an item, or by pressing a key. This part is already under development.

The second step is to check if it is possible to extend the mod to make it possible to see the weapons holstered on the character models.
I am currently not sure that this can be achieved, but want to try. For this part I am looking for someone to help with the 3D modeling. So if someone is interested send me a message or post in this thread.


Every help I can get will be highly appreciated.

Have Fun
Xiskio



DEVELOPMENT

The first step is already progressing very good.
However, so far the only way I could figure out to make what I was aiming for, seems to be an Armband attached with a script.

I would have loved to do it by adding a new Button to the UI or by creating a new hotkey where the script is attached to, but I was not able to figure out how that could be done.


Currently I do have an issue with the SetGlobalString function that I want to use to store the weapons TAG's prior to unequipping the weapons. The weapon TAG's are just not saved with the global var. When I try to save a test string like "I was here!" however that works fine.

I already checked that the tags are read correct and they are.
The code I use is as following:
Code:
oRightHandWeapon = GetItemInSlot(INVENTORY_SLOT_RIGHTWEAPON, oPartyMember);
SetGlobalString("CarthRHW", GetTag(oRightHandWeapon));
Any idea what is wrong?

Thanks
Xiskio

Last edited by Xiskio; 09-28-2008 at 06:55 AM. Reason: Update for Release v1.1
Xiskio is offline   you may: quote & reply,
Old 09-24-2008, 09:14 AM   #2
Istorian
Junior Member
 
Istorian's Avatar
 
Join Date: May 2008
Location: Back at LF
Posts: 378
Helpful! 
Hello and welcome to the forums! Congratulations on your mod, I am sure it will be very nice! Now, about your script problem, you have to declare what is the "oRightHandWeapon"...use this one:

Code:
void main()
{
object oRightHandWeapon = GetItemInSlot(INVENTORY_SLOT_RIGHTWEAPON, oPartyMember);
SetGlobalString("CarthRHW", GetTag(oRightHandWeapon));
}
That should solve your problem!

Anyway, welcome again and have a nice modding stay here at Holowan Labs!

|I|

Istorian is offline   you may: quote & reply,
Old 09-24-2008, 11:29 AM   #3
Xiskio
Rookie
 
Xiskio's Avatar
 
Join Date: Jan 2006
Posts: 26
Quote:
Originally Posted by Istorian View Post
Hello and welcome to the forums! Congratulations on your mod, I am sure it will be very nice! Now, about your script problem, you have to declare what is the "oRightHandWeapon"...use this one:

Code:
void main()
{
object oRightHandWeapon = GetItemInSlot(INVENTORY_SLOT_RIGHTWEAPON, oPartyMember);
SetGlobalString("CarthRHW", GetTag(oRightHandWeapon));
}
That should solve your problem!

Anyway, welcome again and have a nice modding stay here at Holowan Labs!

|I|

Hi Istorian,

Thank you for your warm welcome.

The code I posted was just an excerpt. The object was already declared earlier in the code. Sorry that I forgot to mention it.
To be on the safe side, when it comes to the values of the variables I use, I used some debug output to check it and everything is fine, except that the values are not stored in the global var.

May it be that the global string vars just accept strings of a certain maximum length and that the weapon tag strings are too long?
I will test that.
Xiskio is offline   you may: quote & reply,
Old 09-24-2008, 12:15 PM   #4
Darth Payne
I Am Revan, I Remember.
 
Darth Payne's Avatar
 
Join Date: Nov 2007
Location: Grong, Norway
Posts: 2,491
Current Game: DS3, Alien: Colonial Marines
Would it be possible to add that if you have unholstered weapons people such as sith troopers or guards become suspicious, or even hostile?


http://www.xboxlc.com/cards/sig/newblack/pederskomsvold.jpg
Formerly known as: Danyael27
My mods at KotorFiles: K1 Robe Stat Boost, TSL Jedi Robe Stat Boost, Jedi Fight Training.
Quando omni flunkus moritati - the motto of the Possum Lodge, Pseudo-Latin for 'when all else fails, play dead.'


SW: Invasion 05,P16 -(Spraug: Seriously? A Wookie with a lightsaber? Thats just overkill.
Darth Payne is offline   you may: quote & reply,
Old 09-24-2008, 02:18 PM   #5
zbyl2
Junior Member
 
zbyl2's Avatar
 
Join Date: May 2008
Location: a galaxy far far away...
Posts: 320
Contest winner - Modding Veteran Modder 
Did you add your global to globalcat.2da? It can be a problem
zbyl2 is offline   you may: quote & reply,
Old 09-25-2008, 05:45 AM   #6
Xiskio
Rookie
 
Xiskio's Avatar
 
Join Date: Jan 2006
Posts: 26
Quote:
Originally Posted by zbyl2 View Post
Did you add your global to globalcat.2da? It can be a problem
Yes, I did.


Doing some more tests I think I found the problem. I had too many global string variables, even so it just where 20! It seems that only 3 user defined string variables are supported. Everything above that is just ignored.

However this needs some more investigation before I/you can count on it. For that it would be helpful if I had a savegame from near the end of KoTOR I. It would be great if someone could upload one somewhere (Rapidshare for example).


Quote:
Originally Posted by Darth Payne View Post
Would it be possible to add that if you have unholstered weapons people such as sith troopers or guards become suspicious, or even hostile?
Good idea! I just don't know if that would be possible, but I will definitely keep it in mind and look into it.



Thanks
Xiskio

Last edited by Xiskio; 09-25-2008 at 05:58 AM.
Xiskio is offline   you may: quote & reply,
Old 09-25-2008, 07:00 AM   #7
Darth Payne
I Am Revan, I Remember.
 
Darth Payne's Avatar
 
Join Date: Nov 2007
Location: Grong, Norway
Posts: 2,491
Current Game: DS3, Alien: Colonial Marines
The hostile thing was done in the Kill Bastila mods, in which if you had Bastila in you party on Taris the sith trooper attacked.

It's what gave me the idea.


http://www.xboxlc.com/cards/sig/newblack/pederskomsvold.jpg
Formerly known as: Danyael27
My mods at KotorFiles: K1 Robe Stat Boost, TSL Jedi Robe Stat Boost, Jedi Fight Training.
Quando omni flunkus moritati - the motto of the Possum Lodge, Pseudo-Latin for 'when all else fails, play dead.'


SW: Invasion 05,P16 -(Spraug: Seriously? A Wookie with a lightsaber? Thats just overkill.
Darth Payne is offline   you may: quote & reply,
Old 09-25-2008, 01:26 PM   #8
Xiskio
Rookie
 
Xiskio's Avatar
 
Join Date: Jan 2006
Posts: 26
I am proud to announce the first release version of this mod.


This is just the first release of this mod.
Further development is going on.


Holster Party Weapons Mod v1.0
for Star Wars: Knights of the Old Republic I (English language version only)

Description
This mod provides an Armband that when used will unequip the parties weapons on first use and reequip them on the next use.

To get the armband talk to Carth and ask him if he has any items you could use.

Installation
Extract the downloaded file, start the install exe and follow the instructions.
The installer is made with TSLPatcher.

Compatibility
Because the installer is made with TSLPatcher this mod should be compatible with most other mods.
The only exception will be mods that made changes to Carth's dialogues (File: k_hcar_dialog.dlg).

Acknowledgements
LucasForum - a great resource of information about modding KoTOR and a bunch of helpfull people.
Stoffe - for his TSLPatcher.
Fred Tetra - for his very helpful KoTOR-Tool.
And to all the other people I haven't mentioned, that support the KoTOR community with their ideas, experience, or tools.

Thank you!



History
v1.0 – Initial Release


DOWNLOAD
Download from my Homepage

Last edited by Xiskio; 09-25-2008 at 01:40 PM.
Xiskio is offline   you may: quote & reply,
Old 09-25-2008, 01:59 PM   #9
Darth Payne
I Am Revan, I Remember.
 
Darth Payne's Avatar
 
Join Date: Nov 2007
Location: Grong, Norway
Posts: 2,491
Current Game: DS3, Alien: Colonial Marines
Wow, i'll certainly take a look at this.


http://www.xboxlc.com/cards/sig/newblack/pederskomsvold.jpg
Formerly known as: Danyael27
My mods at KotorFiles: K1 Robe Stat Boost, TSL Jedi Robe Stat Boost, Jedi Fight Training.
Quando omni flunkus moritati - the motto of the Possum Lodge, Pseudo-Latin for 'when all else fails, play dead.'


SW: Invasion 05,P16 -(Spraug: Seriously? A Wookie with a lightsaber? Thats just overkill.
Darth Payne is offline   you may: quote & reply,
Old 09-25-2008, 02:08 PM   #10
ChAiNz.2da
Leave Everything to Me!
 
ChAiNz.2da's Avatar
 
Join Date: Oct 2004
Location: Tennessee (USA)
Posts: 6,848
Quote:
Originally Posted by Xiskio View Post
I am proud to announce the first release version of this mod.


This is just the first release of this mod.
Further development is going on.
Very nice

I know you said it's still in development, however we'd still like to invite you to start a mod release thread in TUCE. Your choice of course.
It's an active sub-forum where all mods in 'released' status can be found (and updated).

Also, sorry for being so late but 'Welcome to the Forums!'


"Eagles May Soar, But Weasels Don't Get Sucked Into Jet Engines"


| Mods (FF) (DS) | Folding | SWK.com | FB: (LF) (Me) | Steam | The Herd |
ChAiNz.2da is offline   you may: quote & reply,
Old 09-26-2008, 11:22 AM   #11
Xiskio
Rookie
 
Xiskio's Avatar
 
Join Date: Jan 2006
Posts: 26
Quote:
Originally Posted by ChAiNz.2da View Post
Very nice

I know you said it's still in development, however we'd still like to invite you to start a mod release thread in TUCE. Your choice of course.
It's an active sub-forum where all mods in 'released' status can be found (and updated).

Also, sorry for being so late but 'Welcome to the Forums!'

Hi ChAiNz
I am glad that I can take part in this great community.

And good to know, I will create a release thread in the TUCE forum.
Xiskio is offline   you may: quote & reply,
Old 09-26-2008, 05:29 PM   #12
Thankteamgizka
Rookie
 
Thankteamgizka's Avatar
 
Join Date: Apr 2008
Posts: 148
I just had an I idea that was inspired by a post by Darth Payne (If you guys like it I will make a separate thread) Someone should make a conversion of Kotor or TSL to Stealth action you know sneaking around instead of mindless violence and strategically killing only the people that need to be killed, Thoughts?

Thankteamgizka is offline   you may: quote & reply,
Old 09-26-2008, 05:30 PM   #13
Inyri
The Magical Malefactor
 
Inyri's Avatar
 
Join Date: Sep 2004
Location: Chicago
Posts: 2,510
Current Game: Final Fantasy XIV
Veteran Modder Forum Veteran Helpful! Contest winner - Fan Fiction 
Couldn't you just turn on stealth mode...?

Inyri is offline   you may: quote & reply,
Old 09-27-2008, 05:52 AM   #14
Xiskio
Rookie
 
Xiskio's Avatar
 
Join Date: Jan 2006
Posts: 26
Quote:
Originally Posted by Thankteamgizka View Post
I just had an I idea that was inspired by a post by Darth Payne (If you guys like it I will make a separate thread) Someone should make a conversion of Kotor or TSL to Stealth action you know sneaking around instead of mindless violence and strategically killing only the people that need to be killed, Thoughts?
Sorry but I don't see this becoming part of this mod.
So it really might be better to open a new thread for this.

Have Fun
Xiskio
Xiskio is offline   you may: quote & reply,
Old 09-27-2008, 06:13 PM   #15
DarthHK
Rookie
 
DarthHK's Avatar
 
Join Date: Jun 2008
Location: I am everywhere, yet at the same time I am nowhere.
Posts: 47
Quote:
Originally Posted by Thankteamgizka View Post
I just had an I idea that was inspired by a post by Darth Payne (If you guys like it I will make a separate thread) Someone should make a conversion of Kotor or TSL to Stealth action you know sneaking around instead of mindless violence and strategically killing only the people that need to be killed, Thoughts?
Trust me man, I think the last thing the world needs is me with my hands on another Metal Gear game. Which reminds me... should probably get started on those skins I thought about doing...


The more you study, the more you know.
The more you know, the more you forget.
The more you forget, the less you know.
So why study?
DarthHK is offline   you may: quote & reply,
Old 09-28-2008, 06:58 AM   #16
Xiskio
Rookie
 
Xiskio's Avatar
 
Join Date: Jan 2006
Posts: 26
Exclamation New - Version 1.1 released

Holster Party Weapons Mod v1.1 released
for Star Wars: Knights of the Old Republic I (English language version only)

New in this Version
If the party gets attacked or any hostile people/creatures are in sight, weapons will be automatically reequipped.

Have Fun
Xiskio


DOWNLOAD
Download from my Homepage
Xiskio is offline   you may: quote & reply,
Old 12-12-2012, 03:56 PM   #17
Bonedragon Jedi
Rookie
 
Bonedragon Jedi's Avatar
 
Join Date: Jan 2012
Location: Northern California
Posts: 35
Current Game: KOTOR 1, Mass Effect 2
Exclamation

Quote:
Originally Posted by Xiskio View Post
Holster Party Weapons Mod v1.1 released
for Star Wars: Knights of the Old Republic I (English language version only)

New in this Version
If the party gets attacked or any hostile people/creatures are in sight, weapons will be automatically reequipped.

Have Fun
Xiskio


DOWNLOAD
Download from my Homepage
I've downloaded this and done exactly as your guide says to try and "holster" the weapons, but the armband isnt showing up anywhere except in my inventory (where I cant activate it.)
Bonedragon Jedi is offline   you may: quote & reply,
Old 12-16-2012, 01:38 PM   #18
Dak Drexl
Senior Member
 
Dak Drexl's Avatar
 
Join Date: Jan 2010
Posts: 1,079
Helpful! 
You probably need to equip the armband and then use it in-game.

Dak Drexl 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 > [KoTOR] Holster Weapons Mod

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 07:08 AM.

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