Notices

Go Back   FileFront Forums > The Games! > Star Wars: Jedi Knight Series > Jedi Knight III: Jedi Academy > SW:JK3 Modding, Mapping and Editing

Remember Me?

SW:JK3 Modding, Mapping and Editing
Want more info about a Mod? Making a Mod? Looking for Modders, Mappers, Skinners, etc.? This is your Spot!

Reply
 
LinkBack Thread Tools Display Modes
Old November 10th, 2008   #1
Retard Hungarian Modder
 
jk3editor's Avatar
 
Join Date: August 21st, 2008
Location: Hungary
Status: Making a mod
1,506 posts, 13 likes.
Rep Power: 17
jk3editor is a regular member
exclaim Two question...

Hi everybody, who read this! I have two question:

1) How can I make a working mouse?? I put a mouse on the map, but it didn't do anything...and I tried to make waypoint to him....but it didn't do anythig again...

2) I got this error: "Lightmap texture coords out of range" about 100 times...I searched on the google, and on a forum there is, to I should set _lightmapscale on my map...I set _lightmapscale 2, but these errors were there again...and I tried to set it 2, 3, 4, 5...but the errors are there now too...

What should I do?
Please help me...Thanks
jk3editor is offline   Reply With Quote
Old November 10th, 2008   #2
EAT ME!
 
NAB622's Avatar
 
Join Date: October 7th, 2005
Location: I'm smart! I LAMINATED my box!
Status: Happy happy joy joy!
3,439 posts, 176 likes.
Rep Power: 26
NAB622 is as cool as a ModeratorNAB622 is as cool as a ModeratorNAB622 is as cool as a ModeratorNAB622 is as cool as a ModeratorNAB622 is as cool as a ModeratorNAB622 is as cool as a ModeratorNAB622 is as cool as a ModeratorNAB622 is as cool as a ModeratorNAB622 is as cool as a ModeratorNAB622 is as cool as a ModeratorNAB622 is as cool as a Moderator
Send a message via AIM to NAB622
Default Re: Two question...

For a mouse:
You will need to use a script to move it between the waypoints. This may be beyond your skills right now. If you know how to script, then "affect" the mouse, and using SET_NAVGOAL, give it the targetname of the waypoint. It should move to it.

For the lightmap coordinates error:
You can just ignore this error. I had the same error and it never gave me any problems. Are you seeing any awkward things happening to your lightmap? If not, then yeah, it shouldn't hurt anything.

Make sure you remove the changes you made on the lightmapscale, because "lightmapscale 2" looks pretty ugly.
NAB622 is offline   Reply With Quote
Old November 10th, 2008   #3
Retard Hungarian Modder
 
jk3editor's Avatar
 
Join Date: August 21st, 2008
Location: Hungary
Status: Making a mod
1,506 posts, 13 likes.
Rep Power: 17
jk3editor is a regular member
exclaim Re: Two question...

Okay, I really haven't any problem in the map by this error..but I thinked, to it had

In the mouse that isn't my problem, to I can't make navogal...I can scripting quite more....that's the problem, to it isn't going to anywhere, after I gave a script to him...
jk3editor is offline   Reply With Quote
Old November 10th, 2008   #4
EAT ME!
 
NAB622's Avatar
 
Join Date: October 7th, 2005
Location: I'm smart! I LAMINATED my box!
Status: Happy happy joy joy!
3,439 posts, 176 likes.
Rep Power: 26
NAB622 is as cool as a ModeratorNAB622 is as cool as a ModeratorNAB622 is as cool as a ModeratorNAB622 is as cool as a ModeratorNAB622 is as cool as a ModeratorNAB622 is as cool as a ModeratorNAB622 is as cool as a ModeratorNAB622 is as cool as a ModeratorNAB622 is as cool as a ModeratorNAB622 is as cool as a ModeratorNAB622 is as cool as a Moderator
Send a message via AIM to NAB622
Default Re: Two question...

Easy, just give the mouse a script_targetname and give the navgoal a targetname. In your script, add an affect block and put in your mouse's script_targetname. (Leave the affect type as FLUSH.) Inside the affect block, add a "SET_TYPES" block. Double click on that block and find the "set_navgoal" option (It should be in "strings"). For the value, put in the targetname you gave the navgoal.

Then you can activate the script any way you like.

