
Sebby123
Joined: Aug 15, 2007
I Like Pie, Do You Like Pie? Xfire: sebthepleb
|
Posted: Sep 1, 2007 01:22 PM
Msg. 1 of 16
I Wanted To Make My Map Like Coldsnaps Where You Have The Time Of Day Option.
Is There A Way To Do This? If So Can You Point Me In The Direction of How.
And Is There A Way To Make It The Same For Everyone? Like Hugeass's Egg.
If That Can Be Done Is There A Way To Set A Pass AnD Change It So There Arnt Idiots Continuously Changing It, Only The Host Can Change It Or Anyone With The Pass.
If You get My Drift... :P
Any Help Appriciated.
Thanks...
Seb
|
|
|

Caboose117
Joined: Jul 23, 2006
Seriously guys?
|
Posted: Sep 1, 2007 01:27 PM
Msg. 2 of 16
Ok, first off, please don't have a capital letter at the beginning of each word... It hurts my eyes. As for your questions...
TOD script: Obviously its possible to do, otherwise it wouldnt have been done in Coldsnap. You need a script to change the bsp (which would have a different sky for it) that is activated by a custom pause menu button. (kirby has a tutorial on that)
For it to be the same for everyone... Well, it would be harder... I imagine its possible, but then there would be random idiots changing it all the time, and I doubt that can be fixed..
|
|
|

Sebby123
Joined: Aug 15, 2007
I Like Pie, Do You Like Pie? Xfire: sebthepleb
|
Posted: Sep 1, 2007 01:32 PM
Msg. 3 of 16
I know, thats why i wanted some kind of password protection...
And i know it can be done for everyone because hugeass did it Surely the scripting engine has the power to do almost everything. every computer language i know can make a password request.. correct me if im wrong. so anyhow why should halo be differant?
and sorry for caps on each word... its a horrible habbit that haunts me.
its a long story how it started but it was because opf bad things in my past and god punished me by giving me the habit of useing cap's at every word.
|
|
|

Caboose117
Joined: Jul 23, 2006
Seriously guys?
|
Posted: Sep 1, 2007 01:37 PM
Msg. 4 of 16
Lol, its ok, but you always seem to have long posts, and every word... Idk, it hurts me.
Anyways, for the password, I imagine you could make it another Pause menu button thing, but I doubt the host could set the password. Its possible to have a password into the sever in halo, but as far as referenceing a script with a password... I doubt it would work, let alone be set by the host...
|
|
|

Caboose117
Joined: Jul 23, 2006
Seriously guys?
|
Posted: Sep 1, 2007 01:42 PM
Msg. 5 of 16
Is it possible to have a biped or some object that is created or destroyed by that script? (Vehicle is most likely, considering those sync) and then have another script testing if that object is in a trigger volume, and make that change the BSP? Yes I know, very long... But that should work right?
|
|
|

Sebby123
Joined: Aug 15, 2007
I Like Pie, Do You Like Pie? Xfire: sebthepleb
|
Posted: Sep 1, 2007 01:44 PM
Msg. 6 of 16
soz for long posts but i just want to give detail so people know..
anyhow.. what about pressing a series of keys.
so you press idk qwerty and it changes
you can use the structure of the flashlight
well i dont know the code but i recon its like:
you press q and it stores that the flashlight is on, then if q = on then q = of, thats if u press q again.
so mabie you could have
sorry about the format, i know its not like this in halo
if "q" = press then var1 = 1 if "w" = press then var1 = "var1"+2 so on untill y if "y" = press then if var1 = 12345 switch_bsp 1
|
|
|

Caboose117
Joined: Jul 23, 2006
Seriously guys?
|
Posted: Sep 1, 2007 01:47 PM
Msg. 7 of 16
That wont work.... And even if it did, it would be the same every time, and every player would be able to use it... No way for the host to change it.
|
|
|

