Stlo and St Renan

Discussion in 'Scripting' started by T57, May 17, 2006.

  1. T57 Private

    Contributions:
    1
    I'm not quite sure what problems your talking about, but I played it and it seemed fine.
    It would be nice to know how to convert it so you wouldn't have redownload a new map but I'm new to this.
    I also can't figure out how to post my script here so I uploaded it. View attachment 9539

    I thought when you converted a map from obj. to dm is was completely different, so you need new map.

    Maybe give me a clue on how to post a script on here?

    Thx

    T57
  2. twl_viper Supreme Commander

    Contributions:
    152
    Specialties:
    Mapper, Scripting
    PREMIUM
    I Donated
    Well. the map script in the map pk3 that i downloaded from your link crashes because it has a premature end in it. I thought you were trying to remove a solid from under the bridge and that solid is there because the script is crashed. However i am not certain if that is your script or if you are working on another??

    to post script cut and paste into quote brackets. use the # button

    here is your script from your text link (with highlighted culprit)
    Code:
    // Obj : St Renan
    // ARCHITECTURE: Kingmarzo (Dave Marsden)
    // SCRIPTING: Kingmarzo (Dave Marsden)
    main:
    $house_explode remove
    
    local.axis = spawn info_player_deathmatch origin ( -130.438 679.217 0.125 ) angle ( 0.736 )
    local.axis = spawn info_player_deathmatch origin ( 534.761 1381.220 0.125 ) angle ( 97.998 )
    local.axis = spawn info_player_deathmatch origin ( 1608.731 2692.025 -24.870 ) angle ( 297.471 )
    local.axis = spawn info_player_deathmatch origin ( 2919.239 1855.310 0.125 ) angle ( 221.281 )
    local.axis = spawn info_player_deathmatch origin ( 2451.502 598.583 0.125 ) angle ( 355.226 )
    local.axis = spawn info_player_deathmatch origin ( -288.822 -2850.907 0.125 ) angle ( 114.576 )
    local.axis = spawn info_player_deathmatch origin ( -648.790 -3278.075 0.125 ) angle ( 268.720 )
    local.axis = spawn info_player_deathmatch origin ( -414.431 -3955.836 -13.245 ) angle ( 86.232 )
    local.axis = spawn info_player_deathmatch origin ( 549.108 -3337.836 -2.822 ) angle ( 76.794 )
    local.axis = spawn info_player_deathmatch origin ( 1330.302 -2881.029 160.125 ) angle ( 106.425 )
    local.allied = spawn info_player_deathmatch origin ( -154.195 1448.725 0.125 ) angle ( 7.399 )
    local.allied = spawn info_player_deathmatch origin ( 2464.574 2429.923 -33.397 ) angle ( 206.911 )
    local.allied = spawn info_player_deathmatch origin ( 1329.341 2181.723 -31.114 ) angle ( 0.170 )
    local.allied = spawn info_player_deathmatch origin ( 2409.228 919.423 0.125 ) angle ( 359.819 )
    local.allied = spawn info_player_deathmatch origin ( 2107.365 646.760 0.125 ) angle ( 273.224 )
    local.allied = spawn info_player_deathmatch origin ( 843.524 -3330.236 0.364 ) angle ( 122.042 )
    local.allied = spawn info_player_deathmatch origin ( -475.211 -3017.119 0.125 ) angle ( 0.396 )
    local.allied = spawn info_player_deathmatch origin ( -486.472 -3573.236 -17.037 ) angle ( 4.625 )
    local.allied = spawn info_player_deathmatch origin ( 981.749 -2920.875 160.125 ) angle ( 283.585 )
    local.allied = spawn info_player_deathmatch origin ( 1117.431 -2527.982 160.125 ) angle ( 2.247 )
    
    [COLOR=red]end[/COLOR]
    setcvar g_gametype 1
    
    setcvar "g_obj_alliedtext1" "St.Renan_DM" 
    setcvar "g_obj_alliedtext2" ""
    setcvar "g_obj_alliedtext3" ""
    setcvar "g_obj_axistext1" ""
    setcvar "g_obj_axistext2" ""
    setcvar "g_obj_axistext3" ""
    setcvar "g_scoreboardpic" "renan"
     level waittill prespawn
     //*** Precache Dm Stuff
     exec global/DMprecache.scr
     $world farplane 5000
     $world farplane_color (0.675 0.663 0.651)
     
     level.script = maps/obj/renan.scr
     exec global/ambient.scr m3l2
      
     thread global/exploder.scr::main
     exec global/door_locked.scr::lock
     level waittill spawn
     level.defusing_team = "allies"
     level.planting_team = "axis"
     level.bomb_damage = 300
     level.bomb_explosion_radius = 2048
     
     level waittill roundstart
      
     
    end
     
     
     
    
  3. T57 Private

    Contributions:
    1
    First-That worked I removed the end out of the script the one you had highlighted, Now I can walk from one side to the other.

    Second-You mentioned this mod could of been done serverside can you show and explain how? Will just a script work?

    Thanks viper
  4. twl_viper Supreme Commander

    Contributions:
    152
    Specialties:
    Mapper, Scripting
    PREMIUM
    I Donated
    give your script the same name as the obj bsp

    pak your script in maps/obj and put your new mod pak on your server.

    Thats all
  5. T57 Private

    Contributions:
    1
    It works,
    Thanks Viper I thought going to DM you have to have a completely new DM map.
  6. Creaper Gunnery Sergeant

    Contributions:
    244
    this is for renan,
    use this script and use it as a guid to convert other maps

    and if you use this the block on the cat walk will be gone

    Code:
    // Obj : St Renan
    // ARCHITECTURE: Kingmarzo (Dave Marsden)
    // SCRIPTING: Kingmarzo (Dave Marsden)
    main:
    setcvar "g_gametype" "1"
    setcvar "g_obj_alliedtext1" "Renan" 
    setcvar "g_obj_alliedtext2" ""
    setcvar "g_obj_alliedtext3" "Converted to ffa"
    setcvar "g_obj_axistext1" ""
    setcvar "g_obj_axistext2" ""
    setcvar "g_obj_axistext3" "(your Name)"
    setcvar "g_scoreboardpic" "renan"
    level.axis = spawn info_player_deathmatch origin ( -549.443 -417.302 -71.875 ) angle ( 272.648 )
    level.axis = spawn info_player_deathmatch origin ( -771.183 -173.012 0.125 ) angle ( 348.300 )
    level.axis = spawn info_player_deathmatch origin ( 426.182 870.686 64.125 ) angle ( 5.312 )
    level.axis = spawn info_player_deathmatch origin ( 760.441 941.734 0.125 ) angle ( 309.875 )
    level.axis = spawn info_player_deathmatch origin ( 752.467 625.441 0.125 ) angle ( 227.417 )
    level.axis = spawn info_player_deathmatch origin ( 892.333 -446.658 0.125 ) angle ( 175.984 )
    level.axis = spawn info_player_deathmatch origin ( 785.713 -337.050 168.125 ) angle ( 55.300 )
    level.axis = spawn info_player_deathmatch origin ( 914.098 -503.630 168.125 ) angle ( 259.997 )
    level.axis = spawn info_player_deathmatch origin ( -181.951 221.917 0.125 ) angle ( 306.870 )
    level.axis = spawn info_player_deathmatch origin ( -398.474 -2680.337 0.125 ) angle ( 67.753 )
    level.axis = spawn info_player_deathmatch origin ( -532.330 -2729.053 168.125 ) angle ( 89.401 )
    level.axis = spawn info_player_deathmatch origin ( -721.147 -2938.748 0.125 ) angle ( 351.980 )
    level.axis = spawn info_player_deathmatch origin ( -388.227 -3774.454 -19.866 ) angle ( 20.001 )
    level.axis = spawn info_player_deathmatch origin ( -386.208 -3377.835 0.125 ) angle ( 55.020 )
    level.axis = spawn info_player_deathmatch origin ( 1298.211 -2965.754 -7.875 ) angle ( 155.089 )
    level.axis = spawn info_player_deathmatch origin ( 1119.802 -2560.512 160.125 ) angle ( 131.072 )
    level.axis = spawn info_player_deathmatch origin ( 1053.060 -2920.872 160.125 ) angle ( 207.081 )
    level.axis = spawn info_player_deathmatch origin ( 883.913 -2706.873 160.125 ) angle ( 179.061 )
    level.axis = spawn info_player_deathmatch origin ( 620.009 -3254.791 -3.921 ) angle ( 84.644 )
    level.axis = spawn info_player_deathmatch origin ( 1657.958 -2250.124 -442.064 ) angle ( 137.032 )
    level.axis = spawn info_player_deathmatch origin ( 1776.163 -2570.902 -287.875 ) angle ( 89.962 )
    level.axis = spawn info_player_deathmatch origin ( 1988.551 -1171.382 -591.875 ) angle ( 140.993 )
    level.axis = spawn info_player_deathmatch origin ( 1477.485 -709.168 -583.875 ) angle ( 162.208 )
    level.axis = spawn info_player_deathmatch origin ( 277.105 -1743.822 -663.875 ) angle ( 175.215 )
    level.axis = spawn info_player_deathmatch origin ( -5.784 -1092.576 -591.875 ) angle ( 355.095 )
    level.axis = spawn info_player_deathmatch origin ( 172.153 -1836.660 -663.875 ) angle ( 163.889 )
    level.allied = spawn info_player_deathmatch origin ( 89.005 1687.366 -7.875 ) angle ( 16.946 )
    level.allied = spawn info_player_deathmatch origin ( 1489.683 1463.593 -31.875 ) angle ( 302.294 )
    level.allied = spawn info_player_deathmatch origin ( 1392.631 2192.216 -29.485 ) angle ( 336.962 )
    level.allied = spawn info_player_deathmatch origin ( 2499.552 2379.783 -29.821 ) angle ( 222.929 )
    level.allied = spawn info_player_deathmatch origin ( 2402.737 1479.266 41.125 ) angle ( 359.022 )
    level.allied = spawn info_player_deathmatch origin ( 2768.548 1170.740 -7.875 ) angle ( 245.143 )
    level.allied = spawn info_player_deathmatch origin ( 2671.793 -144.081 48.125 ) angle ( 157.286 )
    level.allied = spawn info_player_deathmatch origin ( 2076.267 612.613 0.125 ) angle ( 257.552 )
    level.allied = spawn info_player_deathmatch origin ( 1802.625 627.994 56.125 ) angle ( 144.877 )
    level.allied = spawn info_player_deathmatch origin ( 1333.461 812.796 -0.817 ) angle ( 148.079 )
     level waittill prespawn
      $house_explode remove
     //*** Precache Dm Stuff
     exec global/DMprecache.scr
     $world farplane 5000
     $world farplane_color (0.675 0.663 0.651)
     
     level.script = maps/obj/renan.scr
     exec global/ambient.scr m3l2
     
     thread global/exploder.scr::main
     exec global/door_locked.scr::lock
     level waittill spawn
     
    end
    
  7. T57 Private

    Contributions:
    1
    Viper and Creaper,

    Thx for all your replies guys.
    I have a lot better understanding for whats going on now.
    It's nice to know you can change a script server side and not have to have another map you have to download.
    I testing one of those and it work great, just changed script server side and left one on my machine I play on as is and played fine.
    Thanks again for all the help.

    T57
  8. twl_viper Supreme Commander

    Contributions:
    152
    Specialties:
    Mapper, Scripting
    PREMIUM
    I Donated
    Good job man,

    If thats your website i would recomend replacing all those dm conversion downloads with the originals.
  9. Creaper Gunnery Sergeant

    Contributions:
    244
    i seen on your web site you have my conversion of breakthrough maps for spearhead
    i have a better version now and its alot better
    let me know if you need them
  10. T57 Private

    Contributions:
    1
    Sure I would love to have them.
    Show me where I can get them.

    Thanks
  11. twl_viper Supreme Commander

    Contributions:
    152
    Specialties:
    Mapper, Scripting
    PREMIUM
    I Donated
    Hey Creaper,

    I use that too, Whats new in it?
  12. Creaper Gunnery Sergeant

    Contributions:
    244
    fixed missing textures took out things not needed fixed some of the scripting
  13. T57 Private

    Contributions:
    1
    Creaper,

    I need your new breakthrough maps for spearhead....please.

    Obj. maps that I have working with all the help,
    Normandy Bridge
    St Renan
    Operation Market Garden

    I'm having a problem with St Lo,
    will post the 2 scripts and see if you can tell me what I'm missing.

    Thx

    T57
  14. T57 Private

    Contributions:
    1
    Here is the obj script

    Code:
    // Capture of St Lo - Objective Version
    // ARCHITECTURE: Kingmarzo (Dave Marsden)
    // SCRIPTING: Kingmarzo
    
    main:
        $world farplane 4000 // Fog
        $world farplane_color (0.75 0.74 0.64)
        
        level waittill prespawn
    
        exec global/DMprecache.scr
    
        level.script = StLo.scr
        exec global/ambient.scr obj_team1
    
        exec global/door_locked.scr::lock
    
        setcvar "g_obj_alliedtext1" "Destroy the Pak88" 
        setcvar "g_obj_alliedtext2" ""
        setcvar "g_obj_alliedtext3" ""
        setcvar "g_obj_axistext1" "- Prevent Allies from"
        setcvar "g_obj_axistext2" "destroying the Pak88"
        setcvar "g_obj_axistext3" ""
        setcvar "g_scoreboardpic" "none"
    
        level waittill spawn
    
        level.bomb_damage = 200
        level.bomb_explosion_radius = 640
        level.defusing_team = "axis"
        level.planting_team = "allies"
        level.targets_to_destroy = 1
        level.dmrespawning = 0 // 1 or 0
        level.dmroundlimit = 8 // round time limit in minutes
        level.clockside = axis // set to axis, allies, kills, or draw
    
        level waittill roundstart
    
        $flak88_explosive1 thread global/obj_dm.scr::bomb_thinker
        
    
        $flak88_explosive1 thread axis_win_timer
        thread allies_win_bomb // End of Objective
    
        
        
    
        end
    
    //*** --------------------------------------------
    //*** "Axis Victory"
    //*** --------------------------------------------
    
    axis_win_timer:
    
        level waittill axiswin
    
    end
    
    //*** --------------------------------------------
    //*** "Allied Victory"
    //*** --------------------------------------------
    
    allies_win_bomb:
    
        while(level.targets_destroyed < level.targets_to_destroy)
            waitframe
        
        teamwin allies
    end
    
    
    And here is my FFA script that I can't get to work.

    It works fine if I put it on the machine I play on but when I put it on server it does not work.

    Take a look and let me know what you think.

    Thx

    Code:
    // Capture of St Lo 
    // ARCHITECTURE: Kingmarzo (Dave Marsden)
    // SCRIPTING: Kingmarzo
    
    main:
    
    setcvar "g_gametype" "1"
    setcvar "g_obj_alliedtext1" "St Lo" 
    setcvar "g_obj_alliedtext2" ""
    setcvar "g_obj_alliedtext3" ""
    setcvar "g_obj_axistext1" "Converted to FFA"
    setcvar "g_obj_axistext2" ""
    setcvar "g_obj_axistext3" "" 
           
    local.allied = spawn info_player_deathmatch origin ( 2093.218 206.589 -191.875 ) angle ( 359.626 )
    local.allied = spawn info_player_deathmatch origin ( 3128.997 162.407 -191.875 ) angle ( 218.403 )
    local.allied = spawn info_player_deathmatch origin ( 2642.576 -886.077 -335.875 ) angle ( 92.488 )
    local.allied = spawn info_player_deathmatch origin ( 2067.666 -1501.003 -191.875 ) angle ( 50.510 )
    local.allied = spawn info_player_deathmatch origin ( 2225.436 -1606.214 -229.416 ) angle ( 359.941 )
    local.allied = spawn info_player_deathmatch origin ( 3282.087 -1771.209 -271.875 ) angle ( 275.015 )
    local.allied = spawn info_player_deathmatch origin ( 3318.948 -2511.023 -319.875 ) angle ( 87.012 )
    local.allied = spawn info_player_deathmatch origin ( 1659.640 -1570.003 -191.875 ) angle ( 89.923 )
    local.allied = spawn info_player_deathmatch origin ( 1062.395 -1527.090 -191.875 ) angle ( 89.132 )
    local.allied = spawn info_player_deathmatch origin ( 464.284 -1185.170 -183.875 ) angle ( 252.927 )
    local.allied = spawn info_player_deathmatch origin ( 610.881 188.377 -157.812 ) angle ( 224.269 )
    local.allied = spawn info_player_deathmatch origin ( -700.818 738.542 -55.819 ) angle ( 262.145 )
    local.allied = spawn info_player_deathmatch origin ( 197.964 997.524 -63.875 ) angle ( 343.317 )
    local.allied = spawn info_player_deathmatch origin ( 1483.476 751.494 -62.168 ) angle ( 199.841 )
    local.allied = spawn info_player_deathmatch origin ( -907.945 958.480 -39.875 ) angle ( 265.182 )
    local.allied = spawn info_player_deathmatch origin ( -2404.830 910.957 -103.875 ) angle ( 312.715 )
    local.allied = spawn info_player_deathmatch origin ( -927.923 -259.493 -144.525 ) angle ( 299.927 )
    local.allied = spawn info_player_deathmatch origin ( -2738.938 -337.444 -95.875 ) angle ( 26.082 )
    local.allied = spawn info_player_deathmatch origin ( -2612.050 -1204.732 -95.875 ) angle ( 320.559 )
    local.allied = spawn info_player_deathmatch origin ( -2638.855 -1747.264 -95.875 ) angle ( 83.441 )
    local.allied = spawn info_player_deathmatch origin ( -2351.300 -1711.085 88.125 ) angle ( 93.230 )
    local.allied = spawn info_player_deathmatch origin ( -2515.656 -1460.768 -263.875 ) angle ( 23.566 )
    local.allied = spawn info_player_deathmatch origin ( -1875.295 -1633.296 -217.849 ) angle ( 95.169 )
    local.allied = spawn info_player_deathmatch origin ( -899.881 -111.047 -191.875 ) angle ( 158.132 )
    local.allied = spawn info_player_deathmatch origin ( -442.134 -1256.191 -159.875 ) angle ( 96.229 )
    local.allied = spawn info_player_deathmatch origin ( 198.705 -1204.842 -191.875 ) angle ( 102.755 )
    local.allied = spawn info_player_deathmatch origin ( 1426.056 261.276 -191.875 ) angle ( 270.742 )
    local.allied = spawn info_player_deathmatch origin ( 1306.761 -1271.837 -335.875 ) angle ( 15.853 )
    local.allied = spawn info_player_deathmatch origin ( 1925.946 -1304.140 -191.875 ) angle ( 88.473 )
    local.allied = spawn info_player_deathmatch origin ( 1938.296 37.827 -160.444 ) angle ( 280.750 )
    
    
    setcvar "g_scoreboardpic" "textures/mohmenu/objloading/sb_st_lo.jpg
    
    
        $world farplane 4000 // Fog
        $world farplane_color (0.75 0.74 0.64)
        
        level waittill prespawn
            $flak88_explosive1 remove
        exec global/DMprecache.scr
    
        level.script = StLo.scr
        exec global/ambient.scr obj_team1
    
        exec global/door_locked.scr::lock
    
        level waittill spawn
    
    
            end
    
    
    
    
    
  15. twl_viper Supreme Commander

    Contributions:
    152
    Specialties:
    Mapper, Scripting
    PREMIUM
    I Donated
    Your server is either reading the original script or cant find your script. What does happen when you run it on your server ?

    You need to load your mod last or delete the original script.
  16. T57 Private

    Contributions:
    1
    Well I think I only have the new script on the server.

    It plays just like and obj map.

    Not quite sure how to do this(load my mod last). What do you mean delete the original script(it should not be on the server just the new one),.I'm going to double check make sure I don't have two copies of the map in there.(the map with my script and the original one with the obj script there).

    Thx

    T57
  17. T57 Private

    Contributions:
    1
    I got it guys my script worked I had another copy of the map in my mainta folder on the server.

    Thx

Share This Page