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

Members Online

»
0 Active | 4 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: Cut Scenes
5t3v3~rb
General Member
Since: Dec 23, 2006
Posts: 24
Last: Dec 23, 2006
[view latest posts]
Level 1
Category: SoFII Mapping
Posted: Saturday, Sep. 7, 2002 04:36 pm
Ive read through the files NAV POINT SYSTEM.doc and SOF2_Scripting.doc three times, and Im still at a loss at to how to make a cutscene.

To keep things simple to start with so I can get to grips with scripting, I want to make script which makes an NPC walk forward a few units, then stop and shoot another NPC that is standing infront of him. Very simple and clean, but I have no idea how to even start, or how to even start to use Nav Points in my map.

I just want to try this out in a basic square room to begin with. Once I get this working i can build on it and experiment. I just need this starting help

Does anyone here know how to do this or know anywhere I can go to get a tutorial telling me exactly how to do something like this ???
Share |
mechanodroid~rb
General Member
Since: Dec 23, 2006
Posts: 154
Last: Dec 23, 2006
[view latest posts]
Level 4
Category: SoFII Mapping
Posted: Monday, Sep. 9, 2002 07:52 pm
You won't find anything that tells you _exactly_ how to do this.  (welcome to making mods. ;)

But I can give you some hints.  
First, as with all problems in game creation take it one step at a time.  Start with the basics.  In this case I'd suggest getting him to walk to his spot first and _then_ get the shooting animation in.

Start with placing the guy in your room, give him the spawnfield "forcescript" true.  This will make it so he doesn't immediately attack you, it essentially makes him stupid (turns off his AI).  Then put a spawnfield "spawnscript", point it to the name of your script you will be editing (for example say you call it "foo").  Give the guy an ICARUSname and a targetname.  Although it's not required, I'd suggest to make them the same name; the difference between the two isn't important for starting out.  Say you call him "Bob".  

Open up your level and go to where you want him to end up standing, do this command:
makenp
then this command:
namenp standnav
"standnav" is only an example- can be any name you want.
Make sure you have other navpoints in your map too, place some around the room.  For example coverage look at the map we included (kam3 I think).

Open up "foo" in behavEd.  Place an "affect Bob", then under it put a task (name it, for example "walk"), inside the task do SET_TASK_PATH and a SET_NAVGOAL "standnav".  Then on the SAME LEVEL as the task do a DOWAIT "walk".
Share |
5t3v3~rb
General Member
Since: Dec 23, 2006
Posts: 24
Last: Dec 23, 2006
[view latest posts]
Level 1
Category: SoFII Mapping
Posted: Friday, Sep. 13, 2002 05:31 pm
When you say "Open up your level" Im assuming you mean load the level in the game, then bring down the console and type "makenp" (without quotes of course)

Well I opened up my level, brought down the console and typed "makenp". It didnt work. I tried "/makenp" and "\makenp". Neither of these worked (i didnt put the quotes in on any of these either).

If you dont load the level in the game to add nav points, i cant see what else you are supposed to load it in to put them in. I cant seem to add them in in Radiant.

I also loaded up the example level you mentioned (its Kam6 btw) :). I couldnt see any nav points in radiant, and when I loaded the map in the game, i couldnt see any either.


:s8:
Share |
5t3v3~rb
General Member
Since: Dec 23, 2006
Posts: 24
Last: Dec 23, 2006
[view latest posts]
Level 1
Category: SoFII Mapping
Posted: Friday, Sep. 13, 2002 09:44 pm
I have read the Nav Points document in the 'docs' folder of the SDK. Ive also looked at the commands at the end several times. Here is the exact sequence of events I just did:

Loaded SoF2
brought down the console and typed "map test" w/o quotes
My map loaded, which is just a room with a light and an NPC standing in there.
I brought down the console, typed svikova (as you mention). It said 'unknown command "svikova"'.
So then I typed "sv_cheats 1" w/o quotes. Which turned on cheats

I then typed "makenp" and it said 'unknown command "makenp"'.
So i thought id type "g_NavPointDebug 1", which worked (as in didnt give me an unknown command message)
I then retryed typing "makenp" and it still said unknown command.


What the #### is going on?  :s4:
Share |
Dr. Nick~rb
General Member
Since: Dec 23, 2006
Posts: 553
Last: Dec 23, 2006
[view latest posts]
Level 6
Category: SoFII Mapping
Posted: Friday, Sep. 13, 2002 11:30 pm
Its svickova, not svikova
Share |
Koel001~rb
General Member
Since: Dec 23, 2006
Posts: 26
Last: Dec 23, 2006
[view latest posts]
Level 2
Category: SoFII Mapping
Posted: Monday, Sep. 16, 2002 06:01 pm
this site has good info on the patches. He unzips his .PK3 files is a strange place, but if you are already mapping, this isn't an issue.

http://sof.raven-games.com/sof2mapping.php

This is a good thread- keep us posted on your progress because eventually I'll be doing this too

k
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

»