Sebby123
Joined: Aug 15, 2007
I Like Pie, Do You Like Pie? Xfire: sebthepleb
|
Posted: Sep 1, 2007 01:49 PM
Msg. 8 of 16
why wouldnt it work, doesnt the flashlight use the same kind of principle.
whats the flashlights code?
mabie keep the qwerty kind of code quite, so only afew selected people would know...
but then how soon untill its leaked... =|
|
|
|

Caboose117
Joined: Jul 23, 2006
Seriously guys?
|
Posted: Sep 1, 2007 01:51 PM
Msg. 9 of 16
Its just not logical to use the flashlight... it has a test code, but still, in the middle of CQC just kill the lights? Cmon.
|
|
|

Sebby123
Joined: Aug 15, 2007
I Like Pie, Do You Like Pie? Xfire: sebthepleb
|
Posted: Sep 1, 2007 01:56 PM
Msg. 10 of 16
im not saying use the flashlight, im saying use something like it, halo script engine uses if's. it has to use varibles, so my theory has to work.
can you script a map to save something to a external file?
|
|
|

SGWraith
Joined: Apr 15, 2006
[SG] Clan
|
Posted: Sep 1, 2007 02:28 PM
Msg. 11 of 16
Considering how many people ask about doing TOD, why isn't there a link to a tutorial for it in TheGhost's site? Or is that no longer updated?
A tutorial on how to link scripts to UI Widget buttons would be nice. Edited by SGWraith on Sep 1, 2007 at 04:57 PM
|
|
|

Jay2645
Joined: Mar 29, 2007
Cortana saw you naked.
|
Posted: Sep 2, 2007 07:09 AM
Msg. 12 of 16
Quote: --- Original message by: Sebby123 im not saying use the flashlight, im saying use something like it, halo script engine uses if's. it has to use varibles, so my theory has to work.
can you script a map to save something to a external file? 1. No. It's been tested time and time again that you CAN'T do something like that. It's impossible within the game engine. 2. Not really, no. You can use sv_echo_chat 1 "HCELog", but that's really a server-only command, not sure if it'll like it if a map uses a server command.
|
|
|

SGWraith
Joined: Apr 15, 2006
[SG] Clan
|
Posted: Sep 2, 2007 09:52 AM
Msg. 13 of 16
You probably have to make sure that only the server or the host ran that part of the code.
|
|
|

Orange_Geko
Joined: Nov 19, 2005
How long since I last used this account?
|
Posted: Sep 2, 2007 11:22 AM
Msg. 14 of 16
Quote: --- Original message by: SGWraith Considering how many people ask about doing TOD, why isn't there a link to a tutorial for it in TheGhost's site? Or is that no longer updated?
A tutorial on how to link scripts to UI Widget buttons would be nice. theghost is very busy, some people have lives you know lol. anyways... [tutorial]  then make your script dormant, and have the same name as you put in as your script there.  (who cares that I used part of my music menu for the tutorial? lol, and if your mimicing it for the music menu, have loop stops for all songs so it can start your song as the only song)[/tutorial] wow, shortest tutorial ever lol edit: odd, one of the pics didnt work, but it SHOULD be fixed now edit2: wtf? halomaps keeps shortening hte images URL... the url is http://i64.photobucket.com/albums/h176/orangegeko/widgetsscript.png, it removes the script at the end Edited by Orange_Geko on Sep 2, 2007 at 11:25 AM
|
|
|

Donut
Joined: Sep 30, 2006
I swear I'm not actually dead
|
Posted: Sep 2, 2007 12:41 PM
Msg. 15 of 16
kirby u love Japanese animation dont you.
|
|
|

SGWraith
Joined: Apr 15, 2006
[SG] Clan
|
Posted: Sep 2, 2007 04:44 PM
Msg. 16 of 16
Quote: --- Original message by: Orange_Geko theghost is very busy, some people have lives you know lol.
Really? Lol, I know. Its just that when it comes to the internet you can't tell if someone's moved on to other things or if they're just too busy to come back to it. Thanks for taking some time to make that howto, Orange Geko.
|
|
|