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

Members Online

»
0 Active | 8 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 2
Category: CoD2 Scripting
Scripting and coding with Call of Duty 2.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: General tutorial for beginning scripting
Newfie
General Member
Since: Feb 2, 2006
Posts: 32
Last: Dec 29, 2006
[view latest posts]
Level 2
Category: CoD2 Scripting
Posted: Friday, Jul. 21, 2006 03:53 am
First I would like to thank all the peeps involved in helping us mear mortals in the art of mapping. Great site and tutorials are fantastic.

Having gotten a pretty good handle on the mapping part I would like to get into the scripting side of mapping. I have gone through a lot of the turorials and problems that peeps have been having with the scripting but can't seem to get a handle on it. Tried with little success to put some script in my map. Is there a tutorial that describes how and what the different functions are for the "NOOB' when it comes to putting script in a map.[duh]


Very much appreciated.[thumbs_up]
Share |
tbrotrip
General Member
Since: Jun 16, 2005
Posts: 9
Last: Aug 9, 2006
[view latest posts]
Level 0
Category: CoD2 Scripting
Posted: Friday, Jul. 21, 2006 08:13 am
Newfie writes...
Quote:
First I would like to thank all the peeps involved in helping us mear mortals in the art of mapping. Great site and tutorials are fantastic.

Having gotten a pretty good handle on the mapping part I would like to get into the scripting side of mapping. I have gone through a lot of the turorials and problems that peeps have been having with the scripting but can't seem to get a handle on it. Tried with little success to put some script in my map. Is there a tutorial that describes how and what the different functions are for the "NOOB' when it comes to putting script in a map.[duh]


Very much appreciated.[thumbs_up]


YES I totally agree. I would like to add my voice to this. I too am having a terrible time scripting and getting anything to work at all! I'm pleased with the way my maps look but I'm starting to pull out what little hair I have when I try to do any fx in the map. I have followed the tutorials to the letter even "borrowing" from other maps fx.gsc files and altering them to suit mine....PLease guys if theres anyone that can do a scripting 101 class for the newbies explaining about, syntax, co-ordinates, etc in a nice easy to understand format ...well as easy as you can make it anyhoo ...I know many of us would be extremely grateful.
Share |
StrYdeR
General Member
Since: May 11, 2004
Posts: 11671
Last: Oct 7, 2021
[view latest posts]
Level 10
Admin
Forum Moderator
Im a HOST of MODSonair
Category: CoD2 Scripting
Posted: Friday, Jul. 21, 2006 12:20 pm
have a look at the tutorial i put together what seems like ages ago in the cod section

getting started in scripting - moving things

[angryalien]
Share |
sentchy
General Member
Since: May 6, 2006
Posts: 212
Last: Oct 31, 2006
[view latest posts]
Level 4
Category: CoD2 Scripting
Posted: Friday, Jul. 21, 2006 05:11 pm
Little question, tbrotrip and Newfie: Do you two have any experience coding in any other programming languages or not?

The reason picking up COD2 scripting was so easy for me and those that do not seem to struggle is that we know other programming languages and the new dialect of COD2 was relatively easy to learn.

With that said, I would recommend learning a programming language such as Java or C++ for a few days through one of the many excellent learn to program in 21 day books and thereafter return to COD2 scripting. The authors of these books are experienced at teaching someone that has never programmed to understand the concepts of programming.

I was tempted to write a programming intro for COD guide but am worried that explaining basic concepts of programming is really the reason people struggle with scripting rather than the intricacies that have to be learned for COD programming.

With that said, I still might write a guide for scripting since in my career I have a habit to open a Word document and write myself a tutorial on whatever I learn as I learn it. The stuff I have though is missing the basic programming stuff and only has the specifics of COD2 in it.

One thing that also worries me about writting tutorials is that english is not my native language but german so with that I often feel what I am trying to explain fails due to grammar and other errors.

edited on Jul. 21, 2006 01:14 pm by sentchy
Share |
toggle
General Member
Since: Dec 11, 2004
Posts: 27
Last: Feb 23, 2008
[view latest posts]
Level 2
Category: CoD2 Scripting
Posted: Friday, Jul. 21, 2006 08:00 pm
Would be a good read. [thumbs_up]
Share |
Newfie
General Member
Since: Feb 2, 2006
Posts: 32
Last: Dec 29, 2006
[view latest posts]
Level 2
Category: CoD2 Scripting
Posted: Saturday, Jul. 22, 2006 08:07 am
No sentchy I don't have any experience in programing. Will give it a look though, thanks for the advice. Yes StrYdeR I have read your tut on moving things, parts I get but others aaahhh.[duh]. I got to start somewhere because this is something I want to learn.

Thx guys.[thumbs_up]
Share |
FlesyM
General Member
Since: Jul 24, 2005
Posts: 399
Last: Jan 24, 2008
[view latest posts]
Level 5
Category: CoD2 Scripting
Posted: Saturday, Jul. 22, 2006 06:33 pm
you need to achieve some sort of "code mind". I remember my first C course ... it took quite some time to finally get to think "like a computer". that's something you can achieve by learning the basics simple procedural languages, like C or Java.... variables types, loops statements, conditional statements, functions, recursivity ... even classes and threading ...

anyway once you got that it's a matter of learning the specific grammar used by the cod2 language and applying the basics learned in C or Java.

and don't worry, I find cod2 to be more easy than C or Java ... at the cost of being slightly more prone to runtime errors.
Share |
tbrotrip
General Member
Since: Jun 16, 2005
Posts: 9
Last: Aug 9, 2006
[view latest posts]
Level 0
Category: CoD2 Scripting
Posted: Monday, Jul. 24, 2006 09:49 am
sentchy writes...
Quote:
Little question, tbrotrip and Newfie: Do you two have any experience coding in any other programming languages or not?

sentchy, no I don't have a knowledge of c or java any other languages. well a miniscule amount mebbeez.
Stryder, I will go take a look now m8.

I will say that I have no time or patience at the moment to go studying a programming language to write a fx script for a cod2 map, due to "real world" commitments. This has to get done in what little spare time I do have, just now.

That said, Don't get me wrong, IF I did have time I would. I'm sure it would be invaluable. But for now I jus need a quick fix to get this done. Im sure in my case its summat simple I'm doing wrong or missing out.
Hell, If I had the know how I'd write the idiots guide to scripting myself...just so I had something to refer to.

So far all the tutorials have been invaluable when I get stuck...I just cant wrap my head around what should be working in my script files.
If I manage to gain some experience making maps in whatever aspect of actually doing it that may be, I will be happy to add my knowledge to the tutorials, as the rest have done, and managed to help us all so far.
Many thanks guys. advice noted.
Share |
rkm11
General Member
Since: Jan 26, 2005
Posts: 196
Last: Aug 21, 2010
[view latest posts]
Level 4
Category: CoD2 Scripting
Posted: Monday, Jul. 24, 2006 05:08 pm
I had very little experience with scripting languages before I learned to script for CODUO. Basically I trinkered around with the scrips that were in the tutorials. I basically learned off of that and now I am scripting for CoD2 SP.

I printed off the tutorials in the CoD and UO section about basic scripting, looked over them and made them work in my head.

I suggest you try to do the same, look at the tutorials (I printed them out) read them over and over, and try to make sense of them
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 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

»