atwiki-logo
  • 新規作成
    • 新規ページ作成
    • 新規ページ作成(その他)
      • このページをコピーして新規ページ作成
      • このウィキ内の別ページをコピーして新規ページ作成
      • このページの子ページを作成
    • 新規ウィキ作成
  • 編集
    • ページ編集
    • ページ編集(簡易版)
    • ページ名変更
    • メニュー非表示でページ編集
    • ページの閲覧/編集権限変更
    • ページの編集モード変更
    • このページにファイルをアップロード
    • メニューを編集
    • 右メニューを編集
  • バージョン管理
    • 最新版変更点(差分)
    • 編集履歴(バックアップ)
    • アップロードファイル履歴
    • ページ操作履歴
  • ページ一覧
    • ページ一覧
    • このウィキのタグ一覧
    • このウィキのタグ(更新順)
    • このページの全コメント一覧
    • このウィキの全コメント一覧
    • おまかせページ移動
  • RSS
    • このウィキの更新情報RSS
    • このウィキ新着ページRSS
  • ヘルプ
    • ご利用ガイド
    • Wiki初心者向けガイド(基本操作)
    • このウィキの管理者に連絡
    • 運営会社に連絡(不具合、障害など)
ページ検索 メニュー
CoD Mod Tools 日本 Community Wiki
  • ウィキ募集バナー
  • 目安箱バナー
  • 操作ガイド
  • 新規作成
  • 編集する
  • 全ページ一覧
  • 登録/ログイン
ページ一覧
CoD Mod Tools 日本 Community Wiki
  • ウィキ募集バナー
  • 目安箱バナー
  • 操作ガイド
  • 新規作成
  • 編集する
  • 全ページ一覧
  • 登録/ログイン
ページ一覧
CoD Mod Tools 日本 Community Wiki
ページ検索 メニュー
  • 新規作成
  • 編集する
  • 登録/ログイン
  • 管理メニュー
管理メニュー
  • 新規作成
    • 新規ページ作成
    • 新規ページ作成(その他)
      • このページをコピーして新規ページ作成
      • このウィキ内の別ページをコピーして新規ページ作成
      • このページの子ページを作成
    • 新規ウィキ作成
  • 編集
    • ページ編集
    • ページ編集(簡易版)
    • ページ名変更
    • メニュー非表示でページ編集
    • ページの閲覧/編集権限変更
    • ページの編集モード変更
    • このページにファイルをアップロード
    • メニューを編集
    • 右メニューを編集
  • バージョン管理
    • 最新版変更点(差分)
    • 編集履歴(バックアップ)
    • アップロードファイル履歴
    • ページ操作履歴
  • ページ一覧
    • このウィキの全ページ一覧
    • このウィキのタグ一覧
    • このウィキのタグ一覧(更新順)
    • このページの全コメント一覧
    • このウィキの全コメント一覧
    • おまかせページ移動
  • RSS
    • このwikiの更新情報RSS
    • このwikiの新着ページRSS
  • ヘルプ
    • ご利用ガイド
    • Wiki初心者向けガイド(基本操作)
    • このウィキの管理者に連絡
    • 運営会社に連絡する(不具合、障害など)
  • atwiki
  • CoD Mod Tools 日本 Community Wiki
  • Scripting Basics

CoD Mod Tools 日本 Community Wiki

Scripting Basics

最終更新:2008年01月22日 21:26

Bot(ページ名リンク)

- view
だれでも歓迎! 編集

Introduction

Call of Duty 4 uses a language similar to C.

Call of Duty4はCに類似している言語を使います。

In Call of Duty 4, everything from AI to using animations to gameplay is done through the scripting language. The scripting language does not require a compiler, it is processed by the engine in real time. Scripts are normally contained in .GSC files, but can also be in .MENU and .H files.

Call of Duty4の中に、AIから使用アニメーションへゲームプレイへのすべてがスクリプト言語を通してされます。スクリプト言語はコンパイラを必要としません、それはリアルタイムでエンジンによって処理されます。スクリプトは.GSCファイルの中に通常落ち着いています、しかしキャンが同じく.MENUと.Hファイルにあります。

Although, with the scripting language you cannot modify source code which is proprietary code held by Infinity Ward. If it doesn't involve memory management, rendering, or netcode... you can script it.

スクリプト言語で、あなたがソースを修正することができないけれども、専有のコードであるコードがInfinity Wardを固く守りました。もしそれがメモリを伴わないなら、管理、レンダリング、あるいはnetcode・・・あなたキャンはそれを書きます。

You can use any text editing program you wish to script with. Infinity Ward uses Ultra Edit and have a custom word file to set up a Call of Duty 4 editing environment. You can find the word file located in your \bin folder.

