lfnetwork.com mark read register faq members calendar

Thread: NPC problems
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 08-29-2004, 05:42 PM   #1
EvilJedi
Rookie
 
EvilJedi's Avatar
 
Join Date: Apr 2004
Posts: 154
NPC problems

I tried making a type of "NPC movie" but for MP. By this I don't mean a cutscene, I mean a couple NPCs doing funny stuff for you to watch from behind a glass window.

I have so far:

1) You press a button to start the "movie" which spawns 3 stormtroopers
2) Stormtroopers run to their waypoints and finally the point_combat.
3) Point_combat is inside triggers connected to target_kill. The triggers have a wait of 4.
4) As soon as the stormies die, a jedi sound is played and a grid breaks. Jedi shows up out of the grid and dies a while later.

My problems: The stormies will not move from waypoint to waypoint in neither MP nor SP. I find this a little weird since it worked before and now it doesn't.

Here is a 3D view picture of the "movie"

http://img.photobucket.com/albums/v347/EvilJedi/Npc.gif

Red blocks: Stormtrooper NPCs
Yellow blocks: Waypoints
Purple blocks: Point_combat
Green blocks: triggers.
Small red block: target_speaker
Small grey blocks: target_kill.

Any suggestions?
EvilJedi is offline   you may: quote & reply,
Old 08-30-2004, 06:16 AM   #2
snife
Rookie
 
snife's Avatar
 
Join Date: May 2004
Posts: 68
script it,,,,
cuz the "stormies" have to c u to move,,,,i think that they cant do that if u have a brush betwen u,,,
and if they would c u,,, they probably would shot at u!
im just a newbie in real scripting so im sry i cant help u with that
just give me some days and ill (maybe) find out how to do it,,,,



btw is it u evil that is in WZ-Mod?


/Snife the map maker of SA
and Owner of Skyline's And Snife's JKA project
snife is offline   you may: quote & reply,
Old 08-30-2004, 09:23 AM   #3
EvilJedi
Rookie
 
EvilJedi's Avatar
 
Join Date: Apr 2004
Posts: 154
Oh yeah, I forgot they need to see you.. But there is/was always glass between (and I put a physics_clip brush because the bullets went through the glass) and it worked back when I had only glass. So should I maybe take out the physics_clip brush? And they do shoot at you (well not anymore, because they apparently don't see you), is there a way to take out the shooting, or take away their guns?
EvilJedi is offline   you may: quote & reply,
Old 09-03-2004, 06:36 AM   #4
snife
Rookie
 
snife's Avatar
 
Join Date: May 2004
Posts: 68
u can make new npc's,,,,
or just script it,,,, i think it is like this,,,,

//(BHVD)

affect ( "stormie1", /*@AFFECT_TYPE*/ FLUSH )
{
set ( /*@SET_TYPES*/ "SET_DONTFIRE", /*@BOOL_TYPES*/ "true" );
}


//(BHVD)

affect ( "stormie1", /*@AFFECT_TYPE*/ FLUSH )
{
set ( /*@SET_TYPES*/ "SET_DONTSHOT", /*@BOOL_TYPES*/ "true" );
}




u can download behaved here


u dont need to use SET_DONTSHOT , that only makes npc's to not shot at the npc,,,, i think that will work,,,


/Snife the map maker of SA
and Owner of Skyline's And Snife's JKA project
snife is offline   you may: quote & reply,
Old 10-10-2004, 10:24 AM   #5
snife
Rookie
 
snife's Avatar
 
Join Date: May 2004
Posts: 68
hey dude, did it work?


/Snife the map maker of SA
and Owner of Skyline's And Snife's JKA project
snife is offline   you may: quote & reply,
Old 10-10-2004, 11:39 AM   #6
EvilJedi
Rookie
 
EvilJedi's Avatar
 
Join Date: Apr 2004
Posts: 154
I'm still learning scripting, plus I havn't worked on that map in a few months. But I'll try next time I get back to it. Thanks.
EvilJedi is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > JediKnight Series > Editing Central > JA Mapping > NPC problems

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:50 PM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.