Jump to content
  • 0

Bloody Branch Spawn Script


PapaZola

Question


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

hello its there posibble make bloody branch only can use at private mvp room map?

Quote

12103,Bloody_Dead_Branch,Bloody Branch,2,10000,,200,,,,,0xFFFFFFFF,7,2,,,,,,{ monster "this",-1,-1,"--ja--",-3,1,""; },{},{}

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.01
  • Content Count:  13
  • Reputation:   0
  • Joined:  08/19/20
  • Last Seen:  

check this post, 

 

49 minutes ago, PapaZola said:

hello its there posibble make bloody branch only can use at private mvp room map?

 

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  911
  • Reputation:   166
  • Joined:  11/27/14
  • Last Seen:  

Quote

I think for instances like this, it would be easier for a person to just modify the source quickly. For instance, look how PK is setup.


        if( battle_config.pk_mode )
            map[i].flag.pvp = 1; // make all maps pvp for pk_mode [Valaris]

We force all maps to PvP mode at loading in map::map_flags_init(). If you want to do like what you said where you'd rather allow branches on specific maps only, then I would do this:


        map[i].flag.nobranch = 1; // make all maps unable to use branches

Then in a script:


prontera,1,1,1    script    removenobranch    -1,{
OnInit:
    removemapflag "prontera",mf_nobranch;
    //rest of maps.
}

Have your script remove the mapflags that were set by the server at start and you have yourself a quick "limited" branch allowed area of maps.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...