Infinity Wardの使用Ultra Editそしてカスタムワードファイルを持ちますCall of Duty 4編集の上に環境を設定すること. あなたキャンワードファイルがあなたの\binフォルダに置かれていることを見いだしてください。

This page will serve to explain the basics of the Call of Duty 4 scripting language.

このページはCall of Duty4スクリプト言語の基礎を説明するのに役立つでしょう。

Scripts & Syntax

A script contains text which form characters. Characters form sequences which are separated into lines. Each line is terminated by a semicolon for the most part.

Scripts are sequences read by the engine and executed.

文字を形成するスクリプト部分一致テキスト。ラインに分けられる文字書式シーケンス。それぞれのラインが大部分はセミコロンによって終えられます。

スクリプトはエンジンによってのそして実行されるシーケンス読み取りです。

println( "Line One" ); // Sequence One
println( "Line Two" ); // Sequence Two

Comments are characters which can be used to help explain your script to someone else or remind you what something does. They are not read by the engine. It is good practice to comment your scripts.

注釈はあなた何かがすることがほかの誰かあるいは再心にあなたのスクリプトを説明するのを手伝うために使われることができる文字です。それらはエンジンによって読み取りではありません。それは良い事がコメントにあなたのスクリプトを練習するということです。


println( "Line One" ); // This is a comment. This line will print to the screen "Line One".

Strings are containers for characters read by the engine but have no functionality.

文字列はエンジンによって文字読み取りのためのコンテナです、しかし機能を持たないでください。

println( "Line One" ); // "Line One" is a string.



Operators & Delimiters

Operators & Delimiters are special characters read by the engine to perform or mark certain functionality (they cannot be used otherwise, unless within a comment or string).

演算子&デリミタは実行するべきエンジンあるいは記号のある特定の機能(コメントあるいは文字列の中でないなら、それらは使用済みの別のことであるはずがありません)によって特殊記号読み取りです。

Delimiters include:
デリミタが含みます:

~ ! @ % ^ & * ( ) - +  = | \ / { } [ ] : ; " ' < > ,

Operators include:
演算子インクルード:

+ - = // / % & > < ^ ! |

White Space

Whitespace characters are spaces, newlines or tabs.

Whitespaces help to improve the readability of scripts. They are insignificant unless used in a string or to separate identifiers/script commands.

余白文字はスペース、改行あるいはtabです。

Whitespacesはスクリプトの判読性を改善するのを手伝います。文字列の中に、あるいは別個の識別子/スクリプトコマンドに使われないなら、それらはささいです。

n=(10/2)+60; // No whitespace
n = ( 10 / 2 ) + 60; // Insignificant whitespace, does the same as above but easier to read

println( "HelloWorld" ); // Insignificant whitespace, prints to screen "HelloWorld"
println( " Hello World " ); // Significant whitespace, prints to screen " Hello World "

wait0.05; // script command and characters are smashed together, will cause an error
wait 0.05 // Significant whitespace, script waits 0.05 seconds


Identifiers & Script Commands

Identifiers & Script Commands are a sequence of one or more non-delimiters/non-operators. They are reserved keywords that cannot be used as variable names; trying to use an identifier/script command as a variable name will result in errors or future problems.

識別子&スクリプトコマンドは1つの列あるいはもっと多くの非-デリミター/非-オペレータです。可変がvariable nameがエラーあるいは将来の問題をもたらすであろうように;識別子/スクリプトコマンドを使おうとして名前をつけるように、それらは使われることができない遠慮がちなキーワードです。

Some identifiers & Script Commands include:
若干の識別子&スクリプトコマンドインクルード:

endon earthquake linkto moveto randomfloat randomint unlink useanimtree wait waittill

Literals

Numerical

Textual

Declarations & Types

Work In Progress

Names & Expressions

Work In Progress

Statements

Work In Progress

Functions

Scope

Singleplayer

Work In Progress

Entities

Utilities

Work In Progress

Multiplayer

Work In Progress

Entities

Players

Utilities

Work In Progress

Tips & Tricks

Work In Progress

Frequently Asked Questions

Work In Progress


(Original:"http://www.infinityward.com/wiki/index.php?title=Scripting_Basics")

タグ:

Scripting Modding Mod Tools Call of Duty 4: Modern Warfare
+ タグ編集
  • タグ:
  • Scripting
  • Modding
  • Mod Tools
  • Call of Duty 4: Modern Warfare
タグの更新に失敗しました
エラーが発生しました。ページを更新してください。
ページを更新
「Scripting Basics」をウィキ内検索
LINE
シェア
Tweet
CoD Mod Tools 日本 Community Wiki
記事メニュー

IW navigation

  • Main Page
  • All Categories
  • Mod Tools Category
  • Maya Category
  • Radiant Category
  • Latest Articles
  • Forum


