Username:    Password:    Remember Me?         

lua scripting - Reverie World Studios Forums

Go Back   Reverie World Studios Forums > Kingdom Wars > The Pub
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
  #1  
Old 02-12-2010, 06:14 PM
Henry Martin's Avatar
Henry Martin Henry Martin is offline
Reverie World Studios - QA Tester
 
Join Date: Sep 2009
Posts: 1,369
Henry Martin is someone to look uptoHenry Martin is someone to look upto
Default lua scripting

I am not the best at learning programing languages(common statement).

I was wondering if anyone has used torque script and if that is comparable to lua script? I have been looking at some tutorials and most seem to assume that you have some programing experience. I am not that good a scripting/programming so I am looking for tutorials that assume that you don't know the first thing about script/programming.
__________________
aka "u_have_krabs"

"90% of what is considered "impossible" is, in fact, possible. The other 10% will become possible with the passage of time & technology." -Hideo Kojima

Last edited by Henry Martin : 02-12-2010 at 06:18 PM.
Reply With Quote
  #2  
Old 02-12-2010, 06:32 PM
Negthareas Negthareas is offline
Elven Sect:
Treant
 
Join Date: Dec 2009
Location: Valley of Wisdom and War
Posts: 603
Negthareas is on a good road to success
Default

No clue, but would also like suggestions.
Reply With Quote
  #3  
Old 02-12-2010, 06:48 PM
Alex Walz's Avatar
Alex Walz Alex Walz is offline
Reverie World Studios - Former Marketing Director & Assistant Producer
 
Join Date: Mar 2007
Posts: 1,254
Alex Walz has extremely good reputationAlex Walz has extremely good reputationAlex Walz has extremely good reputationAlex Walz has extremely good reputation
Default

Never heard of torque. Lua's like a simplified Java/C++ hybrid. It's a very beginner-friendly language and you can usually get a good idea of what a script does just by looking at it - even if you have no experience with Lua, as a lot of the C++ symbols are simplified into plain english, though personally I think this is a bit annoying.

There's some beginner resources on Lua in this thread at DoFH and some other dev-posted resources floating around that forum.
__________________
Alex Walz | Former Assistant Producer & Publicist of Reverie World Studios, INC.
Follow us on Twitter! Fan us on Facebook!
"The sky grows lighter my friends. The break of day should cheer the heart. But for us, sunrise brings only bloody war. Make thou ready. Defend my people well." - Prince Erian IV, Dawn of Fantasy
Reply With Quote
  #4  
Old 02-12-2010, 07:24 PM
Josh Warner's Avatar
Josh Warner Josh Warner is offline
Reverie World Studios - Scenario Scripter
 
Join Date: Jul 2009
Location: Maine
Posts: 809
Josh Warner is just really niceJosh Warner is just really niceJosh Warner is just really nice
Default

Quote:
Originally Posted by Alex Walz View Post
Never heard of torque. Lua's like a simplified Java/C++ hybrid. It's a very beginner-friendly language and you can usually get a good idea of what a script does just by looking at it - even if you have no experience with Lua, as a lot of the C++ symbols are simplified into plain english, though personally I think this is a bit annoying.

There's some beginner resources on Lua in this thread at DoFH and some other dev-posted resources floating around that forum.
For experienced coders it's a bit slower/inconvenient perhaps, but for people new to code it's a huge help I'd say. Extremely user friendly and one of the best languages to get started with for those with zero experience.

I know what torque is, but I haven't done anything with it, so no idea if it's similar or not.
__________________
Remember to read the FAQ before asking questions! http://www.reverieworld.com/forums/showthread.php?t=509

And if you don't find the answer - ask them in that same thread, we'll answer what we can.
Reply With Quote
  #5  
Old 02-12-2010, 07:52 PM
Alex Walz's Avatar
Alex Walz Alex Walz is offline
Reverie World Studios - Former Marketing Director & Assistant Producer
 
Join Date: Mar 2007
Posts: 1,254
Alex Walz has extremely good reputationAlex Walz has extremely good reputationAlex Walz has extremely good reputationAlex Walz has extremely good reputation
Default

