Jump to content

Nikomaru14

Members
  • Posts

    43
  • Joined

  • Last visited

Everything posted by Nikomaru14

  1. This tutorial lists many commonly known and used commands and cheats for Jedi Academy and Outcast. This will be split into most commonly used commands and cheats in singleplayer and multiplayer of Jedi Academy. Many of these will work between Jedi Outcast and Academy but definitely not all. The best experience to use NPC spawning and playing as characters is Academy. Many of the ones listed in single player will work in multiple but many are different. TABLE OF CONTENTS Single player Most common Player and NPCs Force and Weapons Camera and visuals Multiplayer Single player commands and cheats Most common To enter these commands, you must first open the console with they key combination SHIFT + ~ In OpenJK and anything based off of it like EternalJK, you can simple use the ~ key. Enable dismemberment (SP and MP) Set a custom resolution Binding keys to commands helpusobi 1 - this enables cheats while you're already in a map; needed for most commands on this top list god - player can't die (invincibility) undying - gives player 999 health notarget - player can't be seen (invisibility) noclip - allows player to move through walls or anything and go anywhere (useful for debugging or moving across a large map quickly) iknowkungfu - enables melee mode fighting with combos; try doing ATTACK + ALT ATTACK and a direction key like W or S to do different combos cvarlist - shows an entire list of cvars available (command variables like ones in this list) cmdlist - shows an entire list of commands available (though they won't include command extensions like "screenshot silent" dir - show a directory's contents in the assets; useful for finding a skin name (example: dir models/players/cultist) disconnect - exits the game to the menu quit - closes the entire game Player and NPCs g_spskill 0-4 - changes difficulty, 0 is Padawan playerteam - changes your team so that you are against certain NPC's (options: player, enemy, neutral, free) playertint R G B - replace R G B with numbers between 0-255 for red, green, blue for models that support RGB color tinting. playermodel - change your character into an NPC; see list below for options; this will not apply to cutscenes however, use this guide to do that npc spawn - spawn specific NPC from the list below (same list as playermodel) npc kill - kills an NPC that you named. Use all to kill all NPCs on a map; type a name when spawning like: npc spawn kyle KyleKatarn; then you can kill just him by doing npc kill KyleKatarn sabercolor - changes your lightsaber color for the specified saber, either 1 or 2; colors are: red, orange, yellow, green, blue, and purple. If you want a double-bladed saber to be two different colors, type, sabercolor 1 color color saber - sets your lightsaber to a specified hilt listed below. Type a second saber to have two: saber kyle luke devmap - sends you to a specified map with cheats enabled (required for MP); see list below map - sends you to a specified map; see list below Force and weapons setforceall 1-4 - sets your Force power level to specified number (setforceall 3 maxes out everything, some powers have hidden 4th levels like mind trick) - in base JKA this will cause a bug that gets your saber style stuck, OpenJK fixes that - you can set power manually to avoid it with the below commands setsaberthrow 0-3 - sets your lightsaber throwing level setsaberoffense 0-7 - sets your lightsaber offense level setsaberdefense 0-3 - sets your lightsaber defense level addsaberstyle SS_STYLE - adds a specified saber stance, options below SS_FAST SS_MEDIUM SS_STRONG SS_DESANN SS_TAVION SS_DUAL SS_STAFF setforcejump 0-3 - sets your Force jump height setforceheal 0-3 - sets your Force healing level setforcepush 0-3 - sets your Force push power setforcepull 0-3 - sets your Force pulling power setforcespeed 0-3 - sets your Force speed level setforcegrip 0-3 - sets your Force grip power setforcelightning 0-3 - sets your Force lightning level setmindtrick 0-4 - sets your Jedi mind trick level (4 allows you to control NPC's for a brief period of time by using mind trick) setforceprotect 0-3 - sets your Force protection level setforcedrain 0-3 - sets your Force draining power setforceabsorb 0-3 - sets your Force absorbing power setforcerage 0-3 - sets your Force rage power setsaberall 1-7 - gives you all saber styles addsaberstyle - adds specified lightsaber style (options: fast, medium, strong, desann, tavion, dual, and staff) give - gives specified items to the player (example: give all) (see list) spawn - spawn specified item from list below Camera and visual screenshot - takes a screenshot and saves it in GameData/base/screenshots folder screenshot silent - takes a screenshot without displaying the command in the top left or the console (best for when bound to a key) screenshot_tga - takes a higher quality screenshot in basejka; still compatible with the silent variable screenshot_png - takes a higher quality screenshot in OpenJK only, same as the TGA one but in a more universal image format; still compatible with the silent variable pano - takes screenshots in a full circle (panorama); use a number to name the prefix of your shots. Simply use 1 to keep it simple. If you take multiple in one session, use different numbers for each. panonumshots 1-50+ - Sets the number of camera shots for the "pano 1" code, the more the shots, the more you see. Note that you cannot do anything when the "pano 1" code is active. You can do an infinite number of shots, but 50 is a full 360. cg_draw2d 0-1 - enable or disable the HUD and crosshair and all other 2D elements from the screen (good for screenshots) cg_drawHUD 0-1 - enable or disable the HUD only (crosshair and other items still show) cg_fov 1-999 - changes the FOV (Field of View); recommended set to 90 or above cg_thirdpersoncameradamp 0 - cinematic mode; camera changes only when you disappear from sight. cg_thirdpersonrange - Changes the camera distance in third person view. cg_thirdpersonangle - move the camera around the player; set to 180 to show from the front cg_thirdpersonvertoffset - moves the camera vertically, set to -10 for a lower set camera cg_thirdpersonhorizoffset - moves the camera horizontally cam_disable - exits the currently playing cutscene, letting you move around while it's still going cam_enable - enters the currently playing cutscene if you disabled it, otherwise will just enable the nearest camera until disabled g_speed 0-999 - changes only the player's speed timescale .001-9999 - changes the speed of the entire game g_gravity 0-9999 - changes the gravity in the game; obviously 0 is zero-gravity like space g_corpseremovaltime 0-99999 - sets the time it takes for dead bodies to disappear; 0 is never g_subtitles 0-2 - enables subtitles, 0 is off, 1 is all subtitles, 2 is cutscenes only g_knockback - increases knockback of NPCs and player on hit, 1000 is default r_dynamicglow 1 - enables a more realistic glow for lightsabers; usually found in the menu, sometimes it doesn't show r_dynamicglowintensity - changes the intensity of the saber glow r_dynamicglowwidth - changes the width of the saber glow; requires vid_restart r_we - change the weather to one in the list below Multiplayer commands and cheats Enabling various recommended settings Private Chat (Whisper) Saving and restoring binds and configurations Using color in your name and chats VSTRs and their uses name - changes your name set name - allows for more characters in your name say - puts whatever comes after in the chat from you (say Hello world!) say_team - same as above but for just your team (red, blue, or spectator) tell - also known as "whisper" - allows you to chat with a specific person privately (any admins logged into rcon can see too); use serverstatus to see player's ID number and use the number (tell 1 Hello) serverstatus - see all players and rulesets on the server condump - dumps the whole console into a text file in your base folder (useful for long chats you want to save) writeconfig - writes your current configuration and binds to a text with a specified name (writeconfig myconfig); can be made manually with Notepad with renamed .txt to .cfg file extension if you want to only have a couple commands in one like a name and model change exec - loads the saved config you specified above (exec myconfig) cg_hudfiles 1 - sets your HUD to show in simple numbers, which can be helpful in duels and competitions; default is 0 cg_hudcolors 1 - sets the above HUD to show colors according to saber style and force amount cg_drawcrosshair 1-9 - sets a different crosshair; there are also negative number ones cg_crosshairsize - changes the size of the crosshair; set the above to 3 and the size to 4 and you'll have a small minimal crosshair instead of the bulky default one model - change your player to another character. The list in the SP section can be used, but not all will work the same. These are directly related to .skin files in model folders; press TAB to make your changes apply on your end char_color_red 0-255 - set number for red for models that support RGB color tinting. (Hint: for black, set all 3 of these to 40) char_color_green 0-255 - set number for green for models that support RGB color tinting. (Hint: for black, set all 3 of these to 40) char_color_blue 0-255 - set number for blue for models that support RGB color tinting. (Hint: for black, set all 3 of these to 40) saber1 - change your lightsaber after respawning (use kill if needed right away); use list in SP section saber2 - same as above but for dual wielding color1 - change your lightsaber color; use color2 for the second saber Ping and FPS commands cg_logometer 0-1 - shows a graphical representation of your lag on the HUD; some mods like EternalJK have 2 and 3 modes to show ping and others rate - use 25000 as optimal setting for modern average internet; use lower than 25000 if you have bad net snaps - set to 40; most servers use sv_fps 30 and snaps needs to be 30 or higher to take full advantage of this cl_timenudge - compensates for lag and will make your ping feel lower at the expense of choppy enemies. Values are always in the negatives, with 0 (off) being the default. Experiment with this setting depending on your ping/connection. -20 is a good setting for a 60-70 ping, -30 for 100 ping, etc. If the enemies are too choppy for you, keep this at 0. cl_maxpackets - generally you'll want this at 100; if you're struggling for a decent ping, you might want to try 30 - 50 com_maxfps - Set to 120 for optimal play; this caps your framerate; strange physics algorithm in the q3 engine makes it so your characters will have the best possible movement/gravity at a constant 120fps; strafe jumps, for example, go the longest and highest when fps is capped at this magic number. The default value is 85. cg_drawfps 1 - displays your FPS in the top right in real time r_fastsky 1 - only use this if you need some more FPS or just want a black sky cg_drawtimer 1 - show the amount of time the map has been running Emotes meditate gloat flourish bow taunt Demos record - records a demo (not a video); use with name of demo file you want (record example) g_synchronousclients 1 - must be set to 1 to record demos stoprecord - stops recording the demo; play demos in the main menu RCON & Host Commands A full guide to RCON commands Enabling dismemberment You can change a lot of the g_ commands found in this list when logged in as RCON on your own server. Cheats may need to be enabled for some commands however. To enable cheats in multiplayer, you have to use rcon devmap [map name] or use a mod that allows cheats to be enabled via command. Sources to check out: Original list of all commands and cheats FPS/ping guide from TJA
  2. Yes definitely! Actually I thought I had one before at some point, but it must have got lost in my files somewhere o.0 I'll include it when I update this file which should be in the next couple days or so. It might be a good idea to click the "follow this file" button under download so it notifies you when I post the update, at least I think that's how it works.
  3. Ok so how the animation scripts work, I call them animations but most of them are just static stances for the npc to pose and stay in (for example a bunch of different ways to sit, stand, lay, on their knees, etc), but I do have several that are real animations like you mention typing on a terminal, getting force choked, dancing etc. How those work is they loop indefinitely until you run the script stop_anim, which then returns them to their normal standing position. I'm still finishing up some of the scripts like I'm trying to make an idle talking animation that looks natural and may attempt to make another dance sequence. But you'll probably see them up here this weekend or next.
  4. I believe the only HK model I've seen is ported and it has a problem where it holds its gun crooked and is not accurate because of that. The HK in Jeff's pack is the same model.
  5. Both are such beloved droids in the star wars universe and its a shame no one's made a model of them yet.
  6. Thank you! I don't think there is any way to give a lightsaber to a npc that doesn't have one through scripts. The only way to take away one would be by using my script no_weapon on them. Give force all would be possible, I will add it when I update this mod after I figure out how to fix no_force.
  7. 312 downloads

    These are floating lightsabers like in the final battle in Kotor 2. It's kinda like a jedi or sith is levitating them and using them to fight. These can only be damaged by attacking near the hilt. ------------------------------------- -To install, simply put the niko_flsaber.pk3 in your Gamedata/base folder. -To spawn them in singlplayer, type "npc spawn flsaber1" in the console. Contains 3 different npcs: flsaber1 - weak, can float up in air flsaber2 - more powerful, stays on ground flsaber_good - like 2 but on player team BUG: There is a bug where sometimes when you spawn them, there is a small chance that it spawns a "stumpy", really short, saber instead that does no damage. Sorry for this but I think it has to do with the model, which I don't know how to fix. Just kill any stumpy sabers before you fight them.
  8. As far as I know, those npc classes work fine. All you need to do is make a new npc with the class CLASS_ROCKETTROOPER or CLASS_SABOTEUR and they will use those abilities. Plus you can use this mod to make boba fett class npcs killable.
×
×
  • Create New...