PDA

View Full Version : All the icarus scripts edited for coop and compiled


Vruki Salet
08-29-2006, 11:45 AM
Razor you didn't come back and say whether to do this or not, but I just assumed the instructions in OJP_Coop.txt were still valid.

This pk3 has all the .IBI files from the game, compiled from .icarus scripts edited like that file said with camera commands changed to set commands.

http://www.taddia.com/vruki/zzz_MPCoopEditedIcarusScripts.pk3

My domain name (taddia.com) runs out in september sometime and I think I won't be able to renew it right away, so if that link doesn't work ask me for the IP address and get you a new link or send the file directly to you.

razorace
08-29-2006, 06:30 PM
Sweet, I'll download it as soon as I can then. Thanks for working on this. :)

Vruki Salet
08-29-2006, 07:56 PM
NP. Getting coop to work all the way would be great. What else needs to be done for it?

razorace
08-29-2006, 08:04 PM
Well, you can check the to-do list (ojp_suggestions.txt) on the repository or the ojp_coop.txt, which includes a list of known CoOp bugs.

In addition, if you want to do the heavier stuff, there's always more NPC AI code that needs to be ported from SP.

razorace
08-29-2006, 08:07 PM
BTW, I'd appreciate the original source files for the scripts as well, in case we need to alter them in the future.

Also, did all these scripts need camera corrections or did you package them whole hog? I'd rather just have the altered ones if possible since size is at a premeim inside the distros. :)

ensiform
08-29-2006, 08:16 PM
You also need to figure out how to make more weapons work, shouldn't be too hard because you can add more weapons, just as long as you do not let clients have more than basejka.

Vruki Salet
08-29-2006, 09:50 PM
OK here you go, the edited sources and compiled edited sources:

http://www.taddia.com/vruki/coop_icarus.zip

Vruki Salet
08-29-2006, 09:53 PM
You also need to figure out how to make more weapons work, shouldn't be too hard because you can add more weapons, just as long as you do not let clients have more than basejka.

How's that Ensiform? What doesn't work and do you have any suggestions?

ensiform
08-30-2006, 12:07 AM
You cannot have more than 19 weapons because you will overflow your weapons bit and ammo bit if you have ammo more than 19 ammo types at a time too.

what i would do also, is not add them to the weapon struct but declare each with a define, starting with WP_NUM_WEAPONS+1 just because clients really can only use the MP weapons anyway...

razorace
08-30-2006, 02:09 PM
It would probably be easier to just modify the clients to allow more weapons, since making the weapon appear on NPCs on the clientside would be tricky.

ensiform
08-30-2006, 06:51 PM
How so? And you cannot make clients have more because it will overflow if you change MAX_WEAPONS that value is part of msg.c which you cannot change without the engine bitching at you. Take a look at www.etfgame.com for instance, it is ET but it is the Q3 codebase and it has many many more than 16 weapons that Q3 allows. What it does is only gives each class the weapon they are supposed to have and give weapons does not work do anything or give weaponnum/<name> so it is definately possible.

Darth Cariss
08-31-2006, 03:52 AM
You can still replace old useless weapons, like the Bryar Pistol and the Stun Baton. That's what MB did, it replaced the Stun Baton with a Projectile Rifle. :P

razorace
08-31-2006, 04:53 PM
How so? And you cannot make clients have more because it will overflow if you change MAX_WEAPONS that value is part of msg.c which you cannot change without the engine bitching at you. Take a look at www.etfgame.com for instance, it is ET but it is the Q3 codebase and it has many many more than 16 weapons that Q3 allows. What it does is only gives each class the weapon they are supposed to have and give weapons does not work do anything or give weaponnum/<name> so it is definately possible.
There are some special, JKA specific files in the ext_data folder that allows us to change the size of the variables sent in the entityState_t and playerState_t. I suppose you could link the weapons to specific npc classes, but that would still require client code modifications.

Eggman Dr
09-16-2006, 11:05 PM
Sorry for bumping a weeks old topic, but do these scripts work with the current releases of OJP or not? Cause I want to play the singleplayer levels in Co-Op as Cube Man with a bunch of other Cube Men, but be slightly more functional than right now. And if the scripts do work with currently released versions of OJP, will it work with both Basic and Enhanced or just one of them?

razorace
09-16-2006, 11:45 PM
This will be in Basic. However, I still haven't received the original .txt source files for the scripts so they haven't been intergrated yet.

Eggman Dr
09-16-2006, 11:56 PM
I mean the standalone pk3 she posted, as in, will it work if I place it in my current OJP folder?

ensiform
09-17-2006, 12:12 AM
There are some special, JKA specific files in the ext_data folder that allows us to change the size of the variables sent in the entityState_t and playerState_t. I suppose you could link the weapons to specific npc classes, but that would still require client code modifications.

at least it would work by linking them even if it takes a lot of work.

this doesnt allow you to change the size of specific stat defines they are always either what the #define says or 32 for weapons, check bg_public.h it says:

//MAKE SURE STAT_WEAPONS REMAINS 4!!!!
//There is a hardcoded reference in msg.cpp to send it in 32 bits -rww
STAT_WEAPONS = 4,

not sure if it is true or not for mp but yeah.

razorace
09-17-2006, 12:28 AM
The bg_public.h is out of date in terms of that statement, which was originally write for JK2. The ext_data allows the changing of individual data slots sizes as long as they're defined in that file.

ensiform
09-17-2006, 12:35 AM
i hope you know that even those files are out of date as things were changed from 1.0 and the fact that it still wont let you edit a specific part of the stats variable, let alone the fact that stats doesn't even exist in the psf_overrides.txt file, nor is ammo.

Vruki Salet
09-17-2006, 12:43 AM
I still haven't received the original .txt source files for the scripts

What? You haven't? I thought I made them available to you a long time ago.

Isn't this stuff what you want?:

http://www.taddia.com/vruki/coop_icarus.zip

razorace
09-17-2006, 01:15 AM
I must have recieved a different file. The one I had only had the compiled scripts.

However, I do have an additional question. It looks like you converted the scripts whole hog. Was there a reason for that? Not all of the scripts have camera commands to convert in the first place.

Also, could you please PM your IM contact information? I seem to have lost it. Thanks!

Vruki Salet
09-17-2006, 01:33 AM
Whole hog? That zip file only included the ones that had cam cmds to be edited. No others are included. Look for a REM that says "former CAMERA_COMMANDS cmd follows" and you'll see that it's in every one of the .icaruses there, and you should also notice that there are only 223 .icarus files there while in the original game there are I think 1510.

I have also only included those 223 .ibi files. This is in accordance with what you asked earlier.

No need to PM you can aim me at vsalet. Right now I plan to be here for about 10 minutes. (It is now 1:34am US Eastern time)

razorace
09-17-2006, 02:18 AM
Oh. I misunderstood what you'd done. I'll add these scripts ASAP then. :)

Eggman Dr
09-17-2006, 02:44 AM
Will anyone answer my previous question? I posted a clarification of what I was really asking.

razorace
09-17-2006, 02:49 AM
Oh, sorry. Yes, it should work if you just place it in the current OJP folder as a .pk3.