Notices

Go Back   FileFront Forums > The Games! > Star Wars: Jedi Knight Series > Jedi Knight III: Jedi Academy > SW:JK3 Modding, Mapping and Editing

Remember Me?

SW:JK3 Modding, Mapping and Editing
Want more info about a Mod? Making a Mod? Looking for Modders, Mappers, Skinners, etc.? This is your Spot!

Reply
 
LinkBack Thread Tools Display Modes
Old December 14th, 2009   #121
Worse than most terrible
 
Raz0r's Avatar
 
Join Date: September 26th, 2006
3,121 posts, 536 likes.
Rep Power: 24
Raz0r is almost as leet as RevengeRaz0r is almost as leet as RevengeRaz0r is almost as leet as RevengeRaz0r is almost as leet as RevengeRaz0r is almost as leet as RevengeRaz0r is almost as leet as RevengeRaz0r is almost as leet as RevengeRaz0r is almost as leet as RevengeRaz0r is almost as leet as RevengeRaz0r is almost as leet as Revenge
Default Re: Gunslinger's Academy

eezstreet: May need to look into using 32 WP_ slots if we're going to be doing all this customisation. Having extra room to push boundaries is helpful.

EDIT: Okay, I just wrote an epic function to draw the weapons we have o.o
You can polish it off however you want - maybe draw the ammo for each weapon and implement reloading/clips too o.o

Code:
#define DRAW_PIC( x, y, w, h, shader, colour )	\
{												\
	trap_R_SetColor( colour );					\
		CG_DrawPic( x, y, w, h, shader );		\
	trap_R_SetColor( NULL );					\
}

static void DrawWeapons( void )
{
	int		weaponsAllowed		= cg.predictedPlayerState.stats[STAT_WEAPONS];	//	Which weapons are we given?
	int		weaponsAvailable	= 0;											//	Which of these do we have ammo for?
	int		currentWeapon		= cg.weaponSelect;								//	Which weapon do we have currently selected
	int		i					= 0;											//	iterate
	float	y					= 96.0f;										//	y co-ordinate of current weapon icon
	float	wpX[WP_NUM_WEAPONS];
	float	wpY[WP_NUM_WEAPONS];
	vec4_t	colour				= { 1.0f, 1.0f, 1.0f, 1.0f };					//	Colour of the icons (Greyscaling and whatnot)

	//Set the coordinates
	for ( i=1; i<WP_NUM_WEAPONS; i++ )
	{
		if ( weaponsAllowed & ( 1 << i ) )
		{
			wpY[i]	= y;
			y		+= ICON_SIZE-12.0f;
			wpX[i]	= (i==currentWeapon) ? 32.0f : 24.0f ;
		}
	}

#if 0
	//TODO: Find out which weapons we have ammo for (So we can highlight them)
	for ( i=1; i<WP_NUM_WEAPONS; i++ )
	{
		if ( ( weaponsAllowed & ( 1 << i ) ) && cg.predictedPlayerState.ammo[i] )
			weaponsAvailable |= ( 1 << i );
	}
#else
	//Every weapon we own
	for ( i=1; i<WP_NUM_WEAPONS; i++ )
	{
		if ( weaponsAllowed & ( 1 << i ) )
			weaponsAvailable |= ( 1 << i );
	}
#endif
	//Every weapon we have ammo for (highlight them)
	for ( i=1; i<WP_NUM_WEAPONS; i++ )
	{
		if ( weaponsAvailable & ( 1 << i ) )
		{
			if ( i == currentWeapon )
				CG_DrawPic( wpX[i], wpY[i], ICON_SIZE, ICON_SIZE, cgs.media.weaponIcons[i] );
			else
			{
				MAKERGB( colour, 0.75f, 0.75f, 0.75f );
				DRAW_PIC( wpX[i], wpY[i], ICON_SIZE, ICON_SIZE, cgs.media.weaponIcons_NA[i], colour );
			}
		}
	}
}
Spoiler:

Last edited by Raz0r; December 15th, 2009 at 02:57 PM.
Raz0r is offline   Reply With Quote
Old December 15th, 2009   #122
Lord of the .DCC files
 
eezstreet's Avatar
 
Join Date: June 16th, 2008
Status: Available
1,527 posts, 48 likes.
Rep Power: 17
eezstreet is worthy of recognitioneezstreet is worthy of recognitioneezstreet is worthy of recognitioneezstreet is worthy of recognitioneezstreet is worthy of recognitioneezstreet is worthy of recognition
Default Re: Gunslinger's Academy

