Jump to content

Im Lost here


Arthor

Recommended Posts

Hey i am totally new to these things and i got openjk however i do not think that my changes in the openjk-master did any changes so for example i tried editing a code npc spawn thing with adding the class mandalorian making it killable then i started the game but nothing happened  so is it one step i am missing or doing wrong im not sure i feel like an idiot 

Link to comment

Hey i am totally new to these things and i got openjk however i do not think that my changes in the openjk-master did any changes so for example i tried editing a code npc spawn thing with adding the class mandalorian making it killable then i started the game but nothing happened  so is it one step i am missing or doing wrong im not sure i feel like an idiot 

It's kind of hard to say what you're doing wrong when you haven't even shown us what you've done :)

Arthor likes this
Link to comment

Yeah sorry its a bit vague question i can i will try to rephrase myself 

 

When i make a change in the Openjk-master folder does the game recognize the change directly or is something more that need to be done before it can be read by the game ?

Link to comment

When you modify the source code, you're just doing that. In order to apply the changes to your game, you will need to compile/build the source code into an executable (EXE/app).

 

Follow these instructions to compile/build your customised source:

https://github.com/JACoders/OpenJK/wiki/Compilation-guide

 

When you are done compiling, you will find your built files in the "build" folder. You will need to copy/move these files to the appropriate location in your installed game directory. Most of them go into "GameData" (just above "base").

Link to comment

The instructions on that page say what to do:

 

  1. Open CMake GUI
  2. In the "Where is the source code" text box, enter the path to the OpenJK source code.
  3. Copy and paste the path into the "Where to build the binaries" text box, and add /build at the end of the path.

 

A word of advice though. Coding isn't anything like editing a script and watching it work. You need at least some knowledge of programming before you should even attempt to edit the JKA code, otherwise you're just in for a world of pain and headaches. You might get lucky and have something working, but then 3 weeks later it might crash and you won't have the faintest clue how to fix it.

NumberWan likes this
Link to comment
  • 2 weeks later...

Yeah i know i just do minimal changes at a time to see if it works like max_data npc things you know to get more npcs in game think it would be fun

 

OffTopic, does OpenJK Support 64 players or is that JKGalaxies?

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...