PDA

View Full Version : A few things that need clarifying....



PwN Lone
May 27th, 2009, 11:16 AM
Well, I basically made this thread as I need to know what the engine can and cannot do in relation to my ideas.

Here are the ideas:

1): Having multiple permutations and having control over what players are different permutations. For example, have 16 players, 4 as the standard permutation (Spartan) and the other 12 as other 'select' permutations. (I know you can change permutation via script but I need to know if I can change the permutation of certain players. Also, if this cannot be done, can a server side app be built to make it work?. I'm also aware that I'll need to make sure each permutation has the same nodes as the original)

2)Being able to use trigger volumes as control points. And be able to make it so only a certain team can capture it.


These are the main things that I need to if they are possible, the rest are not needed.

Any help would be appreciated.

Kornman00
May 27th, 2009, 11:48 AM
Well, by default you can't do #1. However with Open Sauce, you could fairly easily add it to the engine. #2 could be done with a script, however it would be more of a hack job than using an existing feature in the engine (ie, king of the hill's hill points).

The ideas are pretty cool, I would like to see the engine have it one day maybe

PwN Lone
May 27th, 2009, 12:30 PM
What exactly would need to be changed in OS to allow me to make said changes?

And for #2, I didn't think about using KoTH, we were going to use CTF as its an objective based game, which is what the gametype will be.

The problem with using KoTH though is that the script is made in such a way that once the trigger volume is activated, it sleeps for say, 30 seconds, simulating it being taken over. Then it opens a door once the trigger volume has been activated. Problem with this, all it takes is one person to leg it past every player and activate each CP. I need to know how to de-activate the script for opening the door if the player is not present.

I was considering making a script that checks every second if there is a player present in the trigger volume, and if there isn't, then it resets the script for opening the door.

Kornman00
May 27th, 2009, 01:55 PM
You wouldn't exactly be changing OS, but more so adding to it. Hold on.

If I understand what you're trying to do, it would probably just be better to re-arrange your script logic if you can. That is, you still sleep after one team enters the zone, then after re-awakening, you then check if that team is still in the zone before the door is suppose to open. That way you're not checking every game tick, consuming more CPU than needed.

I'm looking into some OS-HEK additions which will benefit mods and their scripters, including yours if you choose to the OS route. For now though I can only ask that you hold on for the details as I don't want to promise anything just yet.

Dwood
May 27th, 2009, 02:22 PM
The first one would have to be a hack-job unless we get someone who has C++ experience to add on to Open sauce, Java won't cut it for Open Sauce. xD

I know how we can do the second for sure now. Get on Xfire if you see this.

Inferno
May 27th, 2009, 02:32 PM
Tried with xfire closed but it still crashes during/after the load.

Hacked strings DLL and I had problems with updating so I may be using half 1.08 and half 1.00 files.

PwN Lone
May 27th, 2009, 05:27 PM
Tried with xfire closed but it still crashes during/after the load.

Hacked strings DLL and I had problems with updating so I may be using half 1.08 and half 1.00 files.


Wrong thread maybe?

E1:


You wouldn't exactly be changing OS, but more so adding to it. Hold on.

If I understand what you're trying to do, it would probably just be better to re-arrange your script logic if you can. That is, you still sleep after one team enters the zone, then after re-awakening, you then check if that team is still in the zone before the door is suppose to open. That way you're not checking every game tick, consuming more CPU than needed.

I'm looking into some OS-HEK additions which will benefit mods and their scripters, including yours if you choose to the OS route. For now though I can only ask that you hold on for the details as I don't want to promise anything just yet.


Ok, the project is still quite a while from completion anyway.

Well, the problem I can see already is differentiating between teams via scripts. Is this even possible?

Dwood
May 28th, 2009, 11:28 AM
Ok, the project is still quite a while from completion anyway.

Well, the problem I can see already is differentiating between teams via scripts. Is this even possible?

Yes, it is, it's just..... easier if someone added more functionality to hscript thru Open Sauce. I have how we do it, too.

I think the bigger problem we have Lone, is the problem with telling the other computers that a door is opening.

Dwood
May 30th, 2009, 11:43 PM
I know this is a double post but pWn Check your pms