Jump to content

Home

force power scripting


apocolipse

Recommended Posts

hi everyone,

 

i kind of new to modding (very new) but i want to make my own offencive force power (for kotor1)that you can get at level 10

 

ive done the icon and edited spell.2da but

i dont know how to make a offencive force power.

i tried but when i use the

power i dont do any damage

 

someone help plz:( :confused:

 

 

ps.

is there a way of having my power only avalable through quiping somthing

eg. my custom lightsaber

 

thx

Link to comment
Share on other sites

  • 2 weeks later...
Originally posted by apocolipse

ive done the icon and edited spell.2da but when i use the

power i dont do any damage

 

someone help plz:( :confused:

 

 

Did you make the script for your power? If you didn't, the game won't know what to do when you use your power, hence you'll get no effect at all other than player raising hand.

 

If you made the script, perhaps you should post it so we can tell if there is perhaps something wrong with it.

 

 

Originally posted by apocolipse

ps.

is there a way of having my power only avalable through quiping somthing

eg. my custom lightsaber

 

thx

 

It's possible. I don't know if it's possible to achieve that via spells.2da, but I know you can script your power so it will do nothing if player doesn't have something equipped.

Link to comment
Share on other sites

Beancounter made a nice tutorial on how to script a force power.

http://lucasforums.com/showthread.php?s=&threadid=137498

 

This tutorial, however, contains a script for non-offensive power.

 

Personally, I would suggest that you extract and examine k_inc_force.nss, the script that contains the code for all force powers. There you can find some harmful power (eg: Force Kill) and mimic its code.. to suit your wishes.

 

However, I am telling you this assuming you have some basic programming knowlegde. If you have never done any programming at all, KOTOR scripting may prove very challenging.

Link to comment
Share on other sites

Originally posted by apocolipse

hehe ive done a bit of programing

(web based mostly)(im actualy working on my own olrpg)

 

but im quite confused by k_inc_force but im sure ill understand soon

 

thx for your help

 

You're welcome. :)

If you have specific questions, don't hesitate to ask.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...