Jump to content

eezstreet

Members
  • Posts

    5,207
  • Joined

  • Last visited

Posts posted by eezstreet

  1. 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:

    debug.png

     

    (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 1

    Parts 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.

  2. JKH can have in site IRC, at least using Tiramisu on Arloria (a lot of coders, JKG devs and others are already daily regulars of that network) and IRC can be connected to while ingame (iirc @Raz0r was going to have an IRC plugin in JA++ and I'm trying to convince MB2 to adopt IRC ingame as well)

  3. I doubt some of those would be very easy to "skin" on to a lot of the existing models or do quite well without a new model (Raynor, Warfield, and Tychus could all be done on one Marine model. although rigging Rassagal, Tassadar, Zeratul, Queen of Blades, etc will be interesting)

    Oh, and you should post references. I'm not totally up to date on my Starcraft knowledge I think (Kachinsky is the merc vendor I think, but who is Graven Hill again? I forget) and I know some people aren't as well versed in Starcraft as I am. Not to say that I wouldn't want to see SC models though (pff. SC > ME imo, both in gameplay and in lesser respects the story)

  4. Seems cool...can you give an example of a 'locked' cvar? It seems like there is a workaround for most of them, at least the ones I know.

    There's literally dozens of UI and test cvars which aren't shown by the game due to them being hardcoded as ROM. The engine interface already makes it easy to add new cvars on the fly.

     

    For sure. Could we add moves too?

    I don't know any way which this would work out, save for some really weird file formatting.

     

    I don't exactly see how this is useful...

    All of the JK2 scripts are targetted at "kyle" instead of "player", and therefore most of the scripts in JK2 don't work.

     

     

    Always good to have some more NPC types to work with.

    Actually, the NPC type wasn't bugged, Raven just moronically left the NPC entity blank for no reason (it's okay anyway, it's just another simple NPC entity with nothing really fancy added to it. more of a macro than an actual entity)

     

    Haven't muddled to much with waypoints...sounds good, though.

    JK2 has more waypoint entities than JKA does..for some reason.

     

     

    More! Force power modding. Adding displays to the weapon huds and forcepower huds. Move the position of things in the hud that are hardcoded. (things like the weapon selecting - you use scroll for it)

    Force power modding would have to be tailored to the actual change (force repulse? sure.) or completely rescripted in their entirety in order to be remotely usable by the modder. Not very cost effective I'm afraid.

    As for the HUD, that is a possibility, yes. I tried to get the JK2 beeper thing for the datapad working again and all the objectives to be working properly but the HUD code just doesn't like me. There was a fun little comment in the code for the datapad though, and it kinda made sense why they got rid of it.

    As for other HUD stuff, we'll see. It will most likely rely on how much scripting stuff I can put into the game.

    therfiles likes this
  5. I see no real danger from JKA servers. The worst you can do is create a virtual botnet of JKA players (this happened very recently in MB2 if I'm not mistaken). As for viruses and keyloggers and things of that nature, you don't really have anything to fear by simply connecting to a server (unless you have like..say Kotf on your computer, or another trashware mod such as that that compromises your system)

  6. The idea is that you have the core of the system being one DLL file, and then various plugins which are made with an SDK which serve as plugins to your JAMod system. You can then configure the plugins and the system via an INI file, allowing you to further customize the game.

     

    My question is, if I made such a system, would anyone be interested?

     

    Some of the available plugins at launch:

     

    - Weapon Mod System (externalizes damages, etc)

    - Saber Mod System (disables some special moves and allows for modifiable damage)

    - CVar unlocker (unlocks all cvars)

    - script_targetname fixer (changes the script_targetname of the player from "player" to anything you want)

    - Galak Fix

    - JK2 Waypoint Fix

    - More..

    therfiles, Sentra and Fighter like this
×
×
  • Create New...