Oh yes, it's very nice and straightforward - I just don't like writing out all the do/then/and statements instead of just using simple brackets. It's a good language, I just try to compare it to Java too much.
__________________
Alex Walz | Former Assistant Producer & Publicist of Reverie World Studios, INC.
Follow us on Twitter! Fan us on Facebook!
"The sky grows lighter my friends. The break of day should cheer the heart. But for us, sunrise brings only bloody war. Make thou ready. Defend my people well." - Prince Erian IV, Dawn of Fantasy
Reply With Quote
  #6  
Old 02-12-2010, 11:05 PM
LiTos456's Avatar
LiTos456 LiTos456 is offline
Reverie Moderator - dofsource.com Ambassador
 
Join Date: Mar 2009
Location: Local Disk C:\
Posts: 1,675
LiTos456 has a spectacular aura aboutLiTos456 has a spectacular aura about
Default

Torque has been around for a while actually. I've played with it some years ago... But never got into it.
Hell, I never even got into programming far enough not to get dragged away by some other interest. So sorry, can't help.
__________________
ATTENTION NEW MEMBERS: Please read "Posting and YOU!" and the forum's "Code of Conduct" before making any posts.
Please read the official FAQ thread before asking any questions! If you don't find your answer use the search function!
If you have questions about the beta, please check the official beta questions thread before posting anything!
Don't bump old threads, don't spam, be nice and enjoy your stay.
Reply With Quote
  #7  
Old 02-13-2010, 11:42 AM
Andy Joslin's Avatar
Andy Joslin Andy Joslin is offline
Reverie World Studios - Lead Gameplay Scripter
 
Join Date: May 2008
Posts: 495
Andy Joslin is just really niceAndy Joslin is just really niceAndy Joslin is just really nice
Default

Lua scripting in Dawn of Fantasy is not hard. You could go as far as to say it is easy.

Jonathan Werk posted a good thread showcasing a bit of our scripting at Dawn of Fantasy Heaven: link
Reply With Quote
  #8  
Old 02-13-2010, 12:26 PM
Jonathan Werk's Avatar
Jonathan Werk Jonathan Werk is offline
Reverie World Studios - Scenario Scripter
 
Join Date: Nov 2009
Posts: 55
Jonathan Werk has a default reputation
Default

Andy, do you think I should post it here too?
I posted it at DoFH first because I knew the people there are mostly scenario designers and they were pretty apprehensive about Lua and I wanted to assuage their fears. I haven't been seeing much (if any) editor discussion here.
Reply With Quote
  #9  
Old 02-13-2010, 12:40 PM
Henry Martin's Avatar
Henry Martin Henry Martin is offline
Reverie World Studios - QA Tester
 
Join Date: Sep 2009
Posts: 1,369
Henry Martin is someone to look uptoHenry Martin is someone to look upto
Default

Thanks for the replies. I will probably mess around with lua alittle and when I get ahold of the editor I will try really learn it.

I would like the post here. I am looking forward to the editor myself. As an aspiring level design I should learn how to script, but I am slow.
__________________
aka "u_have_krabs"

"90% of what is considered "impossible" is, in fact, possible. The other 10% will become possible with the passage of time & technology." -Hideo Kojima
Reply With Quote
  #10  
Old 02-13-2010, 12:44 PM
massenic massenic is offline
Elven Sect:
Sorcerer
 
Join Date: Jan 2010
Location: Belgium
Posts: 106
massenic has fair reputation
Default

thanks for the link Andy! Really interesting

I had already started learning the basis of lua and it's really easy. Very recognizable if you are used to programming, and as *insert name here, too lazy to look who said it* said it looks like an easy programming/scripting language to start with
__________________
"It is easier to do a job right than to explain why you didn't"
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 03:36 AM.

ESRB Rated T
US/CANADA
PEGI 16
EUROPE
USK 16
GERMANY

privacy policy   |   Copyright © Reverie World Studios INC.

Kingdom Wars and Reverie World Studios are trademarks of Reverie World Studios, Inc. Developed by Reverie World Studios, inc. All Rights Reserved. All other trademarks are property of their respective owners.
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.