[QUOTE=Lemmiwinks!;26689475]Everything that can be done in E2 can be done in Lua because E2 is just Lua minus some potentially abusable functions.[/QUOTE]
Make a gamemode in E2, or something that doesn't float on your head and attack people. But anyway isn't E2 discussion for wiremod forums? I never really tried E2, it would be good to learn I guess......
I learned E2 by studying [url=http://wiki.garrysmod.com/?title=Wire_Expression2]this page[/url].
I never learned E2 :saddowns:
We didn't because it is a a stupid useless tool implemented into a fun game to ruin it.
[QUOTE=Mr.Macintosh;26700495]Make a gamemode in E2, or something that doesn't float on your head and attack people. But anyway isn't E2 discussion for wiremod forums? I never really tried E2, it would be good to learn I guess......[/QUOTE]
[url=http://www.youtube.com/watch?v=yiA2exoUpKo]Because[/url] [url=http://www.youtube.com/watch?v=TP4qpEwEMCc&feature=mfu_in_order&list=UL]everyone[/url] [url=http://www.youtube.com/watch?v=q0uTzCxALP0&feature=mfu_in_order&list=UL]does[/url] [url=http://www.youtube.com/watch?v=eAamgewjmiA&feature=mfu_in_order&list=UL]that[/url] [url=http://www.youtube.com/watch?v=Dr9WS0FUCnU&feature=mfu_in_order&list=UL]with[/url] [url=http://www.youtube.com/watch?v=GeW3wlEQG4A&feature=mfu_in_order&list=UL]E2[/url].
God I hate that line so much. Can't tie together over a hundred props in a contraption in a nice even way and move it from server to server using just LUA, but the E2 wrapper allows you to do that just fine.
Gamemodes? You can create smaller rulesets if people are willing to go along with it. I remember seeing a small soccer gamemode via E2 made by Grumpy Hitler, a capture the flag base/flag assembly via E2, and even silly things like a game of boulderdash made back when E1 was the fore.
I'm biased, however. Closest I've seen to LUA on the fly was on a metastruct server where a "developer" ended up deleting worldspawn accidentally. Oh, and calling functions to explode players. That's some classy shit, I'm sure you guys aspire to the same.
So in the end we can all agree that lua is for the lonely and e2 is for the social.
I do both. What am I?
[QUOTE=Surma;26709017]So in the end we can all agree that lua is for the lonely and e2 is for the social.[/QUOTE]
No, E2 is for the people who find actual programming too hard. Or want to take what they made and use it on another server.
[QUOTE=Flapadar;26711626]No, E2 is for the people who find actual programming too hard. Or want to take what they made and use it on another server.[/QUOTE]
I am insulted. Actual programming is assembly and can not be done i lua.
[QUOTE=Surma;26712758]I am insulted. Actual programming is assembly and can not be done i lua.[/QUOTE]
You could via a module if you were determined enough, I think.
I don't think you could get any more smug than you are right now, Flapjack.
I didn't
[QUOTE=Flapadar;26713295]You could via a module if you were determined enough, I think.[/QUOTE]
There already is.
It's called Wire CPU.
But there isnt anything like it "outside" of gmod the way lua is outside and e2 is inside. Nothing popular, and thats what counts. If you wana do that sort of stuff theres only exe modifying. In fact, come to think of it, modifying the actual engine is probably what "lua-ish assembly" would be like. Someone should totally do that.
The first E2s I made were just calculations and gate-type E2s. I wanted to make something in Spacebuild to count up all my resources and turn them into percentages... Then I made something that made my space ship fly better (gyropod calculations). And my learning developed from there as I became curious.
[QUOTE=Lemmiwinks!;26653970]Fixed.[/QUOTE]
I fucking hate people that rates their own posts..
[QUOTE=Surma;26717696]There already is.
It's called Wire CPU.[/QUOTE]
Not enough palms can convey how stupid that statement is.
[QUOTE=soderholm13;26717910]I fucking hate people that rates their own posts..[/QUOTE]
Not funny.
[QUOTE=Surma;26709017]So in the end we can all agree that lua is for the lonely and e2 is for the social.[/QUOTE]
If by social you mean taking overused, resource wasting E2s such as Drunk Combine, then yes.
Back on topic, I learned it by looking up some tutorials over wiremod.com, this was before all the hype for E2s.
[QUOTE=Flapadar;26717942]Not enough palms can convey how stupid that statement is.[/QUOTE]
How so?
[QUOTE=Surma;26718146]How so?[/QUOTE]
Because a Wire CPU is in no way related to assembly, nor Lua.
[QUOTE=Loures;26717964]If by social you mean taking overused, resource wasting E2s such as Drunk Combine, then yes.
Back on topic, I learned it by looking up some tutorials over wiremod.com, this was before all the hype for E2s.[/QUOTE]
I was kinda aiming at lua being something for coders who want to make stuff that will never gain widespread usage (gamemodes excluded) and will only be seen by others through the occational youtube clip. Seriously, when was the last time you saw anything lua that was not a gamemode on a public server? E2 on the other hand is for those who can and will find practical usage and admiration for their code on public servers.
[QUOTE=Surma;26718286]I was kinda aiming at lua being something for coders who want to make stuff that will never gain widespread usage (gamemodes excluded) and will only be seen by others through the occational youtube clip. Seriously, when was the last time you saw anything lua that was not a gamemode on a public server? E2 on the other hand is for those who can and will find practical usage and admiration for their code on public servers.[/QUOTE]
In that case, you're talking a whole load of bollucks. Where would E2 be without Lua? Lua is way more popular than E2.
[QUOTE=Flapadar;26718186]Because a Wire CPU is in no way related to assembly, nor Lua.[/QUOTE]
Last time i read, the language used is an assembly language. Obviously, its limited as it runs inside a game, but it does provide the behaviour that assembly does as well, like efficient self-rewriting code.
[QUOTE=Surma;26718357]Last time i read, the language used is an assembly language. Obviously, its limited as it runs inside a game, but it does provide the behaviour that assembly does as well, like efficient self-rewriting code.[/QUOTE]
It might well act like assembly, but it's coverted to Lua, which is then precompiled into bytecode via C, which is then executed.
[QUOTE=Flapadar;26718326]In that case, you're talking a whole load of bollucks. Where would E2 be without Lua? Lua is way more popular than E2.[/QUOTE]
I dont see lua being every mans property on servers...
[QUOTE=Surma;26718388]I dont see lua being every mans property on servers...[/QUOTE]
You should visit CapsAdmin's server sometime. Then you'll realise the point you're making is false.
[QUOTE=Flapadar;26718385]It might well act like assembly, but it's coverted to Lua, which is then precompiled into bytecode via C, which is then executed.[/QUOTE]
So? It IS the behaviour i want. If i want to truely write i assembly i wouldnt do that in gmod.
Now, if i want to write [u]assembly in gmod[/u] i dont think i would use lua, once again pointing at the portability and modifying code in-game, as mentioned earlier.
[QUOTE=Surma;26718504]i dont think i would use lua, once again pointing at the portability and modifying code in-game, as mentioned earlier.[/QUOTE]
Lua can be just as portable as E2. And can be edited ingame. And is more powerful. And runs faster. And doesn't have shitty syntax. And makes sense.
[QUOTE=Flapadar;26718425]You should visit CapsAdmin's server sometime. Then you'll realise the point you're making is false.[/QUOTE]
Then il begin listing rp and sandbox servers then, cause ive never seen one tha allows your own lua to be run. Should be smething like, every server?
[QUOTE=Surma;26718555]Then il begin listing rp and sandbox servers then, cause ive never seen one tha allows your own lua to be run. Should be smething like, every server?[/QUOTE]
The only reason that's the case is because people are too lazy to set up security around it.
Sorry, you need to Log In to post a reply to this thread.