Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 7 Guests
Online:

LATEST FORUM THREADS

»
warfare
CoD4 Map + Mod Releases
Voting menu on maps
CoD+UO General
Hauling 911
CoDBO3 General

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Soldier of Fortune
Category: SoFII Mapping
Mapping, modeling, scripting, skinning and all forms of editing for the game Soldier of Fortune II
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Regions,areas, and nav points in general
grb
General Member
Since: Oct 31, 2002
Posts: 56
Last: Feb 10, 2003
[view latest posts]
Level 3
Category: SoFII Mapping
Posted: Saturday, Nov. 23, 2002 04:23 am
Hi all,
Has anyone mastered the concepts behind what a region, area constitues and how to place nav points is accomplished? After reading the "Nav Point System.doc" located in the SP SDK doc directory,
I have come to the conclusion that it is primarily an academic paper, and does not contain any practical instructions as to how to create regions, areas, and nav points so that one can then create script files that will allow NPC teams to navigate to a particular area such as a holding area, or an area that they must advance on.
Just curious if any of you folks have mastered these particular areas of map developement.

cheers all,
grb
Share |
narc
General Member
Since: Dec 1, 2001
Posts: 1204
Last: Dec 31, 2006
[view latest posts]
Level 8
Category: SoFII Mapping
Posted: Saturday, Nov. 23, 2002 09:46 am
in the appendix of that doc is some console commands, my best guess is that you can lay down the nav points from radiant (they are info_NPCnav) and then link them up into areas and regions from the game using those console commands -- after which you save the result to a file separate of the bsp.
Share |
5t3v3
General Member
Since: Nov 23, 2002
Posts: 4
Last: Mar 20, 2003
[view latest posts]
Level 0
Category: SoFII Mapping
Posted: Saturday, Nov. 23, 2002 04:05 pm
I found getting NavPoints working a real biscuit eater, but in the end, i found that you have to install both retail patches for SoF2 (1.01 and 1.02 i believe), then unzip the two new pk3 files (update101.pk3 and update102.pk3) the updates add, into wherever you've extracted all your other pk3 files and say YES TO ALL if it asked you about overwriting existing files.

Then, compile your map and load SoF2 and run your map.
Bring down the console and type
g_NavPointDebug 1
then you can use the following commands in the console to add, remove, name and save navpoints

makenp - create nav point at players location
deletenp - delete nearest nav point to players location
namenp - use to give the nearest nav point to the players position a name
savenp - saves all nav points added

So, basically, as a start, if you want to add navpoints, make your map, compile it, load it in SoF2, bring down the console, type g_NavPointDebug 1, then i find binding a key to makenp very handy (else you have to bring the console down, type makenp, then put it up, move somewhere else, bring console back down etc etc, so just bind a key like End or something to makenp and run around pressing it in different places.

Then when you've finished, type savenp in the console and exit SoF2

Your bsp map now has a load of nav points in it and from this you can go on to use scripting to get npc's to move to different ones, perform actions and so on, but i wont go into all that in this thread cus it will go on for ages otherwise.

Although im happy to try and help anyone who wants more detailed instructions on how to do more with NavPoints, even tho I've only just started to get to grips with them myself.

Im new to this board by the way and used to look on the Raven forums for SP help, but the forums over there are very slow and nobody seems to go on the SP Modding bit anymore. "grb" posted a link to this forum there so here i am :casanova:
Share |
grb
General Member
Since: Oct 31, 2002
Posts: 56
Last: Feb 10, 2003
[view latest posts]
Level 3
Category: SoFII Mapping
Posted: Saturday, Nov. 23, 2002 05:55 pm
5t3v3,

Thank you for getting back to me. I am glad you
signed up in this forum. As you indicated, the
Raven Forum is not exactly the best one to stay
involved with based on what one sees there.
I hope you will find that the moderators and other
folks in this forum tend to be more inclined to
get answers to various aspects of sof2. I tend
to stay focused in this forum, and not bother with the other one.
You will notice that Narc, for one, is "keenly" interested in learning how to control NPC's. So I would (hind end)ume those of us who want to get involved in scripting to control NPC's and other events will
work together for our common interest. And hopefully provide some solid, understandable advice for others that up to now have not been able to figure this stuff out. Foleymen has indicated that he would like to see an eventual tutorial on how to control NPC actions on this forum. Hopefully we in a team effort can accomplish this.

Thanks again for your input in this thread, and Welcome aboard this forum. I am sure you will
be a valuable (hind end)et to this forum, as is already indicated by your initial input in this thread.
cheers,
grb
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Soldier of Fortune : SoFII Mapping

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»