View unanswered posts | View active topics It is currently Fri Dec 27, 2024 11:16 pm



Reply to topic  [ 8 posts ] 
 Things Lua really needs 
Author Message
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Things Lua really needs
MovableMan.Attachables
CreateLeg, CreateArm, CreateTurret
MO.ParentOffset,JointOffset,SpriteOffset (not read-only!)
Absolute control over frames; Lua should be able to override any .ini animation settings.
I'm sure y'all have more.


Fri Aug 21, 2009 6:46 am
Profile
User avatar

Joined: Tue Nov 06, 2007 6:58 am
Posts: 2054
Reply with quote
Post Re: Things Lua really needs
Grif wrote:
MO.ParentOffset

Wrong. I have done it.

Anyway MO.Attachables seems like a better idea than in MovableMan.

Some sort of actor storage variable thing.


Fri Aug 21, 2009 6:52 am
Profile
User avatar

Joined: Sun Jul 13, 2008 9:57 am
Posts: 4886
Location: some compy
Reply with quote
Post Re: Things Lua really needs
why not have both? be able to access them globally and locally. though i suppose you could just do double iterations if you had MO.Attachables.
also being able to set the spriteanimmode would fix the "control of frames" issue. or can we already do that?
i definitely want createlimb functions <_<


Fri Aug 21, 2009 7:29 am
Profile WWW
User avatar

Joined: Tue Nov 06, 2007 6:58 am
Posts: 2054
Reply with quote
Post Re: Things Lua really needs
MO:AddFunction(ScriptFunction.Update, foobar)

Or something. I just need a way to add lua code to an actor without some MO tracking for it.


Fri Aug 21, 2009 7:41 am
Profile
User avatar

Joined: Sun Jul 13, 2008 9:57 am
Posts: 4886
Location: some compy
Reply with quote
Post Re: Things Lua really needs
oh. attachables that dont crash when attached w/ lua if the parent gibs. <_<


Fri Aug 21, 2009 11:23 am
Profile WWW
User avatar

Joined: Tue Nov 06, 2007 6:58 am
Posts: 2054
Reply with quote
Post Re: Things Lua really needs
Global hooks.

So I can hook into every thing being created, destroyed, ect.

Specific lists(separate from the luaed objects list).
MovableMan.AEmitters


Fri Aug 21, 2009 8:42 pm
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: Things Lua really needs
No crashing if you use the actor editor to reload a non-scripted actor to a scripted version.
And to do MO.Attachable one better, Attachable.Parent.


Fri Aug 21, 2009 11:39 pm
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: Things Lua really needs
MovableMan:IsAttachable and/or MovableMan:ValidMO() working on pointers to attachables.


Thu Aug 27, 2009 3:58 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 8 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.023s | 14 Queries | GZIP : Off ]