C++ Script Folder? -1 reply

  • 1
  • 2

Please wait...

XavantTheEnigma

My explanation? Hacks.

50 XP

10th January 2008

0 Uploads

166 Posts

0 Threads

#1 10 years ago

Well, just looking at Stalax, it reminds me about certain things. Does JK3 so far, have a mod where you can put scripts into JK3 without needing to compile it into a different mod?

I mean, It would need a mod, but... like you just put C++ scripts into a certain folder and it would work. Jedi Academy SDK's seem inevitable too but still lol.

I'm picturing that a mod like this and people would share there scripts to customize their JK3 server... like plugins or somthing. I'm trying to learn C++, still a novice, but learnin it lol. I couldn't scan JK3 files for a C++ Script Folder mod, cause the advanced search wont let me put '+''s in there.




Mikouen VIP Member

What?

145,650 XP

4th September 2005

4 Uploads

11,732 Posts

2 Threads

#2 10 years ago

Given that JA isn't coded in C++, you're probably wasting your time.

However, there's no script folder, plugins, or anything like that. You have to compile your code, which produces a DLL file. Only then is it of any use.

For the record, JA is coded in C, but I wouldn't bother learning that now, since that language has almost become obsolete so it'd be a complete waste of your time and effort, especially if you intended to put your newly-learned programming skills to use by getting a job in the game or software industries.


I don't know how, and I don't know why, but this is totally Sheep's fault.



XavantTheEnigma

My explanation? Hacks.

50 XP

10th January 2008

0 Uploads

166 Posts

0 Threads

#3 10 years ago

Hmm... I thought C and C++ were compatible using latest frameworks. :o Or then again... C functions and so fourth... >_>




Mikouen VIP Member

What?

145,650 XP

4th September 2005

4 Uploads

11,732 Posts

2 Threads

#4 10 years ago

Not as far as I know. iD Software's programmers had to rewrite the iD Tech 4 engine from scratch after the decision was made to switch from the C language used for iD Tech 3 to C++. iD Tech 4 does contain some iD Tech 3 code, but it had to be rewritten from scratch, so my guess is that the two aren't compatible.


I don't know how, and I don't know why, but this is totally Sheep's fault.



[LA]-Silver

I'm too cool to Post

50 XP

7th September 2003

0 Uploads

670 Posts

0 Threads

#5 10 years ago

They are to a certain extent. Learning C isn't a waste of time at all. It's the basics and more hardcore coding, learning C++ after C will be much easier but off course, it's not nessecary. It's not a waste of time though mind you.




Bluestormtrooper

>You

50 XP

14th March 2005

0 Uploads

1,752 Posts

0 Threads

#6 10 years ago

C and C++ are extremely similar. And it is still used regularlly. If your one of those guys who think the world is moving to Java, its going to take a lot more then stupid web apps to convice me.




Mikouen VIP Member

What?

145,650 XP

4th September 2005

4 Uploads

11,732 Posts

2 Threads

#7 10 years ago

The day the world moves to Java is the day I cut my modem cables. -_-'


I don't know how, and I don't know why, but this is totally Sheep's fault.



Deathspike

Freelance Programmer

50 XP

2nd May 2004

0 Uploads

129 Posts

0 Threads

#8 10 years ago
Renamon!;4237620I'm picturing that a mod like this and people would share there scripts to customize their JK3 server... like plugins or somthing.

There is a way. At least, so far i have it working on Windows PC's. I'm able to load multiple mods that are designed to be used as Plugin, as well as one "core" mod that was compiled with the SDK. Think of adding things such as an admin system, able to interact with existing user data. I haven't worked out a way to intercept SDK-specific functions, such as alteration of damages.

Its a work in progress, to say the least. If you're new to coding it probably won't help you much (because it goes to the entry level of coding, think system calls and game calls to each module), but if you're interested feel free to contact me. I'll attempt to work out a similar solution for Linux based servers, however this will take a while before i even manage to get Linux.

Basically you have to apply the system calls to your own, then route them to each Plugin after which you send it to the "core" module, and tada. You got yourself a working Plugin sytem. For me, there is no viable way to interpret a script of any form. Actually compiling separate Plugins should be the way to go.




Guest

I didn't make it!

0 XP

 
#9 10 years ago
Kouen;4237630For the record, JA is coded in C, but I wouldn't bother learning that now, since that language has almost become obsolete so it'd be a complete waste of your time and effort, especially if you intended to put your newly-learned programming skills to use by getting a job in the game or software industries.

C is still one of the most used languages... it's not a waste of time learning it. Actually I say it's essencial for any programmer to learn it




Mikouen VIP Member

What?

145,650 XP

4th September 2005

4 Uploads

11,732 Posts

2 Threads

#10 10 years ago

I guess it's really a matter of perspective.

What with the majority of industry giants looking for C++ on the skills list, and thus more and more game engines phasing into C++, I just think you'd be better off focusing on the skills you'll be more able to utilise.

C is only really the "most used" if you count new software releases built on old engines, game or otherwise. As far as new engines and from-scratch applications go, C++ is eight times out of ten the language of choice, thus you'll have more chances to utilise your skills and they'll be more practical.

But, it's a moot point, really, because in the end it does come down to personal preference. Some will only want to modify old games based on game engines which are in almost all aspects obsolete, whereas others will want their projects to benefit from all this new technology we're getting.

Bottom line, the whole debate is "Old School vs New School", thus is impossible for either side to win, and thus I concur, it should probably be dropped.


I don't know how, and I don't know why, but this is totally Sheep's fault.



  • 1
  • 2