Treyarch navigation

  • Main Page
  • Scripting
  • Modding
  • Radiant
  • AI
  • Multiplayer Design
  • Mission Design
  • Forum


information

  • サンドボックス
  • @wiki利用ガイド


- , - , -
記事メニュー2

recent changes

取得中です。

最近更新されたページ
  • 4914日前

    out of memory error
  • 4914日前

    Direct Light
  • 4914日前

    Cod4 Compile Tools について
  • 5043日前

    Category/Mod Tools Comments
  • 5311日前

    Treyarch/Main Page Comments
  • 5614日前

    Treyarch/Category/Scripting
  • 5614日前

    Treyarch/Main Page
  • 5724日前

    Category/Localize Comments
  • 5807日前

    Main Page Comments
  • 5825日前

    トップページ
もっと見る
「Scripting」関連ページ
  • Frequently Asked Questions ( FAQ )
  • MP Mapping
  • MP Game Script Files
  • Script Commands
最近更新されたページ
  • 4914日前

    out of memory error
  • 4914日前

    Direct Light
  • 4914日前

    Cod4 Compile Tools について
  • 5043日前

    Category/Mod Tools Comments
  • 5311日前

    Treyarch/Main Page Comments
  • 5614日前

    Treyarch/Category/Scripting
  • 5614日前

    Treyarch/Main Page
  • 5724日前

    Category/Localize Comments
  • 5807日前

    Main Page Comments
  • 5825日前

    トップページ
もっと見る
ウィキ募集バナー
急上昇Wikiランキング

急上昇中のWikiランキングです。今注目を集めている話題をチェックしてみよう!

  1. 機動戦士ガンダム バトルオペレーション2攻略Wiki 3rd Season
  2. ワールドトリガー@wiki
  3. 提督たちの憂鬱 支援SSほか@ まとめウィキ
  4. オレカバトル アプリ版 @ ウィキ
  5. ファイアーエムブレム用語辞典
  6. アメコミ@ wiki
  7. ときめきメモリアル大辞典
  8. テレビ番組スポンサー表 @ wiki
  9. GUNDAM WAR Wiki
  10. 固めまとめWiki
もっと見る
人気Wikiランキング

atwikiでよく見られているWikiのランキングです。新しい情報を発見してみよう!

  1. アニヲタWiki(仮)
  2. ストグラ まとめ @ウィキ
  3. ゲームカタログ@Wiki ~名作からクソゲーまで~
  4. 初音ミク Wiki
  5. 機動戦士ガンダム バトルオペレーション2攻略Wiki 3rd Season
  6. 発車メロディーwiki
  7. 検索してはいけない言葉 @ ウィキ
  8. 機動戦士ガンダム EXTREME VS.2 INFINITEBOOST wiki
  9. オレカバトル アプリ版 @ ウィキ
  10. Grand Theft Auto V(グランドセフトオート5)GTA5 & GTAオンライン 情報・攻略wiki
もっと見る
新規Wikiランキング

最近作成されたWikiのアクセスランキングです。見るだけでなく加筆してみよう!

  1. まどドラ攻略wiki
  2. MadTown GTA (Beta) まとめウィキ
  3. シュガードール情報まとめウィキ
  4. SurrounDead 攻略 (非公式wiki)
  5. R.E.P.O. 日本語解説Wiki
  6. Dark War Survival攻略
  7. ちいぽけ攻略
  8. シミュグラ2Wiki(Simulation Of Grand2)GTARP
  9. カツドンチャンネル @ Wiki
  10. AviUtl2のWiki
もっと見る
全体ページランキング

最近アクセスの多かったページランキングです。話題のページを見に行こう!

  1. 参加者一覧 - ストグラ まとめ @ウィキ
  2. サーヴァント/一覧/クラス別 - Fate/Grand Order @wiki 【FGO】
  3. スターリーワールド(星のカービィ ディスカバリー) - アニヲタWiki(仮)
  4. 魔獣トゲイラ - バトルロイヤルR+α ファンフィクション(二次創作など)総合wiki
  5. 大長編 タローマン 万博大爆発 - アニヲタWiki(仮)
  6. 稼ぎ - 地球防衛軍6 @ ウィキ
  7. ミッション攻略 - 地球防衛軍6 @ ウィキ
  8. トールギスⅢ - 機動戦士ガンダム バトルオペレーション2攻略Wiki 3rd Season
  9. 少女 浴室 - 検索してはいけない言葉 @ ウィキ
  10. 赤いガンダム - 機動戦士ガンダム EXTREME VS.2 INFINITEBOOST wiki
もっと見る

  • このWikiのTOPへ
  • 全ページ一覧
  • アットウィキTOP
  • 利用規約
  • プライバシーポリシー

2019 AtWiki, Inc.