EDIT: I think I misunderstood your post. Use waypoint_navgoal (I think that's right).
NAB622 is offline   Reply With Quote
Old November 10th, 2008   #5
Degenerate scripter
 
lassev's Avatar
 
Join Date: June 21st, 2004
Location: Finland
Status: Available
843 posts, 0 likes.
Rep Power: 25
lassev has nothing to be ashamed oflassev has nothing to be ashamed of
Default Re: Two question...

Even if it's just a poor mouse, it's still an NPC, Nab. Give the mus droidicus some respect, man! NPC_targetname, not script_targetname.

Anyway, you can create a network of ordinary waypoints in the map and give the mouse droid a spawnscript that sets it behavior state to bs_wander, and it will automatically wander randomly from one waypoint to another. If that's what you'd want instead of more intelligent movement to a specific target location.

I've also written a tutorial on NPC movement. It might be of some little help. It's out there somewhere.

Punks in a house.
lassev is offline   Reply With Quote
Old November 10th, 2008   #6
Retard Hungarian Modder
 
jk3editor's Avatar
 
Join Date: August 21st, 2008
Location: Hungary
Status: Making a mod
1,506 posts, 13 likes.
Rep Power: 17
jk3editor is a regular member
exclaim Re: Two question...

The mouse isn't a NPC? Or what is the different in the script_targetname, and the NPC_targetname?

And a second question...what is the FLUSH is there?? To the NPCs I should to set the INSERT...Or the mouse really isn't a NPC? Thanks
jk3editor is offline   Reply With Quote
Old November 10th, 2008   #7
Degenerate scripter
 
lassev's Avatar
 
Join Date: June 21st, 2004
Location: Finland
Status: Available
843 posts, 0 likes.
Rep Power: 25
lassev has nothing to be ashamed oflassev has nothing to be ashamed of
Default Re: Two question...

Flush means the affect will replace (or flush) any existing script commands the entity might be running. Insert means the commands in the affect will be added to the queue of the entity's existing running/pending script commands. You rarely if ever need to use Insert, though. There's also a separate Flush command should you want to remove an entity's running scripts forcefully at some point. That can happen every now and then.

Punks in a house.
lassev is offline   Reply With Quote
Old November 10th, 2008   #8
Retard Hungarian Modder
 
jk3editor's Avatar
 
Join Date: August 21st, 2008
Location: Hungary
Status: Making a mod
1,506 posts, 13 likes.
Rep Power: 17
jk3editor is a regular member
Default Re: Two question...

Okay.... And a last question:
I would like to a box can move.
I set it in the script:

affect ( "box", /*@AFFECT_TYPE*/ FLUSH )
{
move ( $tag( "box_nav1", ORIGIN)$, < 0.000 0.000 0.000 >, 1000.000 );
}

The box in the radiant:
CRUSHER
script_targetname - box

And the ref_tag:
targetname - box_nav1
origin - -8880 -5784 344

Do you know, what is the problem?
Thanks...
jk3editor is offline   Reply With Quote
Old November 10th, 2008   #9
EAT ME!
 
NAB622's Avatar
 
Join Date: October 7th, 2005
Location: I'm smart! I LAMINATED my box!
Status: Happy happy joy joy!
3,439 posts, 176 likes.
Rep Power: 26
NAB622 is as cool as a ModeratorNAB622 is as cool as a ModeratorNAB622 is as cool as a ModeratorNAB622 is as cool as a ModeratorNAB622 is as cool as a ModeratorNAB622 is as cool as a ModeratorNAB622 is as cool as a ModeratorNAB622 is as cool as a ModeratorNAB622 is as cool as a ModeratorNAB622 is as cool as a ModeratorNAB622 is as cool as a Moderator
Send a message via AIM to NAB622
Default Re: Two question...

Quote:
Originally Posted by lassev View Post
NPC_targetname, not script_targetname.
My bad. XD Yeah, in case you can't tell, I don't work with NPCs much (Yet). Thanks for setting him (and me) straight.

I don't see anything wrong with the box moving script...how are you triggering the script?
NAB622 is offline   Reply With Quote
Old November 10th, 2008   #10
Retard Hungarian Modder
 
jk3editor's Avatar
 
Join Date: August 21st, 2008
Location: Hungary
Status: Making a mod
1,506 posts, 13 likes.
Rep Power: 17
jk3editor is a regular member
Default Re: Two question...

With this trigger_once:
CLIENTONLY
target - close

The close is a scriptrunner:
usescript - empire3/locked
targetname - close

But the script is good, because it's starting, but the box isn't going to the ref_tag, its fly out from the camera.
jk3editor is offline   Reply With Quote
Reply

Bookmarks

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ODF Question, and a general question.. undedavenger ST:A2 Modding, Mapping and Editing 4 August 2nd, 2008 02:18 PM
Dome Question and Unit Question... Razgriz1928 SW:EaW Modding, Mapping and Editing 6 November 9th, 2007 01:50 PM
starfield question & question elevatormusic ST:A2 Modding, Mapping and Editing 8 July 24th, 2006 10:39 AM
Question about Mpegs (I'm sure this is good question) StarFyre General Gaming 3 April 30th, 2000 03:13 PM
Question about Creatures (good question...I think) StarFyre General Gaming 5 April 29th, 2000 02:40 PM


All times are GMT -7.







   
 





This site is part of the Defy Media Gaming network

The best serving of video game culture, since 2001. Whether you're looking for news, reviews, walkthroughs, or the biggest collection of PC gaming files on the planet, Game Front has you covered. We also make no illusions about gaming: it's supposed to be fun. Browse gaming galleries, humor lists, and honest, short-form reporting. Game on!

FileFront Forums - Terms of Service - Top
Theme Selection
Copyright © 2002-2016 Game Front. All rights reserved. Powered by vBulletin®
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
Forum Theme by Danny King (FileTrekker), Sheepeep & Graeme(rs)
RSS Feed Widget by FeedWind