Quote:
Originally Posted by katanamaru View Post
If you would like some help with stance animations I'll help out.

One piece of advice; If you change the legs position that will give you a glitch when standing on slopes or on ledges. This is because the game will switch between the cutom stances leg position with the Leg_up positions. So you can do one of three things:
1. Remove the need for Leg_up animations.
2. Make all the stances use the same leg position as their default stance.
3. Make new leg up positions.
I can just open the animation in Dragon and reset all the leg positions, then redo the glamerge, I keep all my files from previous work for this reason

Quote:
Originally Posted by Pande View Post
You have a broadsword, a longsword, and a shortsword. When you change your style, you also switch weapons. So when you change to fast, you get shortsword, when you switch to red, you get broadsword, and yellow is longsword. It would be so much more interesting!
So let's weigh everything out, if our player is a stormtrooper:
Short Sword - 2 pounds
Bastard Sword - 5.5 pounds
Long Sword - 3 pounds
Armor: About 4 pounds (roughly)
MP5: ~1 pound
Total Weight: 15 pounds.
So you're running around with fifteen pounds of gear. Seems to me like carrying all these swords would be a heavy burden. Not to mention that you need to copy all lightsaber code twice (Which isn't that bad I suppose)

Quote:
Originally Posted by -Raz0r- View Post
eezstreet: May need to look into using 32 WP_ slots if we're going to be doing all this customisation. Having extra room to push boundaries is helpful.

Edit:
Okay, I just wrote an epic function to draw the weapons we have o.o
You can polish it off however you want - maybe draw the ammo for each weapon and implement reloading/clips too o.o

Spoiler:
Code:
#define DRAW_PIC( x, y, w, h, shader, colour )    \
{                                                \
    trap_R_SetColor( colour );                    \
        CG_DrawPic( x, y, w, h, shader );        \
    trap_R_SetColor( NULL );                    \
}

static void DrawWeapons( void )
{
    int        weaponsAllowed        = cg.predictedPlayerState.stats[STAT_WEAPONS];    //    Which weapons are we given?
    int        weaponsAvailable    = 0;                                            //    Which of these do we have ammo for?
    int        currentWeapon        = cg.weaponSelect;                                //    Which weapon do we have currently selected
    int        i                    = 0;                                            //    iterate
    float    y                    = 96.0f;                                        //    y co-ordinate of current weapon icon
    float    wpX[WP_NUM_WEAPONS];
    float    wpY[WP_NUM_WEAPONS];
    vec4_t    colour                = { 1.0f, 1.0f, 1.0f, 1.0f };                    //    Colour of the icons (Greyscaling and whatnot)

    //Set the coordinates
    for ( i=1; i<WP_NUM_WEAPONS; i++ )
    {
        if ( weaponsAllowed & ( 1 << i ) )
        {
            wpY[i]    = y;
            y        += ICON_SIZE-12.0f;
            wpX[i]    = (i==currentWeapon) ? 32.0f : 24.0f ;
        }
    }

#if 0
    //TODO: Find out which weapons we have ammo for (So we can highlight them)
    for ( i=1; i<WP_NUM_WEAPONS; i++ )
    {
        if ( ( weaponsAllowed & ( 1 << i ) ) && cg.predictedPlayerState.ammo[i] )
            weaponsAvailable |= ( 1 << i );
    }
#else
    //Every weapon we own
    for ( i=1; i<WP_NUM_WEAPONS; i++ )
    {
        if ( weaponsAllowed & ( 1 << i ) )
            weaponsAvailable |= ( 1 << i );
    }
#endif
    //Every weapon we have ammo for (highlight them)
    for ( i=1; i<WP_NUM_WEAPONS; i++ )
    {
        if ( weaponsAvailable & ( 1 << i ) )
        {
            if ( i == currentWeapon )
                CG_DrawPic( wpX[i], wpY[i], ICON_SIZE, ICON_SIZE, cgs.media.weaponIcons[i] );
            else
            {
                MAKERGB( colour, 0.75f, 0.75f, 0.75f );
                DRAW_PIC( wpX[i], wpY[i], ICON_SIZE, ICON_SIZE, cgs.media.weaponIcons_NA[i], colour );
            }
        }
    }
}


