Jump to content

W3D Scripting


Recommended Posts

Hey Guys,

 

it's the asker of many questions.

 

Just a quick overview would be nice in lieu of a potential tutorial.

 

How does the scripting work exactly? I've noted that you can download the latest version of scripts.dll from Tiberian Technologies, but how is it implemented in game? Is it through level editor? Can you for example apply a script to a specific object through LE?

 

May be well off the mark here so look forward to your advice :)

Link to comment
Share on other sites

I'll give you a simple example:

Place a script zone, go to its scripts tab and add a script: JFW_Message_Send_Zone.

Parameters:

Playertype 1 for gdi/allied 0 for nod/soviet.

Message: string message to display. (e.g. "Hello world!")

Colors: 0-255.

Sound: just skip it for now.

Delete: 0 (so it can be activated as many times you want)

 

When the right teamed unit walks into this script zone with this script on you will get that message with the given color displayed :)

 

 

And no, you can not create new scripts in LevelEdit, just use existing ones that the Jonwil and his team writes. You'd need to sit down and code in Visual Studio or something similar and compile it.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...