MODSonline
  Welcome Guest to MODSonline Home | Forums | Register | Login
Main-Menu
Home
Login
Register
Add Download
Add News
Add Tutorial *
Forums

Advertise
Affiliate Store US *
Affiliate Store UK *
Affiliate Store CA *
Angry Letter Generator
Avatar Upload
Calendar of Games
Contact
Downloads
FAQs
Forums
Member List
Member Projects
News
News Grabber *
Policy
Polls
Private Messages
Reviews
Screenshot Gallery
Search
Servers - Game
Store - Shirts *
Subscribe
Topics
Tutorials
Weblinks
Wiki *
Tutorials
CoD Mapping
CoDUO Mapping
CoD2 Mapping
CoD4 Mapping
CoDWW Mapping
CoD FAQs
HL2 Mapping
HL2 FAQs
SOF1 Mapping
Crysis Mapping
Q4 Mapping
Doom 3 Mapping
Doom 3 FAQs
UT2K3 Mapping
SOF2 Mapping
SOF2 FAQs

Lightray Modeling
General Modeling
General Modding
Adobe Photoshop
Common Mapping Errors

Readme.txt Generator
Members-Online
4mori_rabbit [Forum]
gunny0311 [Downl]
justonemore [Forum]
uberrogue [Proje]

4 Members and 16 Guests
Chat MODSonline
0 People Now Chatting
MODSOnline TeamSpeak

download TeamSpeak

In-The-News
Monday, Dec. 1st
A message from foyleman
Sunday, Nov. 30th
MODSonair 156 Live
Friday, Nov. 28th
MODSonair Episode 155
Wednesday, Nov. 26th
MODSonair Forum Buttons
Monday, Nov. 24th
Holiday Gift Guide 2008 - PC
Latest Poll
Single or Multiplayer maps for World at War?
Single-Player 30.12%
Multiplayer 61.45%
WHAT!? The tools are out? 8.43%
Read More...
10 comments

Newsletter
Name:
Email:
Newsletter Archives
Your Membership
User Name:
Password:
Register.
In The Forums
A message from foyleman
In The News.. Posts: (5) Views: (47) by 4mori_rabbit
Clan vs All
CoD:WW Scripting.. Posts: (1) Views: (1) by uberrogue
Zombie Map Issues with Launcher also.
CoD:WW Level Des.. Posts: (9) Views: (143) by Spuddy
Hud
CoD General Gami.. Posts: (1) Views: (12) by Harbinger
Google 468 Banner Half-Life 2 Mods for Dummies
CoDWW Download
Forums
MODSonline.com 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 4
Category: CoD 4 Single Player
Call of Duty 4 single player mapping, scripting and everything single player.
Moderators: foyleman, rEdrUmMDK, Foxhound, Rasta, StrYdeR, The_Caretaker, batistablr, playername, Welshy
Latest Posts
Subscribed Posts
Search
Restricted Access Restricted Access
Page
Next Page
subscribe
Author Topic: objectives
starkk
General Member
Since: Aug 8, 2008
Posts: 112
Last: Nov 30, 2008
[view latest posts]
Level 4
Category: CoD 4 Single Player
Posted: Saturday, Aug. 16, 2008 04:54 pm
So I descided it was time to start to get objectives done with my map so I wanted to do a simple test just so I could get the idea of how to do them so what I wanted was, map starts and lists the objective (in this case "get to the gate" ) So I made a trigger_multiple by a gate and targetname gate_trig . I then made this script


Code:


and poo-poo is my str file

"REFERENCE OBJ1

LANG_ENGLISH "Move to the Gate."
"

So I tried that ingame and got a syntax error of "{" thats all. I went into console and thats all it said.

So what am I doing wrong?

Starkk
Rasta
Preferred Member
Since: Apr 10, 2004
Posts: 4324
Last: Dec 1, 2008
[view latest posts]
Level 9
Forum Moderator
Im a fan of MODSonair
Im a HOST of MODSonair
Category: CoD 4 Single Player
Posted: Saturday, Aug. 16, 2008 05:36 pm
Your string should look something like

Code:


The error must be caused by something else, post up your console.log file after you have runyour map. This will give us more details.
Go ahead... You Play I Mod : MODSonline.com
Support Modsonline by becoming a PREFERRED MEMBER today
Have you heard the MODSonair Podcast?: www.modsonair.com
We are game enthusiasts from the MODSonline.com community bringing you news, updates and opinions of the week's current events. Tune in every Friday for a new episode.
starkk
General Member
Since: Aug 8, 2008
Posts: 112
Last: Nov 30, 2008
[view latest posts]
Level 4
Category: CoD 4 Single Player
Posted: Saturday, Aug. 16, 2008 05:45 pm
ya it does look like that.

