PDA

View Full Version : NPC Jedi Help


jeedai
06-22-2003, 07:46 PM
I would greatly appriciate any help. How do I create 2 NPC Jedi that fights each other?

tFighterPilot
06-22-2003, 08:11 PM
I belive you will need to make one in team player, and one in team computer.

If you want to get more complicated, I guess you can use scripting.

jeedai
06-22-2003, 09:04 PM
How do I do that?

tFighterPilot
06-22-2003, 09:55 PM
Which one of them?

jeedai
06-22-2003, 10:09 PM
Either of em

lassev
06-23-2003, 03:08 AM
Theoretically, all you need to do is to set the intended opponent (the other jedi) by scripting.

Set_enemytarget("NPC_targetname")

(or something like that, it has been a while). However, it won't be necessarily easy. Bell could tell you it in detail, as I haven't actually done it, I just made numerous trial maps with it (which worked more or less), but I didn't do it for my own needs.

If Bell is not hanging around, you can study the Yavin_temple scripts to make your own conclusions.

tFighterPilot
06-23-2003, 10:27 AM
You will probably want them to not fight to the death too.

Right?

aazell
06-23-2003, 12:37 PM
Are you all insane?

Why do you need to bring scripting into this?

Just build your SP map.

Pick the spot that you wish to enter your jedi's and add an NPC Reborn and an NPC Jedi right next to each other.

Run the map and voila! To fighting Jedi.

I warn you though the fight won't last long. The goodies seem to do very well.

aazell
06-23-2003, 12:41 PM
Oh unless you meant JEDI. As in 2 good lightsaber dude's bashing the crap out of each other.

Just search for the posts on how to create custom NPC's.

Learn how to do this then you can start messin with the properties of the NPC's and changing how they behave.

You can change the team that an NPC side's with in the NPCs.cfg file.

Or go learn about scripting.

jeedai
06-23-2003, 12:56 PM
I would look at the yavin_temple file but how do I convert it into a .map file?

lassev
06-23-2003, 01:48 PM
I would look at the yavin_temple file but how do I convert it into a .map file?

That was vertainly an obstacle, when I was studying this same issue. You cannot convert it. Your only option is to study the scripts. However, this might not be a very easy issue to solve, as you must consider the relation/differences between affecting the NPCs or assigning them a spawnscript.

If you are well acquainted with scripting, you can solve this issue, as Bell did (and I did for a certain sometimes work, sometimes not degree). However, if you are not so comfortable with scripting, your best option is to start practicing hard.

Oh, you might want to start practicing by getting two boxer grans fight each other. It's very easy and might give you some insight into the problem.

jeedai
06-23-2003, 02:08 PM
Alright. Thanks for the info. But, I'm not familiar with scripting. If anyone knows a good site, that'll be great.

tFighterPilot
06-23-2003, 02:46 PM
http://www.geocities.com/kengomaps/tutorials.html

jeedai
06-23-2003, 03:22 PM
Thanks. That's really helpful.

jeedai
06-23-2003, 04:02 PM
OK. Just 1 more question. I searched for a download of behavED, but I can't find one. Where can I get one? Sorry about all the questions.

lassev
06-24-2003, 03:26 AM
It's included in the Editing tools package. I guess you can get it from many places, but www.jediknightii.net might be one place. Go to the download section and tools. Then choose version 2.0, not the older version 1.0.

After installing the tools be sure to set the paths to a correct directory in BehaEd. After installing they are wrong and using the software can be quite problematic, if they are not corrected.