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

Members Online

»
0 Active | 10 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 : Call of Duty
Category: CoD Mapping
CoD mapping and level design.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: sp_camera problem!
de_vice
General Member
Since: Feb 11, 2006
Posts: 14
Last: Jul 27, 2008
[view latest posts]
Level 1
Category: CoD Mapping
Posted: Wednesday, Oct. 25, 2006 11:24 pm
Hi all
I find this script example "SP_Camera" and the script is good.I try to use script "camera move" into my sp_map,but the players just stand there doing nothing!If i remove script camera...no problem.
what do i need to do to fix this.
...better download example:sp_camera.zip
Share |
SparkyMcSparks
General Member
Since: Feb 28, 2004
Posts: 1713
Last: Dec 29, 2016
[view latest posts]
Level 8
Im a fan of MODSonair
Category: CoD Mapping
Posted: Wednesday, Oct. 25, 2006 11:52 pm
That script is for watching AI play a level through. The player isn't supposed to do anything but watch.

I wanted to do something like that but I'm not that perfect or fast at level designing. [ohwell]

Is that what you're trying to do though? Make a game movie like in the credits? Otherwise those camera functions are useless.
Share |
de_vice
General Member
Since: Feb 11, 2006
Posts: 14
Last: Jul 27, 2008
[view latest posts]
Level 1
Category: CoD Mapping
Posted: Thursday, Oct. 26, 2006 10:56 am
I want to use this script "intro camera move_rotate"at begining my sp map,and i think...the problem is a missing line!!!
look in the main/load/code:
Code:
#using_animtree ("generic_human");
main()
{
maps\_load::main();
level.globalTimer = 12;
thread movie_blank_start ();//load movie blanks

level.player takeallweapons();
level.player freezeControls(true);
level.player.ignoreme = true;//**HERE "ignoreme = true"**

start = spawn ("script_origin",( -536, -502, -216));
level.player setorigin (start.origin + (0,0,0));
level.player setplayerangles((0,25,0));
level.camorg = spawn ("script_origin", level.player.origin);
level.player playerlinkto (level.camorg, "", (1,1,1));
	
wait (1.2);
level.camorg thread camera_move ();
wait (0.05);
level.cam_vec[0] = 0;
level.cam_vec[1] = 70;
level.cam_vec[2] = 0;
level.camorg thread camera_rotate();

wait (17);
level.player giveWeapon("thompson");
level.player giveWeapon("fraggrenade");
level.player switchToWeapon("thompson");
	
level.player unlink (level.camorg, "");
org = spawn ("script_origin",( -112, -432, -247));//info player origin
level.player setorigin (org.origin);
level.player setplayerangles((0,90,0));
wait (1);

offset = 0;	
offsetter = 0;
level.screenOverlay fadeOverTime (1.5);
level.screenOverlay.alpha = 0;

level.player freezeControls(false);
level.player.ignoreme = false;//***MISSING LINE***	
}


now... the script is full and you can to use this code into your map.
[FR]Sparks,are you can download the file "sp_camera.zip" from this link?..because i want to use this Link to upload my sp map and public the link here....my map pack is too large(more than 5mb).
Share |
WHC_Grassy
General Member
Since: Apr 20, 2005
Posts: 1426
Last: Aug 25, 2007
[view latest posts]
Level 8
Category: CoD Mapping
Posted: Friday, Oct. 27, 2006 10:33 pm
I had a look at the full script and your correct, if using the script at the start of a level then you need to reset player.ignoreme back to false.
Well done.
Grassy
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty : CoD 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

»