Jump to content
MakeWebGames

How to create NPC's for Battle Tents


IslandMafia

Recommended Posts

You should be able to create a user in your staff panel.

After you do that i believe you go into like.... battletent.php or something like that and add the user ID of the NPC you created into the NPC section. I'll take a look again in a few and tell you exactly how.

ok i found it

 

go into battletent.php and find:

$h->endpage();
die("");
}

 

under that you should see something like...

$bots=array(7,8,9,532,533,534,535,536,720,721,722,585,820);
$moneys=array(1000,5000,10000,50000,100000,100000,100000,100000,1400000, 1400000, 1400000, 5000000, 10000000);

 

the 7,8,9,532,534 etc is the USERID of each bot, just delete those and add the ones of the bots/npc battlers you created.

the number under that like 1000,5000,10000 is how much money you make for each NPC. for example. NPC 1 aka ID number 7 will give you 1000 money, npc2 aka ID 8 will give you 5000 and so on and so forth.

Hopefully that explained your question.

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
Reply to this topic...

×   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...