Spoiler:
Your spoiler tags are a little funky there (they won't go ... =_=)
From what I can tell, basically what you're doing is placing all the weapons on the screen (which is Q3-like). I assume this is a pic from ArbModding?


Gunslinger's Academy: "basicly like killin jedis n stuff with big guns"
Add me to PSN: j3LL1b33n
eezstreet is offline   Reply With Quote
Old December 15th, 2009   #123
Worse than most terrible
 
Raz0r's Avatar
 
Join Date: September 26th, 2006
3,121 posts, 536 likes.
Rep Power: 24
Raz0r is almost as leet as RevengeRaz0r is almost as leet as RevengeRaz0r is almost as leet as RevengeRaz0r is almost as leet as RevengeRaz0r is almost as leet as RevengeRaz0r is almost as leet as RevengeRaz0r is almost as leet as RevengeRaz0r is almost as leet as RevengeRaz0r is almost as leet as RevengeRaz0r is almost as leet as Revenge
Default Re: Gunslinger's Academy

Yeah, loop through the weapons, if we have it, add it to a list and prepare the x and y coordinates.
TODO: Semi-highlight the ones we have ammo for (Or dim the ones we don't have ammo for)
Nudge our selected weapon to the right and make it fully highlighted.
This would look great with ammo indication, also a reloading/clip system.

And yeah, that pic is from ArbModding as it stands.

Last edited by Raz0r; December 15th, 2009 at 02:54 PM.
Raz0r is offline   Reply With Quote
Old December 15th, 2009   #124
Lord of the .DCC files
 
eezstreet's Avatar
 
Join Date: June 16th, 2008
Status: Available
1,527 posts, 48 likes.
Rep Power: 17
eezstreet is worthy of recognitioneezstreet is worthy of recognitioneezstreet is worthy of recognitioneezstreet is worthy of recognitioneezstreet is worthy of recognitioneezstreet is worthy of recognition
Default Re: Gunslinger's Academy

Hm.
I was just thinking of leaving the weapon system as it is.


Gunslinger's Academy: "basicly like killin jedis n stuff with big guns"
Add me to PSN: j3LL1b33n
eezstreet is offline   Reply With Quote
Old December 16th, 2009   #125
I want to be like the Admins
 
Distortedcoder's Avatar
 
Join Date: November 29th, 2009
Status: Dead
208 posts, 0 likes.
Rep Power: 0
Distortedcoder is a n00b
Default Re: Gunslinger's Academy

well to be honest i like the idea of reloading. While ppl see it as a burden it actually is very very very stratigic, you need to manage ammo and everything. Not to mention having a clip of 300 rounds to spray randomly allows you to have horrid aim, but as long as keep the bullet hail near your target, its gaurenteed kill... take the bots for example. with perfect aim on jedi master they are quite hard to kill. you will find yourself Spraying an uncontrolled, and almost uninterrupted spray of 30-50 (even more rounds depending on range) bullets non-stop to try and kill your target. Having a few seconds in between a specified ammount of bullets allows for the target to eather get away with their life (barely) or for you to get the kill insted due to better ammo management. And not to mention, some guns are really OP currently. Take the E-11 for example, with 300 rounds and an absoulutely CRAZY rate of fire i can run through a map and not stop shooting, my target has no chance. the reloading gives them not only a chance but makes the player pay attention and do this amazing thing called aim insted of relying on an unrealisticly large magizine and RoF to kill a target.


Not to mention it brings a totally new playstyle that suits the gameplay and style that Gunslingers is supposed to bring. I totally think reloading would be cool. It brings controll and strategy to the gun system.
Distortedcoder is offline   Reply With Quote
Old December 16th, 2009   #126
Sexeh like teh gizmo
 
Pande's Avatar
 
Join Date: April 9th, 2008
Status: Busy
598 posts, 5 likes.
Rep Power: 17
Pande should make some friends
Default Re: Gunslinger's Academy

Quote:
Originally Posted by eezstreet View Post
I can just open the animation in Dragon and reset all the leg positions, then redo the glamerge, I keep all my files from previous work for this reason


So let's weigh everything out, if our player is a stormtrooper:
Short Sword - 2 pounds
Bastard Sword - 5.5 pounds
Long Sword - 3 pounds
Armor: About 4 pounds (roughly)
MP5: ~1 pound
Total Weight: 15 pounds.
So you're running around with fifteen pounds of gear. Seems to me like carrying all these swords would be a heavy burden. Not to mention that you need to copy all lightsaber code twice (Which isn't that bad I suppose)


Your spoiler tags are a little funky there (they won't go ... =_=)
From what I can tell, basically what you're doing is placing all the weapons on the screen (which is Q3-like). I assume this is a pic from ArbModding?
15 pounds is a heavy burden? xD I think your averaging is flawed.. a broad sword would be like 13 pounds, mp5 like 3, armor it depends on how much. Already your at 16. xD
Pande is offline   Reply With Quote
Old December 16th, 2009   #127
I want to be like the Admins
 
Distortedcoder's Avatar
 
Join Date: November 29th, 2009
Status: Dead
208 posts, 0 likes.
Rep Power: 0
Distortedcoder is a n00b
Default Re: Gunslinger's Academy

About the weight... we dont know what kind of swords, specific length (Just because its called a short sword dont mean its short. its just not a dagger and not a longsword...) along with what material they are made of. If we are talking about futureistic swords, we might be getting into materials like titanium,and Aluminum alloys... stuff thats light, and very strong. but if we are going into dark ages swords with heavyer metals, like bronze and iron. hell we could be talking about mithril swords. so i dont think the weight estimation is too outrageous. i do think weapon management and hotkeying will be a pain if we have 3 meele weapons and 32 other guns, not to mention explosives. Gun weight, i do agree, a regular 9mm pistol weighs on average 2 pounds. so heavyer weapons will need to be heavyer. Armor is another sunbject to material and time peroid discussion...


when it comes time to make the swords and weapons i can help you with model ideas and everything seeing as ive played alot of the balders gate games, Both nwn, and Nwn2, i used to play Wow (4 and a half years, then i got bored...) Elder scrolls: Oblivion i currently have dragon age: origins, alng with Many many other games that have alot of unique and interesting swords. let me know and ill make a pic library for a reference. reason i offer is i kinda want variation so its still a sunject to personal taste in blades, as well as having the same simple, generic blade models is well... Boring IMHO.
Distortedcoder is offline   Reply With Quote
Old December 16th, 2009   #128
Fencer, Lifter, & Dancer
 
katanamaru's Avatar
 
Join Date: February 2nd, 2006
Location: Houston, Civilian again baby!
Status: Just posting
1,428 posts, 16 likes.
Rep Power: 22
katanamaru knows it's spelt 'colour'katanamaru knows it's spelt 'colour'katanamaru knows it's spelt 'colour'
Default Re: Gunslinger's Academy

I don't think the real issue for weapons is the weight, but the mass they cover on the body. Sure all three of those swords are not so heavy they can't be carried, but think of all the movement they incumber. A sword and sub machine gun on the back, a long sword on one hip and a pistol on the other, a short sword across the lower back, and ammo clips on the chest would greatly impede movement.

If you are worried about realistic(ish) movement, I'd say one melee weapon, one large gun, one small gun, and grenades.
katanamaru is offline   Reply With Quote
Old December 17th, 2009   #129
I want to be like the Admins
 
Distortedcoder's Avatar
 
Join Date: November 29th, 2009
Status: Dead
208 posts, 0 likes.
Rep Power: 0
Distortedcoder is a n00b
Default Re: Gunslinger's Academy

Very good point, i agree, movement would be akward with all that equipment on you... also i dont want it to look like its Slo-mo...
Distortedcoder is offline   Reply With Quote
Old April 26th, 2010   #130
I don't spend enough time here
 
Join Date: April 11th, 2010
Status: Available
29 posts, 0 likes.
Rep Power: 0
RevanShytu is a n00b
Default Re: Gunslinger's Academy

Is this project still being worked on? I'd like to see it eventually get finished and be released ^^
RevanShytu is offline   Reply With Quote
Reply

Bookmarks

Tags
blood, guns, gunslinger, gunslinger's academy, killing

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Beta Mod] Gunslinger's Academy - Modern War mod - V2.4B coming soon! eezstreet SW:JK3 Modding, Mapping and Editing 118 March 24th, 2013 09:25 PM
{JW}*Academy Zatch_Bell_1985 SW:JK Clan Forum 2 July 8th, 2006 08:12 PM


All times are GMT -7.







   
 





This site is part of the Defy Media Gaming network

The best serving of video game culture, since 2001. Whether you're looking for news, reviews, walkthroughs, or the biggest collection of PC gaming files on the planet, Game Front has you covered. We also make no illusions about gaming: it's supposed to be fun. Browse gaming galleries, humor lists, and honest, short-form reporting. Game on!

FileFront Forums - Terms of Service - Top
Theme Selection
Copyright © 2002-2016 Game Front. All rights reserved. Powered by vBulletin®
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
Forum Theme by Danny King (FileTrekker), Sheepeep & Graeme(rs)
RSS Feed Widget by FeedWind