• Runing lua on half life 2
    122 replies, posted
[QUOTE=Kopimi;18932800]Dude ATGOD I hope you're trolling T_T I'm almost positive Garrysmod is just HL2 with some Lua libraries, letting the C++ in HL2 access the Lua code.. Oh god I've probably made myself look like an idiot lol[/QUOTE] No. No. No. Oh goodness no. On a separate note. I'm actually trying to fiddle around with a pure HL2 deathmatch + Lua bind, dubbed "[url=http://code.google.com/p/luasource/]Lua: Source[/url]". (It's also open-source.) I intend on making the SourceMod have a more pure distribution of Lua, with less features, and having the game load content from as many Source games as I can mount using the SDK. I'm just learning from it, really, but I finally got LuaBind and Lua packaged in with the source code. I'm just trying to find out where the best place is to start creating console commands to run lua strings, and where I should bind the classes to. I was assuming maybe hl2mp_gamerules.cpp, since it's shared?
[QUOTE=andrewmcwatters;18947021]No. No. No. Oh goodness no. On a separate note. I'm actually trying to fiddle around with a pure HL2 deathmatch + Lua bind, dubbed "[url=http://code.google.com/p/luasource/]Lua: Source[/url]". (It's also open-source.) I intend on making the SourceMod have a more pure distribution of Lua, with less features, and having the game load content from as many Source games as I can mount using the SDK. I'm just learning from it, really, but I finally got LuaBind and Lua packaged in with the source code. I'm just trying to find out where the best place is to start creating console commands to run lua strings, and where I should bind the classes to. I was assuming maybe hl2mp_gamerules.cpp, since it's shared?[/QUOTE] Oh you're still doing that? I've been updating the SVN every few days but nothing had changed, so I assumed it was dead. I'll contact you on Steam once the maintenance is done.
[QUOTE=ATGOD;18932826]i know it is im just trying to find them[/QUOTE] Here in Soviet Russia, you do not find Lua, Lua finds you.
[QUOTE=Dr Magnusson;18948310]I'll contact you on Steam once the maintenance is done.[/QUOTE] Sure thing.
Look, to put it simply: You want to run lua programs/scripts/whatever in the GAME Half-Life 2. At the moment, HL2 does simply not support lua. When Garry Newman made the mod for Half-Life 2 called Garry's Mod, he used lua to handle a majority of things. Unless you can make your own HL2 mod to run lua, there is no other way to run lua in HL2. Hope that helps without insulting you.
[QUOTE=Toastermach10;18951044]Look, to put it simply: You want to run lua programs/scripts/whatever in the GAME Half-Life 2. At the moment, HL2 does simply not support lua. When Garry Newman made the mod for Half-Life 2 called Garry's Mod, he used lua to handle a majority of things. Unless you can make your own HL2 mod to run lua, there is no other way to run lua in HL2. Hope that helps without insulting you.[/QUOTE] it does thank u very much and yes that is what im trying to do make a mod that runs lua
[QUOTE=ATGOD;18953318]it does thank u very much and yes that is what im trying to do make a mod that runs lua[/QUOTE] No it doesn't. Try running a lua script in Half-Life 2. It won't work. I hope to god you're trolling :geno:
[QUOTE=SBII Gunz;18953501]No it doesn't. Try running a lua script in Half-Life 2. It won't work. [/QUOTE] you dont know that >.> wow only about 3 ppl on this site are any help every one else is just a a$$
[QUOTE=ATGOD;18954830]you dont know that >.> wow only about 3 ppl on this site are any help every one else is just a a$$[/QUOTE] Let me provide you a helpful tip for the duration of your stay on the internet. People are generally going to be much more likely to help you if you talk like this: [QUOTE=ATGOD;18954830]That fact is uncertain. Goodness, it is unfortunate that only three people were willing to aid me in my task. I hope the rest of them can come to their senses and help out a newbie coder.[/QUOTE]
[QUOTE=ATGOD;18954830]you dont know that >.> wow only about 3 ppl on this site are any help every one else is just a a$$[/QUOTE] I just told you to try it. Valve didn't add Lua support in their games. You can add it in, yes, but it isn't easy, and it requires that you make a mod. Also [hd]http://www.youtube.com/watch?v=j0S194H6Uok[/hd] [highlight](User was banned for this post ("Made a decent response to a legitimate question then ruined it by attaching a stupid video." - DEADBEEF))[/highlight]
[QUOTE=Entoros;18955044]Let me provide you a helpful tip for the duration of your stay on the internet. People are generally going to be much more likely to help you if you talk like this:[/QUOTE] understandable but its hard to be like that when ppl arnt like that to me (PERIOD) [QUOTE=SBII Gunz;18955171]I just told you to try it. Valve didn't add Lua support in their games. You can add it in, yes, but it isn't easy, and it requires that you make a mod. Also [hd]http://www.youtube.com/watch?v=j0S194H6Uok[/hd][/QUOTE] yes i do know that i have been saying for a long time now that it is for a mod i am making and i know about spelling but like other ppl i dont really care about it on the internet(PERIOD)
[QUOTE=ATGOD;18955474]understandable but its hard to be like that when ppl arnt like that to me yes i do know that i have been saying for a long time now that it is for a mod i am making and i know about spelling but like other ppl i dont really care about it on the internet b[/QUOTE] Did you watch the video or not. :eng99: Also, we care. somtimes i cant undrstnd u whn u tlk liek thz thrfour we thnk u trolin Also, [url=http://getfirefox.com] Get Firefox [/url], it has a spell check juuuuuuust for you.
I'm just gonna say this. People on the internet (unless they're little kids, or are just plain immature) respect you more if you use proper grammar and punctuation. Overall it will make you seem smarter and people will take you more seriously.
[QUOTE=Gbps;18955627]Did you watch the video or not. :eng99: Also, we care. somtimes i cant undrstnd u whn u tlk liek thz thrfour we thnk u trolin Also, [url=http://getfirefox.com] Get Firefox [/url], it has a spell check juuuuuuust for you.[/QUOTE] like i said i do know how to spell and i do use fire fox wow this is really getting off topic and not getting me anywhere or at least thanks to the people that actally helped despite the way i type. [QUOTE=SplinterSim4;18955642]I'm just gonna say this. People on the internet (unless they're little kids, or are just plain immature) respect you more if you use proper grammar and punctuation. Overall it will make you seem smarter and people will take you more seriously.[/QUOTE] true but whatever anyone says i am who i am and i shouldent seem smarter i should just be myself but people these days cant even respect that
[QUOTE=ATGOD;18955707]like i said i do know how to spell and i do use fire fox wow this is really getting off topic and not getting me anywhere or at least thanks to the people that actally helped despite the way i type. true but whatever anyone says i am who i am and i shouldent seem smarter i should just be myself but people these days cant even respect that[/QUOTE] I would probably respect you more if you didn't rate yourself agree.
[QUOTE=ATGOD;18955707]like i said i do know how to spell and i do use fire fox wow this is really getting off topic and not getting me anywhere or at least thanks to the people that actally helped despite the way i type. true but whatever anyone says i am who i am and i shouldent seem smarter i should just be myself but people these days cant even respect that[/QUOTE] That's the thing I'm trying to tell you! Why not just do what you already HAVE to do in school and type NORMALLY [i] AND [/i] you get more respect and people will take you seriously. [QUOTE]or at least thanks to the people that actally helped despite the way i type.[/QUOTE] Could have never happened had you not taken AT LEAST one, maybe two seconds more to think about what you're typing BEFORE you press "Submit Reply" [editline]10:04PM[/editline] [QUOTE=SBII Gunz;18955902]I would probably respect you more if you didn't rate yourself agree.[/QUOTE] He's the only one agreeing with himself anyways. Watch this, I can type this with my eyes closed. See, if I use proper grammar, the people who read my posts will take me more seriously and I will have my question answered faster than if I didn't care what I typed and kist ty[ed it. Even that's better than what you've done.
[QUOTE=SBII Gunz;18955902]I would probably respect you more if you didn't rate yourself agree.[/QUOTE] well i agree with my self is that a problem? edit [QUOTE=Gbps;18955915] Watch this, I can type this with my eyes closed. See, if I use proper grammar, the people who read my posts will take me more seriously and I will have my question answered faster than if I didn't care what I typed and kist ty[ed it. Even that's better than what you've done.[/QUOTE] congratulations
[QUOTE=ATGOD;18955975]well i agree with my self is that a problem?[/QUOTE] Yes.
[QUOTE=Gbps;18955987]Yes.[/QUOTE] well im sorry but i guess your just going to have to deal with it
You know what, forget it. Do what you want. Have everyone think you're a complete idiot, I'll show you how much I care. :suicide:
[QUOTE=Gbps;18956046]You know what, forget it. Do what you want. Have everyone think you're a complete idiot, I'll show you how much I care. :suicide:[/QUOTE] thank you very much :D :suicide:
[sp]o luk evry1 im cul because i cann du wht i wnt cuz im col like that whu carz bout schol, knldg is 4 lozerz i my nd ^ lvin n box bt its k cuz i du wht i wnt tke tht loozerz[/sp] [highlight](User was banned for this post ("this is not what spoiler tags are for." - DEADBEEF))[/highlight]
[QUOTE=ATGOD;18956064]thank you very much :D :suicide:[/QUOTE] You're either a troll or a retard, take your pick. [sp]There's no third option.[/sp] [highlight](User was banned for this post ("this is not what spoiler tags are for." - DEADBEEF))[/highlight]
[hd]http://www.youtube.com/watch?v=Zby6zWiikPw[/hd] Been waiting to use that for awhile. [highlight](User was banned for this post ("Extended for repeatedly trolling someone's therad." - DEADBEEF))[/highlight]
[QUOTE=Deruu;18956121]You're either a troll or a retard, take your pick. [sp]There's no third option.[/sp][/QUOTE] i'll pick retard because i was just asking for help but i guess no one cares about that so they just picked on me but oh well [QUOTE=Gbps;18956143][hd]http://www.youtube.com/watch?v=Zby6zWiikPw[/hd] Been waiting to use that for awhile.[/QUOTE] omg! achievement. [QUOTE=Gbps;18956114][sp]o luk evry1 im cul because i cann du wht i wnt cuz im col like that whu carz bout schol, knldg is 4 lozerz i my nd ^ lvin n box bt its k cuz i du wht i wnt tke tht loozerz[/sp][/QUOTE] i dont think im cool i know im not so yeah
[QUOTE=ATGOD;18954830]you dont know that >.> wow only about 3 ppl on this site are any help every one else is just a a$$[/QUOTE] No, you just have absolutely no clue what you're doing. Making a SourceMod with extensive use of Lua is easier said than done.
[QUOTE=andrewmcwatters;18956278]No, you just have absolutely no clue what you're doing. Making a SourceMod with extensive use of Lua is easier said than done.[/QUOTE] i know that very much
[QUOTE=ATGOD;18956208]i'll pick retard because i was just asking for help but i guess no one cares about that so they just picked on me but oh well[/QUOTE] You got your help: [QUOTE=iRzilla;18934362][url]http://developer.valvesoftware.com/wiki/Adding_Lua[/url][/QUOTE] That's about as easy as it's going to get. If you find that too hard then you've started off with an over ambitious project, aka you wont be able to do it.
[QUOTE=Deruu;18956308]You got your help: That's about as easy as it's going to get. If you find that too hard then you've started off with an over ambitious project, aka you wont be able to do it.[/QUOTE] i know i got help. and i thanked him for it. but im still here to see if anyone has any more suggestions.
[QUOTE=ATGOD;18956327]i know i got help. and i thanked him for it. but im still here to see if anyone has any more suggestions.[/QUOTE] Everyone's afraid to.
Sorry, you need to Log In to post a reply to this thread.