Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: better spawns

  1. #1
    Private First Class
    Join Date
    Nov 2015
    Posts
    128
    Thanks
    37
    Thanked 14 Times in 14 Posts

    better spawns

    how can i make better spawns for custom maps ?

  2. #2
    Brigadier General
    Join Date
    Dec 2012
    Posts
    1,012
    Thanks
    440
    Thanked 171 Times in 132 Posts
    what do you mean by "better"?

  3. #3
    Private First Class
    Join Date
    Nov 2015
    Posts
    128
    Thanks
    37
    Thanked 14 Times in 14 Posts
    all custom maps have 1-2 spawn points . specially when we are playing ctf one team always being stuck in same area then finishes fast..

  4. #4
    Brigadier General
    Join Date
    Dec 2012
    Posts
    1,012
    Thanks
    440
    Thanked 171 Times in 132 Posts
    You can decompile them and add spawns

  5. #5
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    Or just add them in your script.
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  6. #6
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts
    Quote Originally Posted by Ni3ls View Post
    You can decompile them and add spawns
    Add the spawns with a hex editor and then recalculate the end of the file. That is what you mean right?

  7. #7
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    Lol, why not just edit your scripts to include some other spawns? way easier and more flexible.

    I'm even using spawns defined in a mysql database in my own mod...
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  8. The Following User Says Thank You to IzNoGoD For This Useful Post:

    kung foo man (10th March 2016)

  9. #8
    Sergeant serthy's Avatar
    Join Date
    Nov 2012
    Posts
    450
    Thanks
    96
    Thanked 296 Times in 188 Posts
    best way is as IzNoGod suggested, use script and don't mess up ur maps

    PHP Code:
    // delete unused spawns
    spawns getEntArray();

    for( 
    i  spawns.size i++ )
    {
        if( 
    isSubStrspawns[i].targetname "spawn" ) )
            
    spawn[idelete();
    }
    // set new spawns here
    level.spawns = [];

    for( 
    myNewSpawns i++ )
    {
        
    spawnStruct();
        
    s.origin myNewSpawns[i].origin;
        
    s.angles myNewSpawns[i].angles;
        
    s.team myNewSpawns[i].team// whatever

    now use level.spawns instead of
    Code:
    getEntArray( "bla_spawn_tdm" , "targetname" );

  10. The Following User Says Thank You to serthy For This Useful Post:

    kung foo man (10th March 2016)

  11. #9
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    And for ctf you gotto do that twice, for both sides of the map.
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  12. #10
    Private First Class
    Join Date
    Nov 2015
    Posts
    128
    Thanks
    37
    Thanked 14 Times in 14 Posts
    thanks you all , now tripoli and port is better maps

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •