Jump to content

Custom objects in editor


Raul
 Share

Recommended Posts

This morning (my time :)) I have just installed the 2.3 SDK.

 

I played a little with the editor and its props (trees, oildrum, etc.) When I wanted to add an object from outside (some trees from a DEXSOFT pack) I observed the Properties window is emtpy. Searching the forums I understand I have to add the following LUA script in the object fodler:

require("scripts/class")

local class=CreateClass(...)

 

My question is simple: is this enough for creating simple objects (without sounds, animations or other scripts :))

 

Thanks,

i5 2.7Ghz, GTS 450, 8GB Ram, Win7 x64; Win8 x64

rvlgames.com - my games

RVL Games Facebook Page, YouTube Channel

 

Blitzmax :)

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
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.

 Share

×
×
  • Create New...