• How did you guys learn E2?
    90 replies, posted
So how did you guys learn E2? Is it similar to another scripting language?
Lua is better.
If you know E2, you can do Lua easier. But I just jumped in and spent a year getting to know it.
Expression 2 is an adaption of Lua. I started in on lua after learning e2. Anyway, I learned it primarily on my own. I was introduced to it via holograms. That's how I picked up on the syntax. Then I just figured the rest out, and got help from friends on whatever I couldn't figure out.
[QUOTE=Balto-the-Wolf-Dog;26649890]Expression 2 is an inefficiant wrapper for Lua.[/QUOTE] Fixed.
[QUOTE=Flapadar;26649950]Changed it to show my opinion because I'm always right.[/QUOTE] Fixed.
[QUOTE=Lemmiwinks!;26653970]Fixed.[/QUOTE] That's not an opinion, that's the truth. [img]http://dl.dropbox.com/u/9104987/lemmi.png[/img]
Yep, I rated myself. What's so bad about that? If they didn't want us to self rate, they wouldn't allow it.
I googled "expression 2 tutorial" and found the guides at wiremod.com
[QUOTE=Flapadar;26649950]Fixed.[/QUOTE] I tried to get into lua but got pissed off at it because, to make any changes, you have to exit the game, make your changes, wait for the game to load, and then wait for a map to load. That being said lua is superior because it is not only more efficient but has more capabilities.
[QUOTE=Lemmiwinks!;26654432]Yep, I rated myself. What's so bad about that? If they didn't want us to self rate, they wouldn't allow it.[/QUOTE] This is the worst possible excuse you can give for rating yourself. You are allowed to rate yourself, it's just that you look like an idiot.
I learned Lua primarily from a now-crappy online game called ROBLOX, so I know generic Lua. I barely know any GMod Lua though, and I'm yet to learn E2. I hear the Wiremod site is particularly useful.
[QUOTE=FoobyZeeky;26658102]I learned Lua primarily from a now-crappy online game called ROBLOX, so I know generic Lua. I barely know any GMod Lua though, and I'm yet to learn E2. I hear the Wiremod site is particularly useful.[/QUOTE] It would be. The tutorials were made by expert E2 people, and even a couple by me. Go check them out. :-)
[QUOTE=Flapadar;26649950]Fixed.[/QUOTE] Well what the heck do you want for an ingame immidiate implementation like expression 2? A direct mirror of lua? Good luck. Speaking of which, I havent tried luapad, Ill have to give it a whirl, leaving game is the reason I dont dedicate more time to lua. Why did I start in on lua? [B]because it is more efficient then e2.[/B] That was my primary reason, among others like that it was more flexible, and more universal. Being an inefficient warper doesnt make it not an adaption
[QUOTE=Balto-the-Wolf-Dog;26659649]Well what the heck do you want for an ingame immidiate implementation like expression 2? A direct mirror of lua? Good luck. Speaking of which, I havent tried luapad, Ill have to give it a whirl, leaving game is the reason I dont dedicate more time to lua. Why did I start in on lua? [B]because it is more efficient then e2.[/B] That was my primary reason, among others like that it was more flexible, and more universal. Being an inefficient warper doesnt make it not an adaption[/QUOTE] E2 is more like a "whitelist" of lua. Servers dont want to run your nasty malicious lua.
How i learned: Blood, Sweat, and tears with Trial and Error. (after i got to know the lang they made the "E2 Helper")
[QUOTE=froztshock;26655443]I tried to get into lua but got pissed off at it because, to make any changes, you have to exit the game, make your changes, wait for the game to load, and then wait for a map to load. That being said lua is superior because it is not only more efficient but has more capabilities.[/QUOTE] lua_openscript_cl/lua_openscript alt-tab out of game or run in windowed mode.
[QUOTE=Nexus435;26660284]lua_openscript_cl/lua_openscript alt-tab out of game or run in windowed mode.[/QUOTE] or both.
I like Luapad, personally.
[QUOTE=whosdr;26665191]I like Luapad, personally.[/QUOTE] I'ld too if it had an autosave feature, I only use it to run the actual code and/or do quick fixes. But if its installed on the server and you are admin its a really good help to learn coding.
[QUOTE=froztshock;26655443]I tried to get into lua but got pissed off at it because, to make any changes, you have to exit the game, make your changes, wait for the game to load, and then wait for a map to load. That being said lua is superior because it is not only more efficient but has more capabilities.[/QUOTE] Use LuaPad. [editline]13th December 2010[/editline] :ninja:
-noborder and notepad ++.
[QUOTE=Flapadar;26669401]-noborder and notepad ++.[/QUOTE] There's no space between the notepad and the ++, it's just Notepad++. [editline]13th December 2010[/editline] [QUOTE=BrQ;26655735]This is the worst possible excuse you can give for rating yourself. You are allowed to rate yourself, it's just that you look like an idiot.[/QUOTE] nou
I learned parts of lua through E2, and E2 was just, learning E2 I guess, from the blank slate. Before that it was only batch files, and now, I simply work with Visual Basic Studio 2010. Making nicknacks, Lua isn't as huge a part of my workflow as my applications.
Guys, E2 is used because it's generally more popular and it's approved of by more servers than running potentially-malicious Lua code.
Yeah, arguing for one or the other is kind of silly as they really do two different functional things. If you want shit that you can migrate with from server to server, E2's your best bet. If you're in an entirely single player environment where you are allowed infinite access to all of LUA's tools, then LUA is a better option. Oh, and for physics based stuff which handles some of the basic adapted-to-wire constraints and contraption bits like thrusters, hoverballs, hydraulics and the like, E2's your only bet. Limiting your physics based stuff to just force-based commands allows you better manipulation in-game than a scripted entity. Seriously, look at the pile that is SCars, or the Combine Mech, versus contraptions of the same variety created in-game. If you're twiddling with physics, LUA is not exactly the best option. I learned through trial and error.
Haven't learned it, it's hard :'( but I wish to learn it :)
Everything that can be done in E2 can be done in Lua because E2 is just Lua minus some potentially abusable functions.
And without having to specify a library.
I did not learn how.
Sorry, you need to Log In to post a reply to this thread.