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

Members Online

»
0 Active | 63 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

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
Page
Previous Page
subscribe
Author Topic: MP gametype mod: set "axis" VIP model as "ally" model
ODAWA
General Member
Since: Jan 3, 2011
Posts: 18
Last: May 6, 2012
[view latest posts]
Level 1
Category: CoD2 Scripting
Posted: Tuesday, Jan. 11, 2011 04:40 am
well I've been busy working on this mod, but still can't get it to work.

with some versions of my mod I can host a game, but i get a script compile error when the vip players spawn.

I've added precachemodel scripts at start
I've moved my setvipmodels () script to be called within callback_startgametype() instead of down below within the spawnplayer() script.

But still keep getting "compile script error" (despite my /main folder having no extra mods).

Could someone please look at my file to see errors?

http://rapidshare.com/files/441913596/zzz_viptest_1.8.iwd

http://rapidshare.com/files/442003301/vip_myscriptsinRED.rtf

Above are links for my compiled iwd file AND a rich text file (rtf) copy of the vip.gsc with my scripts highlighted in red. Please take a look and help me out if you can. [wave]


edited on Jan. 11, 2011 11:33 am by ODAWA
Share |
ODAWA
General Member
Since: Jan 3, 2011
Posts: 18
Last: May 6, 2012
[view latest posts]
Level 1
Category: CoD2 Scripting
Posted: Tuesday, Jan. 11, 2011 11:12 pm
liltc64 writes...
Quote:
well first of all you need to find out who the axis VIP is. idk if you have made a script for that yet but what i suggest you do is get an array of all the players, then seperate the axis and allies from each other and then from there use the randomInt func to get a random player from axis and allies to be the VIP.



Thanks again for the help today, look forward to chatting with you more tonight or this week.
Share |
clanhelio
General Member
Since: Aug 30, 2008
Posts: 223
Last: Mar 24, 2011
[view latest posts]
Level 4
Category: CoD2 Scripting
Posted: Wednesday, Jan. 12, 2011 04:00 am
ODAWA writes...
Quote:
Could someone please look at my file to see errors?

Um how about you just have the game tell you the error instead of looking endlessly with no clue
Share |
ODAWA
General Member
Since: Jan 3, 2011
Posts: 18
Last: May 6, 2012
[view latest posts]
Level 1
Category: CoD2 Scripting
Posted: Wednesday, Jan. 12, 2011 06:12 am
clanhelio writes...
Quote:
ODAWA writes...
Quote:
Could someone please look at my file to see errors?

Um how about you just have the game tell you the error instead of looking endlessly with no clue


lol well why don't you teach me how to do that, so i dont have to ask anymore

i have tried to read the via the console /condump example1.txt

But it didn't show much other than "script compile error"


___________________________________

Anyway, i've been getting some great help from liltc64

He has given me a fresh start on my mod.
Share |
Restricted Access Topic is Locked
Page
Previous Page
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

»