Kendavi Posted September 13, 2012 Posted September 13, 2012 If anyone is willing to help me with this, I would like to get started in.. "coding" I know how to get the program up and running, but I can't seem to follow the set-up that JACoders.org has. If you can screenshot or something your set-up that would be pretty cool too . Also, some good web-sites to learn C or C++ would be helpful that is straightforward in learning it. I've been trying to get this set-up, but then I usually have to re-format my computer afterwards because something is wrong with it, so i'm trying to hurry and get it set back up again. Also if you know a better program then VS 2010 then suggest them, if you want to. Thanks all <3 (God Bless the People who died in the 9'11 attack)!
eezstreet Posted September 13, 2012 Posted September 13, 2012 I'm assuming you mean the Debug setup?All you need to do is right click your UI project (in the (usually left hand) panel titled solution explorer), and go to the properties for the project, with something similar to this: (My window may look slightly different, I'm running VS 2008 Express Edition)Command: C:\Program Files (x86)\LucasArts\Star Wars Jedi Knight Jedi Academy\GameData\jamp.exe (or similar path to jamp.exe) Command Arguments+set fs_cdpath "C:\progra~2\LucasArts\starwa~1\GameData" +set fs_game "modbase" +set viewlog 1Parts in italicized text will vary based on what your setup is. Generally, the JAC version of the SDK uses "modbase". Working Directory../..Ignore what I wrote in mine above, that uses JKG's settings instead of the JACoders SDK Now, all you have to do is hit OK, right click on your UI project again, and click on Set as Start-Up Project. Next, all you have to do is hit the debug button (green arrow) to launch the game and be able to edit the code on the fly while the game is running. This is known as debugging for Visual Studio, and carries a LOT of useful purposes that you'll discover later on. As for programming sites, I would recommend just looking through some of the easier sections of code first. Right Click > Go To Definition, Go To Declaration, and Find All References are your best friends. player_die is a good function to look at. It's what gets called whenever someone dies. Also, the drawing code in cg_draw.c is pretty straightforward. It's just a bunch of function calls to draw stuff like ammo and whatnot on the HUD. For learning basic C syntax though, I recommend CProgramming.com. Coding will take you quite a while to learn though, so don't get too frustrated. I recommend you chill over at #JACoders irc on ArloriaNet sometime. Somebody is bound to be there to help you.
Kendavi Posted September 13, 2012 Author Posted September 13, 2012 Thank you eez!!! This helped so much more then what I read on JACoders, it didn't explain the full path or anything and they had a lot more involved. Of course it said that they weren't here to just "give" you code. This is a much more simpler version, so thanks! I must of read theStuff on the website wrong :/. You also helped with what I was looking for (where I begin) MUCH APPRECIATED!! eezstreet likes this
eezstreet Posted September 13, 2012 Posted September 13, 2012 No problem. If you have any more coding issues such as compiling problems and whatnot, feel free to check out that IRC channel I mentioned.
Astral Serpent Posted September 13, 2012 Posted September 13, 2012 I use the info on the jacoders website a lot and it works fine for me (I make a lot of projects...)
Kendavi Posted September 13, 2012 Author Posted September 13, 2012 Any reason that i'm getting Error: #2048 when I try joining the IRC?
eezstreet Posted September 14, 2012 Posted September 14, 2012 What client are you using? How are you connecting using this client?
Fighter Posted September 14, 2012 Posted September 14, 2012 What client are you using? How are you connecting using this client?That sounds like he's using Tiramisu to connect. I always get that specific error now when I try to use it. If you are trying to use Tiramisu, Kendavi, I suggest using something like Clicks and Whistles instead.
eezstreet Posted September 14, 2012 Posted September 14, 2012 Or if you're into that web thing, try Mibbit.
Kendavi Posted September 14, 2012 Author Posted September 14, 2012 I'm using the main Web-Site IRC; So.. http://www.arloria.net/tiramisu/tiramisu.swf?channels=#jacoders I guess it is the Tiramisu. I'll try some of those, thanks Fighter.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now