Jump to content

Home

A few random JKRadiant Questions


HeroFromHyrule

Recommended Posts

My first question is how you make NPCs move when the player reaches a certain spot. My example is I have two reborns hiding behind pillars and I want them to jump out and taunt the player (like they do in the game "The force betrays you" etc). I don't know how to trigger this, does anybody know?

 

My second question is how do you create torches? I have seen pictures of people's levels with torches lining the walls and I want to know how you create torches and the fire that goes on them.

 

Third question, I want a door to open after the two reborns from question one are killed. I will also need an elevator to lower at the same time (the door is too high for the player to jump to, so an elevator is needed to reach it). How do I get these things to trigger when the reborns are dead?

 

Thanks for any help you can offer me. :lsduel:

Link to comment
Share on other sites

That some tough questions. Tough to explain that is. :p

 

#1

 

This will require scripting. Create trigger_once connected to a target_scriptrunner. tartget_scriptrunner should point to a script. As for the script itself, it's kinda complicated to explain. I suggest you d/l the latest tools and read the ICARUS manual. Basically, what you wanna do is "AFFECT" those NPCs and and make them run to the waypoint_navgoals in front of the player. You can also make them say nasty things :D

 

#2

 

Dunno bout torches but this is how you make a fire. Create fx_runner. Create info_notnull and place it above fx_runner. Select fx_runner, then select info_notnull and press Ctrl+K. This will connect them. Now, select fx_runner again and press N to show entity window. Enter this in the fields:

 

key: fxFile

value: env/fire

 

[press ENTER]

 

key: delay

value: 200

 

[ENTER]

 

And voila, you have fire.

#3.

 

Oof. If you had only 1 NPC, it would have been easier. Personally, I would make script(s) with variables to take care of this but IIRC, you can also do smth like this w/o scripts.

 

Anyway, first step, create target_counter.

 

In entity view enter:

 

key: targetname

value: cnt1

 

key: count

value: 2

 

Step #2.

 

Select target_counter, select your func_door and press Ctrl+K. This connects them

 

Step #3

 

Select your first Reborn NPC and in enity view enter:

 

key: NPC_target

value: cnt1

 

Step #4

 

Repeat step 3 for the second Reborn. Enter exactly teh same. Theoretically this should open the door when they both dead.

 

ps: step 5 ( :D ). Select func_door again and in entity view mark "toggle" option.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...