CoD2 script reference?

Have questions about CoD2 mapping that aren't covered in the tutorials section? Post here!

Moderator: Core Staff

Post Reply
User avatar
Tommy991
CJ Wannabe
CJ Wannabe
Posts: 25
Joined: January 27th, 2011, 3:01 pm

CoD2 script reference?

Post by Tommy991 » September 6th, 2012, 2:15 pm

Hey everyone!

I've searched for script reference like ZeRoY's for CoD4, but no luck. :| Does anyone know is there something similar for CoD2? :roll:

Thanks,

Tommy

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13313
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Re: CoD2 script reference?

Post by Drofder2004 » September 6th, 2012, 3:30 pm

To my knowledge, it does not exist.
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

User avatar
Rezil
Core Staff
Core Staff
Posts: 2030
Joined: July 24th, 2006, 11:21 am
Location: Cramped in a small cubicle/making another jump map

Re: CoD2 script reference?

Post by Rezil » September 6th, 2012, 4:00 pm

Drofder2004 wrote:To my knowledge, it does not exist.
KillerSam wrote:I concur, I don't believe that there is one as i've never seen it.
You can't be serious, doesn't exist? It's installed on your local machine along with Radiant. CoD2/Docs/index.html -> script documentation
Drofder2004: Drofder's rules for reviewing a map
[...]
#5 If your name is Rezil, minimum 5/5.
---
<LT>YosemiteSam[NL]:
I heard somewhere that the best way to start is juggling 2 balls with one hand, so you will get a feel for it.

User avatar
Tommy991
CJ Wannabe
CJ Wannabe
Posts: 25
Joined: January 27th, 2011, 3:01 pm

Re: CoD2 script reference?

Post by Tommy991 » September 6th, 2012, 5:47 pm

Found it, thanks Rezil. 8)

Peace,

Tommy

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13313
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Re: CoD2 script reference?

Post by Drofder2004 » September 7th, 2012, 12:24 am

Rezil wrote:
Drofder2004 wrote:To my knowledge, it does not exist.
KillerSam wrote:I concur, I don't believe that there is one as i've never seen it.
You can't be serious, doesn't exist? It's installed on your local machine along with Radiant. CoD2/Docs/index.html -> script documentation
lol, it was 6 years ago!
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

megazor
CJ Worshipper
CJ Worshipper
Posts: 414
Joined: July 22nd, 2009, 3:02 am
Location: Russia, Vladivostok

Re: CoD2 script reference?

Post by megazor » September 7th, 2012, 2:18 am

Rezil is right. It goes with the game.

User avatar
Tommy991
CJ Wannabe
CJ Wannabe
Posts: 25
Joined: January 27th, 2011, 3:01 pm

Re: CoD2 script reference?

Post by Tommy991 » September 7th, 2012, 7:03 am

Well I checked reference a bit and found getStance function identical as in CoD4, but when I try to use it I get unknown function error. I also checked for some syntax errors around it(stupid little mistakes), but everything seem alright.

Any ideas?

Tommy

megazor
CJ Worshipper
CJ Worshipper
Posts: 414
Joined: July 22nd, 2009, 3:02 am
Location: Russia, Vladivostok

Re: CoD2 script reference?

Post by megazor » September 7th, 2012, 8:56 am

Some functions are SP only.

User avatar
Tommy991
CJ Wannabe
CJ Wannabe
Posts: 25
Joined: January 27th, 2011, 3:01 pm

Re: CoD2 script reference?

Post by Tommy991 » September 7th, 2012, 9:39 am

Yes of course. At CoD4 reference there's a note at each function either is MP or SP only. Function getStance is MP. Though at CoD2 reference there's no notes about MP/SP. How can I check which are SP and which MP? If function is unknown then it's SP only? Or maybe some scripts must be included at start of file?

Thanks,

Tommy

megazor
CJ Worshipper
CJ Worshipper
Posts: 414
Joined: July 22nd, 2009, 3:02 am
Location: Russia, Vladivostok

Re: CoD2 script reference?

Post by megazor » September 7th, 2012, 10:25 am

Tommy991 wrote:If function is unknown then it's SP only?
This.

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests