Question to the Server-Gods

Started by Aquamarin, November 04, 2008, 12:29:06 PM

Previous topic - Next topic

cubus

haha... lenny your some kind of genius!!!!!!! :yes

   

   anyway... i have to sort out, what all this stuff means and!!!!!!!!!!!............... how i have to use it!.... :o_O

   

   

   but, please give me a leading hand! instead TEAMWIN axis, i will use "global / win.scr::teamwins ?

   also i ahve to set this options only at the beginning at map(1) and map(7)?

   

   if not, i guess i need more then a hand! :con

Soldier Of Ra

Set the options before the exec of the global/win.scr at the time you want to declare a winner and change the map(or restart the map).

   Let's say the axis have won, we declare the axis the winner by doing this:

   

   
level.global_win["winner"] = "axis"
   level.global_win["winevent"] = "map_change" //what happens when the axis win? This can be "map_change"; "map_restart" or "round_restart" (= teamwin)

   

   Change to what map? (example)

   
level.global_win["destination"] = "dm/mohdm1" 

   

   Specify whether the players spawn in the same team with the same weapon as soon as the new map is loaded? Or not (OFF by default):

   
level.global_win["mapchange_keepstats"] = 0 //no they will be spawned as spectators

   

   If you like to play a victory sound (this is OFF by default, so you don't need to set it if you don't want it), like the ones you would hear when using teamwin:

   
level.global_win["win_sound"] = 1

   

   We need to change the map, so we cannot use teamwin. Since we aren't using teamwin a the scoreboard will not pop up with "Axis have Won" or "Allies have Won" on the scoreboard picture. So we have to make things clear to the players. That's why you can activate a special "Winning Screen" this script'll take care off. So we'll activate it. Obviously if you use "round_restart" (which is basically teamwin), then all settings with "winscreen" are ignored. ("winscreen" is OFF by default, so all other settings with winscreen in it are also OFF by default)

   
level.global_win["winscreen"] = 1

   

   While doing so, you can also remove the hud during this screen display (OFF by default):

   
level.global_win["winscreen_hud"] = 1

   And while using the winscreen you can also freeze all players during its display (OFF by default):

   
level.global_win["winscreen_freeze"] = 1

   

   So the screen appears and naturally, you'll wait a few seconds before changing the map, so set this option to how long you want to wait (10 by default):
level.global_win["winevent_delay"] = 10 //seconds

   

   You can also share this information with the players. (OFF by default)

   
level.global_win["winevent_display"] = 1

   When you do this, you'll need to have a message to display, use this option to specify your message. Use the word "Zeconds" in this message to have it replaced by the current time left.

   
level.global_win_scr["localization"] = "The Campaign will restart in Zeconds seconds!"

   It will be displayed as:

   "The Campaign will restart in 10.00 seconds!"

   "The Campaign will restart in 9.50 seconds!"

   etc...

   "The Campaign will restart in 5.50 seconds!"

   etc...

   

   That's about it for the teamswin script, the others are far more simple and with a lot less options.

   Notice I put (... by default). This means that that option will be set like that if you haven't set it yourself. Most things are disabled by default so if you don't want to use something you don't have to disable it yourself.

   

   This script basically, takes over all the tasks of teamwin and opens more room (like changing the map, restarting the map), restarting and changing the map is also seperate with it's own set of options (less than the teamswin script :p) in case you want to use it!

cubus

okay lenny, we intergrate your win.scr in our little testmaps. we guess, everything work fine... so far

   

   - mapchange work

   - teamwin work, but i am not sure if our startmap (map4) get a regular roundstart after teamwin ( like we thought) or (map4) start only as normal map called as next in line..... i try level.global_win["winevent"] = "round_restart"

   .... but result wasn't a lucky one.... my game freeze.... maybe a mistake by myself...

   

   anyhow, your script is a big deal, we like it.... :love

   

   ah! one thing..... if axis finish the campaign , there is no victorysound

Soldier Of Ra

lol, I already see why... go into the win.scr and find the "victory:" thread. You'll notice there are 2 if's checking the winner for "allies" and...."allies" lol. Make sure the second if checks for "axis". My mistake :blush

   

   You probably used the winevent "map_restart" which clears everything, like you would use "restart" in the console while you're testing things. It loads the current map again and "round_restart" uses teamwin and just refreshes the round of the current map.

   

   I only tested map_restart and map_change, I don't know why your game freezed during round_restart, I didn't test that because I assumed it would work. I'll give it a try now...

   EDIT: All 3 work perfectly, I don't have a clue why your game freezed. You test this for SH right? I for AA, so it could be an SH issue or an option you set incorrectly

cubus

Soldier Of Ra :
   You test this for SH right? I for AA, so it could be an SH issue or an option you set incorrectly

   

   

   lol... yeah! i guess, the last one may be right.... :D

   

   about the rest..... mapchange, maprestart and roundrestart... hm... may i have to look more deeper into your script!.....

   

   anyway... the axis-voiceproblem... lol.. yeah i saw it now... will fix it and i think, this will run successful  

   

   

   i will report all further progress

[KC]Murdock

Real cool idea to have different maps linked together. You could have 1 night tournament :) Hope it all works out well...:yes

STORMnl

