Zanatio Posted June 25, 2004 Share Posted June 25, 2004 I think I asked this before here some time ago, but I forgot what to do Anyways, I want to have an NPC use one of those laser cannons like the Imperial in Kejim_post, or good old Reelo in Nar Shadaa starport. I can't seem to find the scripts for those actions, but even if I could I can't seem to be able to read the .ibi files! Any ideas would be much appreciated. Link to comment Share on other sites More sharing options...
lassev Posted June 25, 2004 Share Posted June 25, 2004 I'm not sure with 100% certainty I remember this correctly, since I did this almost 2 years ago in JO, but try this: Give the emplaced gun a targetname, and place the NPC next to the gun. Then either give the NPC a spawnscript or affect him later. In the affect (or spawnscript) just use("gun_targetname"). You might also want to increase the fellows vis_range and accuracy, since the big gun has the potential to shoot far away. Try it, and tell if it doesn't work. If it doesn't, just check the Hoth scripts. They should have the info needed. And don't try to read .IBI files, because they are the compiled scripts. Read the text file sources shipped with the JA Editing tools. Link to comment Share on other sites More sharing options...
Zanatio Posted June 27, 2004 Author Share Posted June 27, 2004 You'll have to forgive me, I'm still pretty new to all this! Still trying to figure out exactly how Radiant and Icarus and everything else all fits together I did what you suggested, or at least I tried to. Needless to say my efforts were not successful. I'm not really sure how to use BehavEd, nor am I sure on how to implement scripts in Radiant. Could you go into a little more detail on your previous post? Link to comment Share on other sites More sharing options...
lukeskywalker1 Posted June 27, 2004 Share Posted June 27, 2004 Hmmm, thats basically what you said to me, back in my early scripting days. I never got around to trying it, even though I planned to. *5 mins later Tried it, works fine. Ill upload my .map and .txt script for you. quick_test.map and gun.txt zipped up download Link to comment Share on other sites More sharing options...
Zanatio Posted June 27, 2004 Author Share Posted June 27, 2004 Thanks a lot, Luke. Works brilliantly. Hurray! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.