Evita
07-19-2003, 06:53 PM
http://scripts.tribalwar.com/evita/
added evpack 1.5 to t1 section. didnt make the changes i wanted to, been too busy.
added some t2 scripts and stuff.
Hilikus
07-19-2003, 07:13 PM
I liked the old one better, but I needed that fov script so <3 ;f
[sCs]Slinger07
07-19-2003, 11:42 PM
I am updating your folder Evita. :)
Evita
07-20-2003, 12:20 AM
I was about to email ya slinger. Thx.
Hey doom, hd format a few days ago. No IMs installed right now. You can PM me here or email me: wingman@nctc.com
[meph]DooM!
07-20-2003, 12:27 AM
I'll be a TW PM master then :)
Evita
07-20-2003, 12:40 AM
haha, my reply was too long to send, so here:
Im sure you've gotten alot more into than I have. Sarc asked me about it one night, and I fired up T1 and made this in about 10 minutes. This is as far as I got. Didnt have much time to try to fix it. I was actually going to ask you, seeing you are the most knowledgeable T1 scripter left.
Dont know if you can register objects client side on pubs, but thats the problem with this. Thats what I was gonna ask ya.
Right now, this works fine client side, just not at all server side.
// TO TEST SCRIPT: PLACE SKY.CS IN CONFIG FOLDER. HOST A SERVER.
// TYPE exec(sky); IN THE CONSOLE. TYPE animateSky(); IN CONSOLE.
// LAST BUG: ERROR ON PUBS - FAILED TO REGISTER OBJECT OF TYPE: SKY
// GOTTA FIX THIS, OR SCRIPT IS USELESS.
// TO DO: must list sizes/textures/etc for each map as well; example:
// schedule($ServerMission @ "();", 0.3); <-in place of SkyAnimation();
// function DangerousCrossing() {
// instant map info stuff here}
// would have to have individual function
// for each map in this script. Unless you want
// to use same sky for each map, or set up an array
// of just a few varying skies for certain maps.
// TO DO: must reset $skyFirstPass to false on map changes, client exits, etc.
// or you will delete the first sky object and thats a no-no
// INFO: 729 is always sky object (local or pub)
// 13 is awlays render set
// INFO: DO NOT CHANGE THE SCHEDULE TIMES! IF YOU SCREW IT UP, IT WILL
// CREATE ENORMOUS LAG. AS OF RIGHT NOW, ITS SMOOTH. TO TEST: HOST
// YOUR OWN SERVER, WATCH YOUR PING. IF YOU EDIT TIMES, AND YOUR PING
// IS HIGH OR CONSISTENTLY CLIMBS, YOU SCREWED UP.
// CODE LINE ---------------------------------------------------------
function AnimateSky() {
$AnimationRotation = $AnimationRotation + 0.1;
if($skyFirstPass) {
//addtoset(13, 729); //testing to get on pub
schedule("deleteobject(729);", 0.1);
}
schedule("SkyAnimation();", 0.2);
schedule("AnimateSky();", 0.3);
$skyFirstPass = true;
}
function SkyAnimation() {
instant Sky {
dmlName = "litesky.dml";
skyColor = "0 0 0";
hazeColor = "0 0 0";
featurePosition = $AnimationRotation;
size = "800";
textures[0] = "0";
textures[1] = "1";
textures[2] = "2";
textures[3] = "3";
textures[4] = "4";
textures[5] = "5";
textures[6] = "6";
textures[7] = "7";
textures[8] = "8";
textures[9] = "9";
textures[10] = "10";
textures[11] = "11";
textures[12] = "12";
textures[13] = "13";
textures[14] = "14";
textures[15] = "15";
};
}
:)