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

Members Online

»
0 Active | 6 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: World at War
Category: CoDWW Scripting
Scripting and coding with Call of Duty: World at War.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Objectives not working correctly
starkk
General Member
Since: Aug 8, 2008
Posts: 216
Last: Apr 5, 2012
[view latest posts]
Level 4
Category: CoDWW Scripting
Posted: Tuesday, Jun. 9, 2009 02:05 am
Hey my objectives arnt working correctly, tho as far as I know my code is correct.

For my gsc I have this

Code:
objective_1()
{
objective_add( 1, "current", &"NIGHTRAID_OBJ_1", (-30, -5519, -511.7) );


	thread obj1_done();
}


for my string file i have this

Code:
VERSION             "1"
CONFIG              "C:\cod5\cod\cod5\bin\StringEd.cfg"
FILENOTES           ""

REFERENCE           OBJ_1
LANG_ENGLISH        "Fight through the village using the swamp path"


yet ingame I get this



I have checked dev gsc and also babycops meadow source code and none of precached the strings. Babycops map compiles fine for me and objectives work correctly ingame.

and yes I have tried pracaching them anyway. Oh and the position on the compass works fine and to make sure I didnt screw up my str file I copied and pasted my str file into babycops and then compiled meadow and it worked fine. Its gotta be something im missing in my gsc.

Any insight on correcting this would be amazing
Starkk


edited on Jun. 8, 2009 10:06 pm by starkk

edited on Jun. 8, 2009 10:07 pm by starkk
Share |
DemonSeed
General Member
Since: Apr 30, 2009
Posts: 1362
Last: Feb 19, 2018
[view latest posts]
Level 8
Im a fan of MODSonair
Category: CoDWW Scripting
Posted: Tuesday, Jun. 9, 2009 09:10 am
You dont have an ENDMARKER at the foot of your str file. The game will not read strings correctly without it:

Code:
VERSION             "1"
CONFIG              "C:\cod5\cod\cod5\bin\StringEd.cfg"
FILENOTES           ""

REFERENCE           OBJ_1
LANG_ENGLISH        "Fight through the village using the swamp path"

ENDMARKER
Share |
starkk
General Member
Since: Aug 8, 2008
Posts: 216
Last: Apr 5, 2012
[view latest posts]
Level 4
Category: CoDWW Scripting
Posted: Tuesday, Jun. 9, 2009 05:08 pm
DemonSeed writes...
Quote:
You dont have an ENDMARKER at the foot of your str file. The game will not read strings correctly without it:

Code:
VERSION             "1"
CONFIG              "C:\cod5\cod\cod5\bin\StringEd.cfg"
FILENOTES           ""

REFERENCE           OBJ_1
LANG_ENGLISH        "Fight through the village using the swamp path"

ENDMARKER


Oh ya I do, sorry forgot to include that in my original post

edited on Jun. 9, 2009 01:08 pm by starkk
Share |
DemonSeed
General Member
Since: Apr 30, 2009
Posts: 1362
Last: Feb 19, 2018
[view latest posts]
Level 8
Im a fan of MODSonair
Category: CoDWW Scripting
Posted: Tuesday, Jun. 9, 2009 05:12 pm
Ok, tell me, step by step, how you added it to your zone file. File setup, and syntax you used to add the str file.

The code is right - it seems it's down to how you added the localized string to your zone file. If you get it wrong, the game wont read it.

edited on Jun. 9, 2009 01:17 pm by DemonSeed
Share |
starkk
General Member
Since: Aug 8, 2008
Posts: 216
Last: Apr 5, 2012
[view latest posts]
Level 4
Category: CoDWW Scripting
Posted: Tuesday, Jun. 9, 2009 05:14 pm
DemonSeed writes...
Quote:
Ok, tell me, step by step, how you added it to your zone file. File setup, and syntax to add the str file.


my zone file? mean csv in zone_source??

I have looked at dev csv files and they had nothing to do with string files in it.

For my string file I just opened up a dev str file, saved it has nightraid.str and changed what I wanted.
Share |
DemonSeed
General Member
Since: Apr 30, 2009
Posts: 1362
Last: Feb 19, 2018
[view latest posts]
Level 8
Im a fan of MODSonair
Category: CoDWW Scripting
Posted: Tuesday, Jun. 9, 2009 05:21 pm
starkk writes...
Quote:
DemonSeed writes...
Quote:
Ok, tell me, step by step, how you added it to your zone file. File setup, and syntax to add the str file.


my zone file? mean csv in zone_source??

I have looked at dev csv files and they had nothing to do with string files in it.

For my string file I just opened up a dev str file, saved it has nightraid.str and changed what I wanted.


No, you must localize it in your zone csv file:

Quote:
localize,nightraid


All string files must be added to your zone csv in that manner, otherwise they dont register with the game.

EG: Taken from COD4/zone_source/coup.csv:

Quote:
localize,credit
localize,coup


edited on Jun. 9, 2009 01:22 pm by DemonSeed
Share |
starkk
General Member
Since: Aug 8, 2008
Posts: 216
Last: Apr 5, 2012
[view latest posts]
Level 4
Category: CoDWW Scripting
Posted: Tuesday, Jun. 9, 2009 05:49 pm
oh ya I have localize,nightraid,,

Share |
starkk
General Member
Since: Aug 8, 2008
Posts: 216
Last: Apr 5, 2012
[view latest posts]
Level 4
Category: CoDWW Scripting
Posted: Tuesday, Jun. 9, 2009 06:42 pm
WOOOT got my objectives to work!!

The localize,nightraid,, was near the bottom of my csv file...for kicks and giggles i descided to put it at the top....and now my objectives work!!!


Thanks tubby!

Share |
starkk
General Member
Since: Aug 8, 2008
Posts: 216
Last: Apr 5, 2012
[view latest posts]
Level 4
Category: CoDWW Scripting
Posted: Tuesday, Jun. 9, 2009 06:53 pm
i meant tally....thanks tally
Share |
DemonSeed
General Member
Since: Apr 30, 2009
Posts: 1362
Last: Feb 19, 2018
[view latest posts]
Level 8
Im a fan of MODSonair
Category: CoDWW Scripting
Posted: Tuesday, Jun. 9, 2009 07:49 pm
starkk writes...
Quote:
i meant tally....thanks tally


You're quite welcome Zeroy lol

edited on Jun. 9, 2009 03:53 pm by DemonSeed
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty: World at War : CoDWW Scripting

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

»