PDA

View Full Version : lightsabre color crystal that is affected by light/dark


Glimmer Man
07-31-2004, 01:03 AM
well I would like to see this mod made/make it myself. a color crystal that has an embedded script that checks the light dark balance. if the ligher the bluer your sabre the darker the redder two different crystals one that has extreme lightside as green and the darkside as purple and the other the extreme lighside would be a bright blue and dark and crimson red. if you are neutral your sabre is white

Glimmer Man
07-31-2004, 07:09 PM
**bump** could someone explain to me how I do this or is it impossible? please help.

Achilles
07-31-2004, 09:38 PM
Originally posted by Glimmer Man
well I would like to see this mod made/make it myself. a color crystal that has an embedded script that checks the light dark balance. if the ligher the bluer your sabre the darker the redder two different crystals one that has extreme lightside as green and the darkside as purple and the other the extreme lighside would be a bright blue and dark and crimson red. if you are neutral your sabre is white

Based on my limited understanding of scripting, the mod that you are describing is most likely impossible to make. Your best bet would be to make a lightside saber, a darkside saber, and a neutral saber and then restrict them to alignment.

Glimmer Man
07-31-2004, 11:41 PM
I was afraid of that. once we crack the mdl format we will be able to embed scripts but until then....

I noticed that they are .mdl format could they be similar to the half-life/quake engines?

Achilles
08-01-2004, 12:04 AM
Originally posted by Glimmer Man
I was afraid of that. once we crack the mdl format we will be able to embed scripts but until then....

I noticed that they are .mdl format could they be similar to the half-life/quake engines?

That question is most certainly beyond the scope of my understanding. There are a few people on this board who are much more familiar with models and might be able to confirm/refute what your guess.

RedHawke
08-01-2004, 12:11 AM
Before I also chime in with an answer for you Glimmer Man first let me say that is a very cool Sabre idea! :D

But something that is not possible with the current game engine.

The KOTOR model formats apparently are quite unique, and even if the format is cracked I don't see anyway for a model to have a place for running scripts, I believe models only have animations.

Achillies solution is probably your only way to go, and you could easily have a script place the apropriately aligned sabre in a container at a certain point in the game.

Jackel
08-01-2004, 04:51 AM
Originally posted by Glimmer Man
I was afraid of that. once we crack the mdl format we will be able to embed scripts but until then....

I noticed that they are .mdl format could they be similar to the half-life/quake engines?
As far as i know the mdl format for these models is unique to these models , its even different to Biowares previous game Neverwinter Nights. The MDL part just stads for "model" rather then being a specific format like .txt or .doc is.

Glimmer Man
08-02-2004, 05:20 PM
if I created a crystal that had light dark and neutral properties. (similar to the way you add different damage to a sabre) so that it would change the color. a color crystal would that work instead of embedding a script? you would only be able to have three variable colors since there are only three definate alignments am I wrong or right or doesn't anyone know? I'm definatly going to try this.

Achilles
08-02-2004, 06:18 PM
Originally posted by Glimmer Man
if I created a crystal that had light dark and neutral properties. (similar to the way you add different damage to a sabre) so that it would change the color. a color crystal would that work instead of embedding a script? you would only be able to have three variable colors since there are only three definate alignments am I wrong or right or doesn't anyone know? I'm definatly going to try this.

If I'm understanding this correctly, you would actually need a custom lightsaber. I'm horrible with anologies, but think of the lightsaber as a lock and the saber crystal as a key. The lightsaber holds the properties and the saber crystal activates them when used. In other words, when you make the crystal, the crystal uti file will not have any attributes coded into it.

As for the properties, you'd have to add a separate LS, DS, and Neutral restricted property to each of the upgrade crystals (there are 28 entries for a regular saber). For example, if you want each crystal to have 1 property, you have to 2 LS entries, 2 DS entries, and 2 Neutral entries. 1 entry would have the attribute and 1 would have the alignment restriction. Clearly this could get out of hand if you have some crystals that have more than one property.
Also, please realize that we're assuming that this would even work. I've never tried creating an item that had multiple, conflicting "restricted use" entries. The game might look at Restricted to LS right next to Restricted to DS and not even work. I guess you're just going to have to try it (unless someone else knows for sure).

As far as changing colors, I'm pretty sure that won't be possible. Again your best bet would be to create the separate sabers, all restricted to a particular alignment.

I hope this helps.

Glimmer Man
08-02-2004, 09:37 PM
oh well thats not what I want so I'll scrap it. gotta get a new Idea... oh well

Mav
08-02-2004, 10:46 PM
Well what RedHawke and I did for The Lightsaber Pack was I made two lightsabers both named Star Lightsaber, and the way to get the saber was to have a NPC spawn whom would give it to you, if your PC was DS a sith ghost would spawn and give you the saber, if your PC was LS than Master Zhar's "ghost" would spawn and give you teh saber that is just one way you can do it, but I know it is exactly what you want.

RedHawke
08-03-2004, 10:41 PM
^^^^
You can do what is in the Lightsabre Pack, as Mav explained above, or you could just create a Script fired on a Dialogue that tests PC alignment and puts the appropriately aligned one of your 3 aligned sabers in a nearby container.

That would be supremely easier. :D

Mono_Giganto
08-04-2004, 11:19 AM
If I'm understanding this correctly, you would actually need a custom lightsaber. I'm horrible with anologies, but think of the lightsaber as a lock and the saber crystal as a key.

LoL that's creative! Ya it's the lgihtsaber that's stuck with all the properies not the crystal. Too bad about that idea though it sounded really nice....

Also, please realize that we're assuming that this would even work. I've never tried creating an item that had multiple, conflicting "restricted use" entries. The game might look at Restricted to LS right next to Restricted to DS and not even work. I guess you're just going to have to try it (unless someone else knows for sure).

Maybe yuo said this already, but why not make 3 color crystals and each one have a default alignment restriction property? That way, when you insert the crystal into a saber, it would become restricted. And since there's only one color crystal per saber, no restriction clashes. :)

Achilles
08-04-2004, 01:31 PM
Originally posted by Mono_Giganto
Maybe yuo said this already, but why not make 3 color crystals and each one have a default alignment restriction property? That way, when you insert the crystal into a saber, it would become restricted. And since there's only one color crystal per saber, no restriction clashes. :)

Pretty sure this was suggested at least twice...:D
I guess when you know what you want, you aren't willing to settle for substitutions. *Shrug*