Markaine Posted February 27, 2003 Share Posted February 27, 2003 What file/s is it in to enable this? Not just force.c right? I've tried looking/understanding all kinds of stuff but you know what that does.....That just leads me to find something else new to play around with...I get easily distracted when it come to force.c. Link to comment Share on other sites More sharing options...
AJL Posted February 28, 2003 Share Posted February 28, 2003 Originally posted by Markaine What file/s is it in to enable this? Not just force.c right? I've tried looking/understanding all kinds of stuff but you know what that does.....That just leads me to find something else new to play around with...I get easily distracted when it come to force.c. w_force.c If you search for this: if (!OnSameTeam(self, push_list[x]) && Q_irand(1, 10) <= randfact && canPullWeapon) You should find what you are looking for... (i think) What you should find is: 1. You can pull weapon if target is character (bot or player) and range to it is 256 or less 2. It is random stuff exept is your force level is three 3. You can't pull weapons from friends... 4. .... Link to comment Share on other sites More sharing options...
Markaine Posted February 28, 2003 Author Share Posted February 28, 2003 Yes, but also weapons lying around. I want to be able to push/pull anything and everything. also Where's the file that tells the game not to allow us to drop or loose the bryar and lightsaber? will this mess up something if its changed? Link to comment Share on other sites More sharing options...
Markaine Posted March 1, 2003 Author Share Posted March 1, 2003 We can push\pull items right? Well how could we do the same for weapons? Am I missing something here? Link to comment Share on other sites More sharing options...
AJL Posted March 1, 2003 Share Posted March 1, 2003 Originally posted by Markaine Yes, but also weapons lying around. I want to be able to push/pull anything and everything. also Where's the file that tells the game not to allow us to drop or loose the bryar and lightsaber? will this mess up something if its changed? We can push\pull items right? Well how could we do the same for weapons? Am I missing something here? I think it should be possible to make it possible to pull weapons also when they are lying around but how... (that "may" be a bit more difficult thing to do... or it may be very easy if you find the code...) And about being able to pull also... g_combat.c --> void TossClientWeapon There you can see: if (weapon <= WP_BRYAR_PISTOL) { //can't have this return; } this means that you can't pull bryar and weapons which number is less than bryars... (Saber and Stunbaton) But if you change this it may cause that player can be without weapon at all (which to my knowledge is not possible...) and/ or you could mess up base weapon setup and/or, ... I say changing this may and most likely will cause problems... And i mean SERIOUS problems ! Exept if you are absolutely sure what you are doing... Link to comment Share on other sites More sharing options...
Markaine Posted March 1, 2003 Author Share Posted March 1, 2003 I think it looks pretty Dangerous too... I wanted to be able to drop my lightsabre somewhere and leave it there for as long as i wanted. (All the rpg maps and stuff) Also to finish my force lightning project. If you get electricuted long enough, you'll drop your light saber or whatever you're holding... All I really need now is making weapons pullable like items... Thanx Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.