DeathPhantom Posted January 6, 2003 Share Posted January 6, 2003 my topic is basicly my question....how do u limit the jetpack to a player class or to a player model? Link to comment Share on other sites More sharing options...
Wudan Posted January 6, 2003 Share Posted January 6, 2003 The short answer, is in code: Well, I'd limit it in bg_pmove.c in PMove_Single - where it has the JetPack_Move check, just "if" it to check the players model/class, then leave a blank or no "else" I apologize if your question wasn't about coding, I can't tell. Link to comment Share on other sites More sharing options...
DeathPhantom Posted January 29, 2003 Author Share Posted January 29, 2003 that doesn't work it just says syntax error "if" can u please give me an example Link to comment Share on other sites More sharing options...
Wudan Posted January 29, 2003 Share Posted January 29, 2003 I don't quite recall how the Jetpack is set up - you are using Eternal's, right? I made my own >( I remember looking at it when I became frustrated with mine, they both work pretty much the same, only he (very wisely) sets some flags on the player, so they'll act normally, with one bonus - they can jetpack to and fro. Link to comment Share on other sites More sharing options...
DeathPhantom Posted January 29, 2003 Author Share Posted January 29, 2003 this is off the subject, but how do i edit my account... u know add pics and make my letters blue. Link to comment Share on other sites More sharing options...
Psyk0Sith Posted January 29, 2003 Share Posted January 29, 2003 Look at the top of the page to edit your profile...there's a button click on it... For the glowing letters, go to the Lucas Forum store press this buttonand you should see it. I paid 300 credits for mine and now they changed the price to 50! what a scam! Link to comment Share on other sites More sharing options...
DeathPhantom Posted January 29, 2003 Author Share Posted January 29, 2003 how do u earn points? oh and back to topic, anyone knw how to make eternals jetpack for a certain class only? Link to comment Share on other sites More sharing options...
Azymn Posted January 29, 2003 Share Posted January 29, 2003 Just don't let them even turn it on if they're not the right model/class. Then you don't have to check anywhere else. Link to comment Share on other sites More sharing options...
Wudan Posted January 29, 2003 Share Posted January 29, 2003 Do you have classes in your mod? Or are you limiting it to player models? Link to comment Share on other sites More sharing options...
DeathPhantom Posted January 29, 2003 Author Share Posted January 29, 2003 i think i tried doing that, but where exactly should i start the code?and is this the right thing? if ((PCLASS_NOJETPACK)) Com_printf(" u can't use jetpack\n") else ((PCLASS_JETPACK)) Link to comment Share on other sites More sharing options...
DeathPhantom Posted January 29, 2003 Author Share Posted January 29, 2003 i've got classes Link to comment Share on other sites More sharing options...
Commodus Posted January 31, 2003 Share Posted January 31, 2003 err where are you storing the player's class? You can't say "if (PCLASS_NOJETPACK) ..." coz that will always evaluate to true (unless PCLASS_NOJETPACK is the first enumerator in the player class enumerator list), even if the player is allowed to have a jetpack. Link to comment Share on other sites More sharing options...
AJL Posted January 31, 2003 Share Posted January 31, 2003 Which mod have jetpack ?? What is it a like ?? (how does it work ??) You press some button and you fly up and thats all... or ? Link to comment Share on other sites More sharing options...
razorace Posted January 31, 2003 Share Posted January 31, 2003 Originally posted by AJL Which mod have jetpack ?? What is it a like ?? (how does it work ??) You press some button and you fly up and thats all... or ? Well, the popular one basically just turns on fly mode for the player and makes flames shoot out of their back. Link to comment Share on other sites More sharing options...
Darth NeoVenom Posted January 31, 2003 Share Posted January 31, 2003 I know that OmniMOD v1.5/ JediPLUS v6.0 has jetpack. All you do is set a key in configuration for the Jetpack. I'm not certain about the command to set it on for a specific class but I read on the cvars.txt file (I think of JediPLUS v4.3) and they said that if u set "mod_jetpack 1", that means that only Fetts and mercanaries can use the jetpack, or it may be that "mod_jetpack 2" sets it for Fetts and mercanaries, I don't know. Usually it will say on the cvars.txt file how to do it. Basically, you press the button once to turn on the jetpack, you will also notice smoke coming out of their jetpack (when using a Fetts) For none Fetts, it comes out of their back (kinda funny, haha ). Movement is basically jump to moves you up...crouch to moves you down. To turn it off, you just press the button again. There is no gauge to tell you how much fuel is left, but the jetpack only last for a few seconds (I think 30 seconds or maybe more...if you stay up in the air for that long). Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.