EvanStreblow Posted November 21, 2021 Share Posted November 21, 2021 Hello! I am extremely new to making custom singleplayer maps in GTKRadiant for Jedi Academy. So excuse me if this is really easy, but I can't seem to find anything online about how you would do this. Basically, I am messing around creating a test singleplayer map and I want to automatically run a few cheat codes (or do the equivalent) right when the map loads up and is ready to play. Here is what I want: setforceall 1 playermodel stormtrooper playerteam enemy So the player starts out as a stormtrooper, with a few force powers (instead of the default none) and on the enemy's team. Does anyone know how I would do that? (Or edit these stats for the map in GTKRadiant?) Thanks! Link to comment
mrwonko Posted November 24, 2021 Share Posted November 24, 2021 You can give the info_player_start a spawnscript, and use BehavED from the SDK to write a script that changes the player's team and force powers, but I'm not so sure about the player model. It can be changed via script, but I think the model breaks when reloading the game? If I remember correctly, using console commands is the more reliable way to change the player model. The only officially supported way of executing console commands that I'm aware of is through menus. So you could modify the "New Game" menu to load your map and set the player model instead of showing the character creation screen. Link to comment
EvanStreblow Posted November 28, 2021 Author Share Posted November 28, 2021 Thanks for the help! I'll have to try that. Link to comment
MagSul Posted November 28, 2021 Share Posted November 28, 2021 A lot of the questions you're bound to have are answered in this tutorial, which I can't recommend highly enough as it started me on the path to a similar project. I'm looking forward to seeing what you put together! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now