[/url]

[i]edited on Aug. 16, 2008 05:46 pm by starkk[/i]

[i]edited on Aug. 16, 2008 05:47 pm by starkk[/i]
techno2sl
General Member
Since: Aug 5, 2004
Posts: 1534
Last: Dec 1, 2008
[view latest posts]
Level 8
Im a fan of MODSonair
Category: CoD 4 Single Player
Posted: Saturday, Aug. 16, 2008 06:10 pm
Can you post your complete .gsc file? As the error is in it.
starkk
General Member
Since: Aug 8, 2008
Posts: 112
Last: Nov 30, 2008
[view latest posts]
Level 4
Category: CoD 4 Single Player
Posted: Saturday, Aug. 16, 2008 06:54 pm

Code:


alot of stuff in there im saving for later. Also my first gsc file so im putting alot of reference stuff
The_Caretaker
Preferred Member
Since: Jun 8, 2004
Posts: 11559
Last: Oct 4, 2008
[view latest posts]
Level 10
Forum Moderator
Category: CoD 4 Single Player
Posted: Sunday, Aug. 17, 2008 05:09 am
thread redson();
thread obj1()


there should be a ; behind that obj() line.

starkk
General Member
Since: Aug 8, 2008
Posts: 112
Last: Nov 30, 2008
[view latest posts]
Level 4
Category: CoD 4 Single Player
Posted: Sunday, Aug. 17, 2008 01:39 pm
ty The_Caretaker and seven again (seven on xfire), rasta to

here is my final code


Code:


with a thread obj1(); at main

now its timed to make an ACTUAL objective....stay tuned for more errors :)

starkk

edited on Aug. 17, 2008 01:40 pm by starkk
starkk
General Member
Since: Aug 8, 2008
Posts: 112
Last: Nov 30, 2008
[view latest posts]
Level 4
Category: CoD 4 Single Player
Posted: Sunday, Aug. 17, 2008 02:01 pm
k so now that iv learned a little about objectives I want to make a real one that will be in the release of my map.

The objective is to secure a farm ahead. So currently (when i finish all the ai it will be more complicated then this but ill juts start with this) there are 4 AI at the farm and when they 4 are dead I want the objective to be complete. There ARE more AI in the map.

this is wat i have so far


Code:


starkk
The_Caretaker
Preferred Member
Since: Jun 8, 2004
Posts: 11559
Last: Oct 4, 2008
[view latest posts]
Level 10
Forum Moderator
Category: CoD 4 Single Player
Posted: Sunday, Aug. 17, 2008 03:10 pm
Please take a look at the objectives tutorial in the CoD tutorial section.
starkk
General Member
Since: Aug 8, 2008
Posts: 112
Last: Nov 30, 2008
[view latest posts]
Level 4
Category: CoD 4 Single Player
Posted: Sunday, Aug. 17, 2008 03:16 pm
The_Caretaker writes...
Quote:
Please take a look at the objectives tutorial in the CoD tutorial section.


ya i did and I had


Code:


but someone told me the kill2waittil death part was wrong
Restricted Access Restricted Access
Page
Next Page
subscribe
MODSonline.com Forums : Call of Duty 4 : CoD 4 Single Player
All logos and trademarks and information in this site are property of MODSonline LLC © 2008.
The comments are property of their posters.
RSS news feeds for MODSonline can be found News.php.
Art of War Central
Partners
modbase.be
XoXide
Call of Duty Headquarters
CODAddicts - Call of Duty News & Downloads
The Firing Box
Battle for Europe COD2
Frag Universe
Ask About
Advertising
Friends
Great Gamer
The Clan Database
Volcano
Ask About
Advertising
Link to Us
MODSonair
View in iTunes
Please help us to raise in the ranks of podcasting and subscribe to our itunes feed using the link above.
MODSonair Releases
MODSonair Episode 155
MODSonair Episode 154
MODSonair Episode 153
MODSonair Episode 152
MODSonair Episode 151
Next Show
The next MODSonair show will air LIVE on:

Time remaining:
Copyright © 2008 MODSonline
Tresware Content Management System Copyright © 2008 Tresware
Website Designed and Hosted   Tresware