he chris

   

   did you tried olready Padernoster from Aqua

   

   thats a very nice map (5)

   

   5 maps,,you start in the middle 3

   allied win you go to 4

   axis win you go to 2

   but wen you are in 4 and axis win you go to 3

   axis win again you go to 2 axis win again you go to 1

   there is a obj you need to blow up,,

   than axis win the complete party

   but wen allid win in 1 you go to 2 and on and on and on

   

   it's a very good map projeckt for a evening tourny

   

   i played it very much times

   

   and i stil like it
Dutch Blue Oyster mean machine instructor + The Jack off the dutch platoon - My Drill Instruction http://es.youtube.com/watch?v=25Qhbdijv5Y&feature=related

cubus

hi stormie......

   

   as far as i know, aqua restart his padernoster-project..... try to manage his maps as standalone-editions, combined by SoR-script......

   

   some maps are allready (maybe nearly finished), some need a little workover, remember ..... padernoster5 was a compromise about playability, vis, entitycount and possibility of compiling. so some issues had to be canceled.

   

   anyway.... he like to finish his first idea of a campaign...

   

   so this script gives us a lot of space to handle allmost every problem, we got in past time...

   

   ah... stormie! I forgot about it.... we need you! as betatester.... we get a sponcered SH-server....

   would be nice, you can spend some time...

STORMnl

ok i wil,,but tomorrow i have a evening shift,,wil be mitwoch  (wednesday)
Dutch Blue Oyster mean machine instructor + The Jack off the dutch platoon - My Drill Instruction http://es.youtube.com/watch?v=25Qhbdijv5Y&feature=related

Soldier Of Ra

Ah, can't wait :) we could organize a little SFX tournament! :D

   Will the new version be for AA as well?

*Herr_Kruger

we had one unnoficial in december.

   

   Anyway, if anyone has a cool idea for a SP campaign ... Im in .. we have enough mappers , modellers and scripters than any other site; what we lack is compromise. As I said, any cool idea for SP im In. If you want to keep the wwII theme, we can even add it to a TA . It doesnt have to be a 14 map SP campaign .. The only needed is a good idea, compromise from a few working members and basic organization.

   

   

   EDIT - Here is the active list of modders atm that could work on a project. Not all people is here i know, but its just to have an idea.

   

   211476  {SFX} Team Member   United States 05-07-08  - MODELLER

   Card  {SFX} Team Member   United States 09-05-04  -- TOILETTER

   CTpenok  {SFX} Team Member   Netherlands 10-11-04 -- MODELLER + MAPPER

   cubus  {SFX} Team Member   Germany 16-07-04 -- MODELLER + MAPPER

   STORM  -- MODELLER

   

   Elgan  {SFX} Team Member   Europe 14-06-06 -- SCRIPTER

   Gold  {SFX} Team Member   United States 25-12-05 -- SCRIPTER

   JoeyC  {SFX} Team Member   United States 19-03-05 -- SCRIPTER

   m0d hippĀ„  {SFX} Team Member   --- 12-10-04  -- SCRIPTER

   proximo  {SFX} Team Member   Belgium 25-10-05 -- SCRIPTER

   Soldier Of Ra  {SFX} Team Member   Belgium 09-01-06 -- SCRIPTER

   

   Runt  {SFX} Team Member   Netherlands 28-06-04 -- MAPPER

   JUDGE  -- MAPPER

   bdbodger  -- MAPPER + MODELLER + SKINNER

   PKM -- MAPPER

   

   Salombo  {SFX} Team Member   United States 11-04-06 -- SKINNER

   twl_viper  {SFX} Team Member -- MAPPER + SKINNER

   chrisredfield  {SFX} Team Member   United States 13-10-08 -- SKINNER + SCRIPTER

Soldier Of Ra

SP? Hmm, I've been requested to do an SP map just recently. I find scripting SP boring, unless we can add a creative and unique touch to it? I'm actually more for an MP campaign like Aquamarin and cubus are working on. Or at least a server-rotation with different (themed) mods per map. Not the usual freezetag, tdm and obj...etc, no, creativeness, originality and fun must be central.

   

   But if it comes to SP, I would really like to do an Airplane battle, like in a bomber, or fighter or something like that.

   

   
*Herr_Kruger :
   Card  {SFX} Team Member   United States 09-05-04  -- TOILETTER

   lol, toiletter?

   

   
*Herr_Kruger :
   bdbodger  -- MAPPER + MODELLER + SKINNER

   BdBodger is also a very good scripter :)

*Herr_Kruger

airplane battle ? hmm, jv_map already done that in MP :S

   

   dunno SP campaign is one of the things I already wanted to do. Mohers would def play that. Anyway, i dont think anyone is willing to work on a "big" project nowadays.

STORMnl

and we stil have that [pink]BOB[/pink] thingy (also not ready yet)

   

   but how about a market garden campane,,from belgium til arnhem
Dutch Blue Oyster mean machine instructor + The Jack off the dutch platoon - My Drill Instruction http://es.youtube.com/watch?v=25Qhbdijv5Y&feature=related

*Herr_Kruger

STORMnl :
   and we stil have that [pink]BOB[/pink] thingy (also not ready yet)

   

   but how about a market garden campane,,from belgium til arnhem

   

   

   LOL you really like the BOB idea stormy ? market garden sounds good. Was one original map for TA.