FileFront Forums

FileFront Forums (http://forums.filefront.com/)
-   SW:JK3 Modding, Mapping and Editing (http://forums.filefront.com/sw-jk3-modding-mapping-editing-528/)
-   -   [Alpha Mod] Gunslinger's Academy (http://forums.filefront.com/sw-jk3-modding-mapping-editing/413004-gunslingers-academy.html)

eezstreet December 4th, 2009 02:15 PM

Re: Gunslinger's Academy
 
Quote:

Originally Posted by -Raz0r- (Post 5158027)
Well hooray for opensource. :)
Have you set your linker and debugger options to automatically attach? It's the cure for all crashes.. =p

The code there looks fine..can't imagine why it crashes - unless the pointer to gclient_t was NULL'ed and you tried to access a member after that..

The CP messages also don't work :(
I did a debug G_Print and it adds/subtracts killstreaks correctly, but whenever I get to a five killstreak, it crashes with no error whatsoever. Also, the ifs are off by 1 it seems, I need to put 1 less than the amount needed (so 4 for 5, 2 for 3, etc). I've always needed to do this, even in JK2 :Puzzled:

Wait, I had to compile it in Debug(Final)? Crap, that fixes everything now, doesn't it =p




NOW, for those of you not interested in code, here are some screenies:









Plus, I have included extended sound for:
Spoiler:

Generic Multiplayer (Uses Kyle soundset instead of Jaden)
Stormtrooper
Imperial Worker


Here is a list of all the new sound files. If you want to make a favorite model of yours that uses new sounds have their new sounds, you need to include these files in sound/chars/<your character>/misc:
Spoiler:

death6.wav
death7.wav
death8.wav
death9.wav
death10.wav
jump2.wav
jump3.wav
land2.wav
land3.wav


Once I fix the low health overlay, I'll post that.
I'm no good with models, and maybe some of you are. But if you are, I'm including a .max of an MP5 that needs finishing (I'm using Max 2010, if that helps). I do have sounds and efx of the weapon however.

Distortedcoder December 4th, 2009 02:18 PM

Re: Gunslinger's Academy
 
Looking nice, Hope that sorts out the killstreak issue.

Authuran December 4th, 2009 02:26 PM

Re: Gunslinger's Academy
 
It really just looks like you took off the health and shield part of the HUD. Is that what we're supposed to be looking at? Or the bloody face thing system?

Raz0r December 4th, 2009 02:27 PM

Re: Gunslinger's Academy
 
Quote:

Originally Posted by eezstreet (Post 5158526)
Wait, I had to compile it in Debug(Final)? Crap, that fixes everything now, doesn't it =p

Here's the project settings I use..

Client Game
Configuration: Debug
Linker -> General -> Output File: ..\..\ArbModding\cgamex86.dll

Game
Configuration: Debug
Linker -> General -> Output File: ..\..\ArbModding\jampgamex86.dll
Debugging -> Command: D:\Games\Star Wars Jedi Knight Jedi Academy\GameData\jampded.exe
Debugging -> Command Arguments: +set fs_cdpath "D:\Games\Star Wars Jedi Knight Jedi Academy\GameData" +set fs_game "ArbModding" +set fs_dirbeforepak 1 +set sv_pure 0 +set viewlog 1
Debugging -> Working Directory: ../..

User Interface
Configuration: Debug
Linker -> General -> Output File: ..\..\ArbModding\uix86.dll
Debugging -> Command: D:\Games\Star Wars Jedi Knight Jedi Academy\GameData\jamp.exe
Debugging -> Command Arguments: +set fs_cdpath "D:\Games\Star Wars Jedi Knight Jedi Academy\GameData" +set fs_game "ArbModding" +set fs_dirbeforepak 1 +set sv_pure 0 +set viewlog 1 +exec raz0r.cfg
Debugging -> Working Directory: ../..

Then set 'User Interface' as your start-up project, and use F5 to run JA.
This will effectively engage the debugger, which will solve all your problems =p

eezstreet December 4th, 2009 05:08 PM

Re: Gunslinger's Academy
 
Quote:

Originally Posted by -Raz0r- (Post 5158548)
Here's the project settings I use..

Client Game
Configuration: Debug
Linker -> General -> Output File: ..\..\ArbModding\cgamex86.dll

Game
Configuration: Debug
Linker -> General -> Output File: ..\..\ArbModding\jampgamex86.dll
Debugging -> Command: D:\Games\Star Wars Jedi Knight Jedi Academy\GameData\jampded.exe
Debugging -> Command Arguments: +set fs_cdpath "D:\Games\Star Wars Jedi Knight Jedi Academy\GameData" +set fs_game "ArbModding" +set fs_dirbeforepak 1 +set sv_pure 0 +set viewlog 1
Debugging -> Working Directory: ../..

User Interface
Configuration: Debug
Linker -> General -> Output File: ..\..\ArbModding\uix86.dll
Debugging -> Command: D:\Games\Star Wars Jedi Knight Jedi Academy\GameData\jamp.exe
Debugging -> Command Arguments: +set fs_cdpath "D:\Games\Star Wars Jedi Knight Jedi Academy\GameData" +set fs_game "ArbModding" +set fs_dirbeforepak 1 +set sv_pure 0 +set viewlog 1 +exec raz0r.cfg
Debugging -> Working Directory: ../..

Then set 'User Interface' as your start-up project, and use F5 to run JA.
This will effectively engage the debugger, which will solve all your problems =p

Will this fix the issue of the killstreaks and cp messages not showing?

eezstreet December 4th, 2009 07:50 PM

Re: Gunslinger's Academy
 
Thanks Raz0r, I have an error message now:
Quote:

Unhandled exception at 0x20211cea (jampgamex86.dll) in jamp.exe: 0xC0000005: Access violation reading location 0x00001c90.
Decipher this?

Raz0r December 4th, 2009 11:08 PM

Re: Gunslinger's Academy
 
Yup, a crash is also knows as an 'Unhandled Exception' =p
Click 'Break' and it should take you to the line of code that's crashing you. Hover your mouse over variables to see their value and work out what happened.
There's also a nifty thing called the 'Call Stack'. So it could look something like (Example): G_InitGame -> WP_SaberLoadParms -> COM_Compress and something in COM_Compress could be causing the issue.
Keep an eye out for NULL pointers. They cause 80% of crashes. =p
And it appears that crash there is caused by something in jampgamex86.dll doing something bad.

Pwned! December 5th, 2009 06:14 AM

Re: Gunslinger's Academy
 
wow if this is accomplished I might start doing multiplayer more.

Distortedcoder December 5th, 2009 06:18 AM

Re: Gunslinger's Academy
 
I agree with pwned! this will be badass when you get all the issues fixed.

eezstreet December 5th, 2009 07:17 AM

Re: Gunslinger's Academy
 




This is what the killstreaks should be doing, however if I reference self->s.number for a clientnum, it doesn't work =X -1 will work but only if another bot has a killstreak (because I'm attempting to show 2 messages at once, "You killed %s" and "3 kill streak!" so they disappear at the same time)
Is there any way around that?

Also, my shaders don't like to work, so I had to hack the droid view shader for the blood view to work:


It works, and you do restore HP (about 2/sec) and it disperses as intended.

I might just keep the weapon pickups as they are, as I keep going into bot matches and just the sound of all the mischief is hilarious :lol: Not to mention the stormtrooper and rodian and all the other sounds I fixed, so now they have full soundsets.

The system doesn't like me. I mentioned that shaders don't work whenever I touch them, well, I converted bespin_platform (from JK2) so it will work in CTF and this is what I get:


Another possibility to explore is crosshairs that change with each weapon. IE the flechette has a circle with a crosshair, melee is a circle, sniper rifle is more precise, etc.

Opinion?


All times are GMT -7.

Powered by vBulletin®
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.