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 Folders?
BloodySoldier
General Member
Since: Aug 17, 2006
Posts: 318
Last: Apr 6, 2009
[view latest posts]
Level 5
Category: CoD Mapping
Posted: Sunday, Oct. 22, 2006 04:53 am
hey guys ive made a little SP map (just so i can c if i can make objectives... but i have a cppl problems.

my 1st is that i dont know where i put the string files (the tut said put in the localized strings folder, does it mean .pk3 or like a new folder in main?

my second is my script i have no clue if it will work. i dont think it will.. i posted a topic about it but it seems like its getting ignored for sum reason the topic is located here http://www.modsonline.com/Forums-top-25454.html

thanks in advance

BS
Share |
de_vice
General Member
Since: Feb 11, 2006
Posts: 14
Last: Jul 27, 2008
[view latest posts]
Level 1
Category: CoD Mapping
Posted: Sunday, Oct. 22, 2006 12:56 pm
Localized strings folder: localizedstring/english/yourmapname.str

...into your "yourmapname.gsc" use this to fix OBJ:
//*****************************************
main()
{
maps\_load::main();

thread objective1();
}

objective1()
{
startobj1 = getent("objective_trig","targetname");//trigger multiple

objective_add(1, "active",&"YOURMAPNAME_OBJ1",startobj1 getorigin());
objective_current(1);
}
//****************************************
objective_state(1, "done"); //if OBJ1 is complete!!
Share |
BloodySoldier
General Member
Since: Aug 17, 2006
Posts: 318
Last: Apr 6, 2009
[view latest posts]
Level 5
Category: CoD Mapping
Posted: Sunday, Oct. 22, 2006 04:42 pm
alright i tried the script bu it doesnt work i get the bad syntax error : ( i wish there was a program that would tell me what needs to be fix lol

thanks for ur help though. anyone else got an idea?

the localized folder is in the main right?



edited on Oct. 22, 2006 12:43 pm by BloodySoldier
Share |
de_vice
General Member
Since: Feb 11, 2006
Posts: 14
Last: Jul 27, 2008
[view latest posts]
Level 1
Category: CoD Mapping
Posted: Sunday, Oct. 22, 2006 08:53 pm
aha...sorry,i make a mistake,you must to have ( 2 triggers multiple):
first trigg is for "start objective" and second trigg "objective complete"
use this script...i test it!...no problem
Code:
 
main() 
{ 
maps\_load::main();

thread startobj1();
}
startobj1()
{
first = getent ("first_trigg","targetname");
second = getent ("second_trigg","targetname");

first waittill ("trigger");//start objective

objective_add(1, "active", &"MAPNAME_OBJ1",second getorigin());
objective_current(1);

second waittill ("trigger");

objective_state(1, "done");//objective1 complete 	
}


the localized folder is in the main?....... "main/localizedstring/english/mapname.str"
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

»