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

Members Online

»
0 Active | 57 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 4
Category: CoD4 MP Mapping
CoD 4 mapping and level design for multiplayer.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked
Page
Previous Page Next Page
subscribe
Author Topic: Cod4: Scripting Reference
StrYdeR
General Member
Since: May 11, 2004
Posts: 11672
Last: Apr 20, 2024
[view latest posts]
Level 10
Admin
Forum Moderator
Im a HOST of MODSonair
Category: CoD4 MP Mapping
Posted: Tuesday, Nov. 27, 2007 02:06 am
playing around.....

located in the Mods/ModWarfare folder is a makeMod.bat file and a 7za.exe

the 7za.exe is a programmable compression utility which i would assume is fired by the .bat

the .bat has the following contents:

Code:
del z_modwarfare.iwd
del mod.ff

xcopy ui_mp ..\..\raw\ui_mp /SY
copy /Y mod.csv ..\..\..\share\zone_source
cd ..\..\..\bin
linker_pc.exe -language english -compress -cleanup mod
cd ..\pc\mods\ModWarfare
copy ..\..\zone\english\mod.ff
7za a -r -tzip z_modwarfare.iwd maps
7za a -r -tzip z_modwarfare.iwd images

pause


i would assume that you could edit the the .bat to output a mod that is packaged in a form that can then be used in a pure setting.

i haven't played with this yet though - but that is what it looks like to me

[angryalien]
Share |
Vistrum
General Member
Since: Jan 2, 2007
Posts: 146
Last: Mar 12, 2010
[view latest posts]
Level 4
Category: CoD4 MP Mapping
Posted: Wednesday, Nov. 28, 2007 01:05 am
Awesome. I'm getting the hang of this modding thing and I have a mod for warping players written.

Now to have somone find out how to make it usable on a pure server ;)
Share |
novemberdobby
General Member
Since: Sep 17, 2006
Posts: 1965
Last: Oct 13, 2013
[view latest posts]
Level 8
Forum Moderator
Category: CoD4 MP Mapping
Posted: Wednesday, Nov. 28, 2007 08:03 am
warping players? me too :D

Just need to find a different way to bounce players now...
Share |
zeroy
General Member
Since: Nov 26, 2007
Posts: 1060
Last: Mar 12, 2014
[view latest posts]
Level 8
Category: CoD4 MP Mapping
Posted: Wednesday, Nov. 28, 2007 01:26 pm
novemberdobby writes...
Quote:
warping players? me too :D

Just need to find a different way to bounce players now...


Hi guys, what exqactly is that "warping players"?

Thanks,
Share |
novemberdobby
General Member
Since: Sep 17, 2006
Posts: 1965
Last: Oct 13, 2013
[view latest posts]
Level 8
Forum Moderator
Category: CoD4 MP Mapping
Posted: Wednesday, Nov. 28, 2007 03:05 pm


Teleporting.

edited on Nov. 28, 2007 10:05 am by novemberdobby
Share |
Vistrum
General Member
Since: Jan 2, 2007
Posts: 146
Last: Mar 12, 2010
[view latest posts]
Level 4
Category: CoD4 MP Mapping
Posted: Thursday, Nov. 29, 2007 07:41 am
lol wtf weapon is that?

I used yours for killing people (if you dont mind.. not much different that I could do to it xD), I have made one for servermessages, i'm making one for clientmessages, warping players, and disableing a players weapons.
Share |
novemberdobby
General Member
Since: Sep 17, 2006
Posts: 1965
Last: Oct 13, 2013
[view latest posts]
Level 8
Forum Moderator
Category: CoD4 MP Mapping
Posted: Thursday, Nov. 29, 2007 08:45 am
assault rifle from halo :D

I'm stuck on modding cod4 atm, need to wait for my grpahics card o arrive...need to use the built in geforce 6100 atm [sad]

Oh, and I'll be asking Rasta to update the OP for me tonight

edited on Nov. 29, 2007 03:46 am by novemberdobby
Share |
.KiLL3R.
General Member
Since: Oct 26, 2006
Posts: 1437
Last: Jul 3, 2017
[view latest posts]
Level 8
Category: CoD4 MP Mapping
Posted: Thursday, Nov. 29, 2007 09:58 am
lol, ive made scripts so the admin can
set players on fire
shellshock em
give/take points and deaths
give them health
smite
simply kill them
give weapons
set a cvar like com_maxfps (hehe)
mark them on the compass
make them play a sound
and change there player model
[crazy]
Share |
zeroy
General Member
Since: Nov 26, 2007
Posts: 1060
Last: Mar 12, 2014
[view latest posts]
Level 8
Category: CoD4 MP Mapping
Posted: Thursday, Nov. 29, 2007 10:09 am
.KiLL3R. writes...
Quote:
lol, ive made scripts so the admin can
set players on fire
shellshock em
give/take points and deaths
give them health
smite
simply kill them
give weapons
set a cvar like com_maxfps (hehe)
mark them on the compass
make them play a sound
and change there player model
[crazy]


Sounds good, any chance you sharing them out :) ?
Share |
novemberdobby
General Member
Since: Sep 17, 2006
Posts: 1965
Last: Oct 13, 2013
[view latest posts]
Level 8
Forum Moderator
Category: CoD4 MP Mapping
Posted: Saturday, Dec. 1, 2007 08:24 pm
Been playing with a few more functions...



(lol gmod...excuse my graphics...delivery...)

I found out that fragbuttonpressed() is the nade throwing button.



nuke fx;
loadfx ("explosions/nuke_bg");

all the fx's listed in the OP are in multiplayer only, and i dont think they work (or models) in other maps (ones they aren't stock in)



cloneplayer() doesn't seem to work either.

I also tried using a bullettrace["entity"] to find out some models/classnames, but it only picked up script_models [sad]
I tried my best to get bots in, but they also never worked. There's a _dev script that's disabled, i played around with that a little
Share |
Restricted Access Topic is Locked
Page
Previous Page Next Page
subscribe
MODSonline.com Forums : Call of Duty 4 : CoD4 MP Mapping

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

»