Jump to content

Fighter

Members
  • Posts

    252
  • Joined

  • Last visited

Everything posted by Fighter

  1. Fighter

    Hello

    That would be very helpful and I'd love to have those features contributed! I'm currently working on transferring my code over to modbase. Do you have Xfire/Steam/Skype? If so, could you PM me it if you want to so we could talk more about this?
  2. Fighter

    Hello

    It was something I attempted at an earlier time, but I stopped work on it as a lot of OJP features such as the saber system, flash bangs, etc were liked. I may start work on that again and go through with it though if I feel it would be the best choice to make and if those interested in the mod feel it's a good idea. Honestly, I'd really like to use @ 's modbase to work off of because of all its fixes and improvements.
  3. Welcome to JKHub! It's nice to hear you like the layout!
  4. Fighter

    Hello

    Welcome to JKHub! It's nice to see more coders!
  5. Moved to Modding Assistance as this seems like a better place for this thread. (And so the mark solved feature that @@Caelum loves can be used by you if a solution that is posted works )
  6. Welcome! Have fun with mapping and keep up the practice!
  7. I just got Windows 8. So far I like it!

    1. Show previous comments  5 more
    2. Fighter

      Fighter

      I just installed Start8, disabled the menu that pops up when you put your mouse in a corner, and set it so my desktop rather than the Metro UI appears on startup, and it's fine for me after that.

    3. CrimsonStrife

      CrimsonStrife

      I love how almost all the arguments in support of 8 are along the lines of "Oh it works great as long as you ignore/disable roughly have of it's core features."

    4. MUG
  8. Thinking about making another coding tutorial. Any suggestions for what it should be on?

    1. Show previous comments  1 more
    2. MUG
    3. Astral Serpent

      Astral Serpent

      I think that's something the entirety of #jacoders would need to contribute to.

       

    4. Fighter

      Fighter

      True, but it would be rather useful. I suppose I'll start on this, and if others want to contribute, they can of course.

  9. Nice work! I really like the attention paid to all of the various details and gadgets the skin has.
  10. Makes sense, thanks for the info! I'll be sure to update my code in my project.
  11. For 1, I did something like this that make you more/less accurate with your shots depending on if you were standing, running, or walking, and/or crouching. I don't think I tested the code though, but if you or anyone else is interested, here it is. This goes in the FireWeapon function in g_weapon.c, but I'm not sure if the func is base JKA or OJP. For 5, OJP did some stuff like this, and I think they included in in OJP Basic too, so you could take a look at that code if you wanted. For example, howlers screech and they force you to cover your ears like in SP. Not sure if they did anything with the rancor, though. For 6, JAC's modbase is doing a lot of that sort of stuff, and because it's Git people can make pull requests to have their own fixes and such included.
  12. Fighter

    Hey !

    Hey there, welcome to JKHub, Sabu!
  13. I think a dystopian/cyberpunk theme sounds pretty interesting after seeing the images of what that type of theme would look like that people have been posting. As I'm no mapper and won't be able to help you guys, I wish you all good luck! I'm sure it will turn out well.
  14. Welcome to JKHub! Your mod looks pretty interesting, I'll have to check it out sometime!
  15. I think he's referring to how that line looks weird, which probably explains why you weren't getting health. As for Q2, I'll take a look at it again.
  16. Code for Q2: In g_active.c, in the ClientThink_real function, search for: trap_SendServerCommand( -1, va("cp \"%s %s %s!\n\"", ent->client->pers.netname, G_GetStripEdString("SVINGAME", "PLDUELWINNER"), duelAgainst->client->pers.netname) );and replace it with trap_SendServerCommand( -1, va("cp \"%s %s %s with %i health and %i shields remaining!\n\"", ent->client->pers.netname, G_GetStripEdString("SVINGAME", "PLDUELWINNER"), duelAgainst->client->pers.netname, ent->client->ps.stats[STAT_HEALTH], ent->client->ps.stats[STAT_ARMOR]) );Edit: Looking at the code again, it looks like you need to move the above line so it's before this piece of code: if (ent->health < ent->client->ps.stats[STAT_MAX_HEALTH]) { ent->client->ps.stats[STAT_HEALTH] = ent->health = ent->client->ps.stats[STAT_MAX_HEALTH]; }otherwise it'll just print that the winner won with full health remaining. Code for Q3: I think this is a combination of JK3 ClanMod and some OJP code that I use a variation of in my JK3 mod, but it should work fine in JK2: http://pastebin.com/CGXBMWPh If I figure out Q1, I'll update this post.
  17. Fighter

    JK3MD5

    Version 1.0

    129 downloads

    JK3MD5 is a program used to check if your JKA's assets, .exe's, etc have been modified. To do this, it checks the MD5 hash values of your files and compares them to the hash values of unmodified JK3 files. If your MD5 hash value is different, then your files are modified. This can be used to track down problems with corrupt files, experiments you did, etc. This program was made for Caelum in JKH's Secret Santa 2012. I asked for his permission to upload it and update it in the future, and he gave me it.
  18. There isn't. I'm not sure how I feel about this though. It seems like this would possibly take away from the RP and instead cause players to focus more on killing enemies than RPing.
  19. Updated the original post with more info about the mod such as our features, latest plans for the future, etc. I'll try to get some more screenshots or even a video posted in the next few weeks or days as well as update the original post with more info on our features. We're hoping to release in a few months' time at most, so development speed will be increasing.
  20. It looks like you can open .gob files using this. And .gfc files with this.
  21. From the glance I took at the MP code, I think it's ent->client->NPC_class == CLASS_STORMTROOPER || ent->client->NPC_class == CLASS_SWAMPTROOPER || ent->client->NPC_class == CLASS_IMPWORKER Edit: I mght be wrong actually. Perhaps this bit of code I found will help? if ( self->s.weapon == WP_BLASTER || self->s.weapon == WP_REPEATER || self->s.weapon == WP_THERMAL /*|| self->s.weapon == WP_BLASTER_PISTOL */ //rwwFIXMEFIXME: Blaster pistol useable by npcs? || self->s.weapon == WP_BOWCASTER ) {//Hmm, how about sniper and bowcaster? //When first get mad, aim is bad //Hmm, base on game difficulty, too? Rank? if ( self->client->playerTeam == NPCTEAM_PLAYER ) { G_AimSet( self, Q_irand( self->NPC->stats.aim - (5*(g_spskill.integer)), self->NPC->stats.aim - g_spskill.integer ) ); } else { int minErr = 3; int maxErr = 12; if ( self->client->NPC_class == CLASS_IMPWORKER ) { minErr = 15; maxErr = 30; } else if ( self->client->NPC_class == CLASS_STORMTROOPER && self->NPC && self->NPC->rank <= RANK_CREWMAN ) { minErr = 5; maxErr = 15; } G_AimSet( self, Q_irand( self->NPC->stats.aim - (maxErr*(3-g_spskill.integer)), self->NPC->stats.aim - (minErr*(3-g_spskill.integer)) ) ); } }
  22. My concerns are probably exaggerated like you said. I haven't dealt with in-mod updating code-wise yet, so I can't give an accurate explanation and pros/cons.
  23. While one of the main objectives of a launcher is to make mods easy to install, another is update checking and installing updates. People won't check a mod's website or file page regularly, which puts them at risk as they might not know about an important Clientside security fix. While there's always the option of having automatic updating in the mod(and which I suggested as a feature if the API too), I also feel like launcher updates are more reliable than in-mod updates. One of the other disadvantages of in-mod updates is that you have to start the game, go through splash screens, and then wait in-game while the updates install. One last issue is that I'm not sure how easy it is to use an in-mod updater to update the updater itself. Of course launcher have various disadvantages too. It would be nice if either: all noteworthy mods switched to in-mod updating using the API or if there was a JKH launcher that updated and launched all noteworthy mods.
×
×
  • Create New...