View Full Version : Wherabouts of OLD cog
Valcien
06-12-2005, 04:28 AM
It was in Warlords, a long past JK mod. Or wait... There was another one.. Mabey it was that one... Can't remember it's name. Anyway, it just set the player up with different abilities (I think by equipping him with different items and weapons) based on the 3do he was. I'm sure it's easy to do, but if anyone has that cog or one like it, I'd sure appreciate tossin' it my way. And if not, thanks for readin'!;)
zagibu
06-12-2005, 05:11 AM
If you want to write it yourself, here is how it basically works:
symbols
model3d model0=ky.3do
model3d model1=krugon.3do
model3d model2=jerec.3do
...
message startup
end
code
startup:
# Check for all models...
for(i = 0; i < "numberOfModels"; i = i + 1)
{
# If player has the current model...
if(GetThingModel(GetLocalPlayerThing()) == model0[i])
{
# Give him stuff...
SetInv(GetLocalPlayerThing(), bin, amount);
...
}
}
Return;
end
This is not a working cog, but you should get the idea.
Valcien
06-12-2005, 05:36 AM
Yes, that helps tremendously, thanks! I really want that cog, though. Admittedly, I think that's mostly nostalgia.:p
zagibu
06-12-2005, 07:31 AM
I suggest you get the mod and extract the cog, then.
Probally some mod that is more RPG styled, with "classes" sorta like MotS.
Zagibu's cog is right on, I don't know if you know any cog or not but you could easily modify it to do exactly what you want it to do.
ReT
Valcien
06-13-2005, 08:06 AM
It was never finished or released. It was a fighting game mod.
darthslaw
06-13-2005, 06:05 PM
Another great example of this technique is the Rangi mod for JK.
Quib Mask
06-13-2005, 08:16 PM
You'll probably want to throw a sleep in just after "startup:"; JK doesn't set your selected player model instantly and needs a second before it switches to the model you chose. A whole second is enough, maybe even a half second.
QM
darthslaw
06-15-2005, 04:39 PM
I usually use Sleep(0.1)
This small sleep still expires after the first ingame frame is rendered and all stuffs are set by JK
Just a small bit of info I can provide concerning startup...
Valcien
06-17-2005, 04:03 AM
My thanks for your attention.
Powered by vBulletin® Version 4.1.5 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.