1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Hey Guest, is it this your first time on the forums?

    Visit the Beginner's Box

    Introduce yourself, read some of the ins and outs of the community, access to useful links and information.

    Dismiss Notice

SHARK Modded Servers

Discussion in 'Server Archives' started by jackitch, May 19, 2013.

  1. Rayne

    Rayne ༼ つ ◕_◕ ༽つ Administrator Global Moderator Forum Moderator Tester

    Messages:
    1,916
    well, no, you must do it as they are respawning.

    i modified DoSpawnPlayer in TDM.as with:
    Code:
                if ( player.getTeamNum() == 0 && p_info.blob_name == "archer" )
                {
                    p_info.blob_name = "archer";
                }
                else if ( player.getTeamNum() == 0 )
                {
                    p_info.blob_name = "knight";
                }
                else if ( player.getTeamNum() == 1 && p_info.blob_name == "skeleton" )
                {
                    p_info.blob_name = "skeleton";
                }
                else if ( player.getTeamNum() == 1 )
                {
                    p_info.blob_name = "zombie";
                }
    
    sorry for doubting your ability before, as most programmers would try to find a method to overwrite if there isnt a variable for it.
     
    Froghead48 likes this.
  2. jackitch

    jackitch :(){ :|: & };: Global Moderator Donator Tester
    1. SharSharShar - [SHARK]

    Messages:
    249
    OP updated. Two servers up and running:

    SHARK | UNDERWATER WAR (Rayne figured out how to make us all aquamen!)

    SHARSHARSHAR [SHARK INC.] (Standard TTH with interesting custom maps)
     
  3. Yagger

    Yagger Kouji's bitch 5eva Staff Alumni Tester
    1. SharSharShar - [SHARK]

    Messages:
    646
    WE MUST CELEBRATE

    --- Double Post Merged, Sep 15, 2013, Original Post Date: Aug 11, 2013 ---
    can we make this alive again
     
  4. MrIcarus

    MrIcarus Arsonist
    1. SharSharShar - [SHARK]

    Messages:
    80
    Does this mean we can make this the new Action thread.