Small, simple SP request. -1 reply

Please wait...

ArenaMaster

I'm too cool to Post

50 XP

1st June 2004

0 Uploads

3 Posts

0 Threads

#1 14 years ago

Could anyone make an edit so that I can use Katarn's hilt in single player? It's a small little thing, so thanks if you can do it. :)




JaedenRuiner

Crazy Coding SP Guy...

50 XP

27th December 2002

0 Uploads

168 Posts

0 Threads

#2 14 years ago

Hiya,

That is a simple process that I think you might enjoy working on a little yourself. I will give you the basics here for that one. Otherwise just search for a SP saber mod online, or wait for my mod to be released.

1. First to understand what you will need to make this file work.

strings/english/MENUS.STR -> assets0.pk3 ui/saber.menu -> assets1.pk3

Extract those with full path name into Folder: W:\JKA\Gamedata\Base\KyleSaber

yes you will be creating the new folder KyleSaber. Your Folder tree should look like this: Base\KyleSaber Base\KyleSaber\strings\english Base\KyleSaber\ui

2. Create the Subdirectories under KyleSaber: Base\KyleSaber\ext_data Base\KyleSaber\ext_data\sabers

3. Now open the KyleSaber\strings\english\Menus.str in NOTEPAD.

Near the middle of the file you will Find these lines (search for them to make it quick): ... REFERENCE SINGLE_HILT8 NOTES "saber hilt name" LANG_ENGLISH "Defender"

REFERENCE SINGLE_HILT9 NOTES "saber hilt name" LANG_ENGLISH "Firebrand" ...

Add just after the Last "SINGLE_HILT#" reference these lines: REFERENCE SINGLE_HILT10 NOTES "saber hilt name" LANG_ENGLISH "Kyle Katarn"

Save and exit Notepad.

4.Next to update the KyleSaber\ui\Saber.menu file in NOTEPAD:

Search for the line: @MENUS_SINGLE_HILT1 you will see a text entry that looks like this: ... itemDef { name hiltbut group none text @MENUS_HILT1 descText @MENUS_HILT1_DESC type ITEM_TYPE_MULTI style WINDOW_STYLE_EMPTY rect 240 132 160 16 font 4 textscale 1 textalign ITEM_ALIGN_LEFT textstyle 1 textalignx 0 textaligny 0 forecolor .65 .65 1 1 cvarTest ui_saber_type hideCvar { "staff" }

cvar "ui_saber" //FIXME: read these from sabers.cfg + *.sab? cvarStrList { @MENUS_SINGLE_HILT1 "single_1" @MENUS_SINGLE_HILT2 "single_2" @MENUS_SINGLE_HILT3 "single_3" @MENUS_SINGLE_HILT4 "single_4" @MENUS_SINGLE_HILT5 "single_5" @MENUS_SINGLE_HILT6 "single_6" @MENUS_SINGLE_HILT7 "single_7" @MENUS_SINGLE_HILT8 "single_8" @MENUS_SINGLE_HILT9 "single_9" } ...

Add at the Bottom of the @MENUS_SINGLE_HILT# list a new entry so that it looks like this: ... cvarStrList { @MENUS_SINGLE_HILT1 "single_1" @MENUS_SINGLE_HILT2 "single_2" @MENUS_SINGLE_HILT3 "single_3" @MENUS_SINGLE_HILT4 "single_4" @MENUS_SINGLE_HILT5 "single_5" @MENUS_SINGLE_HILT6 "single_6" @MENUS_SINGLE_HILT7 "single_7" @MENUS_SINGLE_HILT8 "single_8" @MENUS_SINGLE_HILT9 "single_9" @MENUS_SINGLE_HILT10 "single_10" }

Save and Exit Notepad.

5.Now for the Creation of the SAB file. In the KyleSaber\ext_data\sabers folder create a text file and rename it: kyle_saber10.sab

Copy this information into that file, using NOTEPAD again: //Kyle Katarn single_10 { name @MENUS_SINGLE_HILT10 saberType SABER_SINGLE saberModel "models/weapons2/saber/saber_w.glm" soundOn "sound/weapons/saber/saberon.wav" soundLoop "sound/weapons/saber/saberhum4.wav" soundOff "sound/weapons/saber/saberoff.wav" numBlades 1 saberLength 36 saberRadius 3 saberColor blue // saberStyle none maxChain -1 lockable 1 throwable 1 disarmable 1 blocking 1 twoHanded 0 forceRestrict 0 lockBonus 2 parryBonus 2 breakParryBonus 2 disarmBonus 0 returnDamage 0 notinMP 1 }

Save and Exit.

6.Finally, Using WINZIP or PAKSCAPE archive the entire KyleSaber Folder (storing the relative pathnames) into the file: KyleSaber.zip

(NOTE: This can be acomplished with WINZIP 7.0 or greater, quite easily by using the right click Context Menu item: Add to KyleSaber.zip... in Windows Explorer)

Rename the file: KyleSaber.pk3 and it should be located in your GameData\Base folder. Voila, next time you run JKA, the hilt will be accessable when you start a new game, or when after you complete the VJun mission.

Hope this helps,

Jaeden "Sifo Dyas" al'Raec Ruiner




ArenaMaster

I'm too cool to Post

50 XP

1st June 2004

0 Uploads

3 Posts

0 Threads

#3 14 years ago

Thanks, but I don't know/like to do much stuff like that.

Can you make that and send it to me? Preferbly on AIM or MSN.




elvencrest

Excelsior!!!!!

50 XP

19th January 2003

0 Uploads

151 Posts

0 Threads

#4 14 years ago

Hey ArenaMaster, I got a better suggestion nfor you. Just open the concole, and bind a key to give you katern's hilt in SP. I forget right now what hilt in the game is katarn's, but you would write something like this:

bind a "saber single_#"

The # is the number of kyles hilt. I also suggest that you get the program, "NPC Tool 1.0 ". It is a fantastic program which allows you to alter JA's NPC's to do just about anything. Want Kyle to be Obi-wan? Easy. Want to change everyone in the game to be able to use sabers? Easy. Want Luke (or any other NPC you choose to either create or replace) to use a particular saber and/or saber-style? That to is very easy.

Now I have never attemted to alter the "player" NPC, but that to might be possible, I don't know. In either case, here's the link to get the program:

http://www.pcgamemods.com/5253

I hope this helps you some, and as allway's..............




ArenaMaster

I'm too cool to Post

50 XP

1st June 2004

0 Uploads

3 Posts

0 Threads

#5 14 years ago

That didn't work for some reason. I entered game, entered that code, and my hilt never changed.




Darth Dwarf

No, Reality isn't required

50 XP

23rd May 2004

0 Uploads

96 Posts

0 Threads

#6 14 years ago

Hey, ArenaMaster I was waiting for someone to do this for a long time the modding is very simple I didn't need to look at the thing Jaedenruiner did. Really you should have done it. But anyway heres the pk3 just put it in the base and in will be at the saber menu (hopefull) I never tested it but it should work. Here it is. Well for some reason it wouldn't let me send attach it, so whats your email? BTW- It's okay if you PM (duh).




tFighterPilot

Force Using Dictator

50 XP

8th April 2003

0 Uploads

3,097 Posts

0 Threads

#7 14 years ago

You never tested it? Things NEVER work if you don't test them, it's tested.




Darth Dwarf

No, Reality isn't required

50 XP

23rd May 2004

0 Uploads

96 Posts

0 Threads

#8 14 years ago

very funny guess what? I tested it and it doesn't work! Talk about bad luck, but it wouldn't take much to fix I now what I did.