
Members Online»
0 Active | 12 Guests
Online:
|
LATEST FORUM THREADS»
by ammys09
Posts: 1 / 236 warfare
CoD4 Map + Mod Releases by devielthan
Posts: 1 / 1772 Key Things the Design Comm...
CoDBO MP Mapping by rabbihasan21
Posts: 1 / 1093 Three Out of 10 Television...
CoDBO General by warrior777
Posts: 2 / 896 Voting menu on maps
CoD+UO General by
Posts: 0 / 787 Hauling 911
CoDBO3 General |
Polls»
|
Lua Scripting
To access Lua for your mission you first have to place a script object on the game world.
There are two ways to access the script, firstly you will see that it has added an extra tab on top of the Map object, or by clicking on the Level script entity on the map and then in the Lua Script properties click on the Edit Script button as shown below the Map Editor tabs.
![]()

Lua scripts are organised in to sections called functions, which reference a particular event in the game. You can write functions that can cover a wide range of gameplay mechanics, for instance defining what happens when the player has destroyed a target, or entered a particular zone.
Functions can be called before the start of the mission, using a timer, on the press of a button or in a number of other ways.
A typical function and its format can be seen in the Figure below.

The function destroys a specific vehicle, which in this case is a vehicle called “destlav00”. This will cause the vehicle to be totally destroyed in the same way as if it had been hit by heavy munitions such as artillery. It will also cause damage to those who are nearby. This function is called when the mission is first started (onMissionStart).
Latest Syndicated News»
Comments: 5
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which... Comments: 5
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ... Comments: 5
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead?
... Comments: 5
Codutility.com up and runn...
It seems to me the like the site is completely dead? Comments: 5
Codutility.com up and runn...
Yeeaahhhh.........
|
Latest Downloads»
mp_Temple
Call of Duty: Mods: Multiplayer (624.12Kb) OHMY Don Quixote
Call of Duty 2: Maps: Multiplayer (5.76Mb) OHMY Neuburg
Call of Duty 2: Maps: Multiplayer (6.84Mb) OHMY Tebessa
Call of Duty 2: Maps: Multiplayer (7.36Mb) OHMY POW Camp
Call of Duty 2: Maps: Multiplayer (2.15Mb) |
Partners & Friends»
|
Site Links and Information
|
Partners
|
Friends
|
Copyright © MODSonline LLC
Tresware Content Management System © 2011
Website Designed by LKFX and Developed by Tresware