madyotto Posted March 11, 2012 Author Share Posted March 11, 2012 ok so i wanted to try to make a mass AOE type game and change the amount of npc's to a mapnow i can have up to 300 npc's on one map i will never use 300 but you have to delete maps to change this so i set it to 300 to play it safe (I only Recommend 100 per map)i will actually only ever use a max of 150pics of how this work are now at the bottom of the posthere is a NOOB friendly Tut on how to:1\. change the max map npc's2\. allow multi select in the map editor properties box(so in just 3 clicks i can add 300 npc's THIS IS ALL THANKS TO = Soul and Erwin (And me for the idea lol :P)Soul you are a real GENTso here goes1. To change the the max amount of npc's per mapopen your client VBP file > open mod constantsFind:```Public Const MAX_MAP_NPCS As Long = 30```you can now change the max limit to what you wantsimply replace the 30 with your required amountNEXT:repeat the above but with your server.VBPHINT = client and server max map npc's have to matchafter you have done this YOU WILL NEED to delete all of your map files in the server sideyou can now add as many as you required step 2\. (multi npc add)Open your client.VBP > Right click frmEditor_MapPropertiesand click view object then in the box that appears right click the lstnpc's boxthen click propertiesThen in the properties boxFind multi select and set the drop down to 2.extendednow right click the lstnpc's box and click view codeNow press Ctrl and F and:find``` ' make sure it's not a clear If Not cmbNpc.List(cmbNpc.ListIndex) = "No NPC" Then npcNum = CLng(Left$(tmpString(0), Len(tmpString(0)) - 1)) Map.Npc(lstNpcs.ListIndex + 1) = npcNum Else Map.Npc(lstNpcs.ListIndex + 1) = 0 End If```if the search doesn't find it click the search project button in the bottom left of the find boxnow replace that with:``` ' make sure it's not a clear If Not cmbNpc.List(cmbNpc.ListIndex) = "No NPC" Then npcNum = CLng(Left$(tmpString(0), Len(tmpString(0)) - 1)) Else npcNum = 0 End If For x = 1 To MAX_MAP_NPCS If lstNpcs.Selected(x - 1) Then Map.Npc(x) = npcNum End If Next```and you are good to go play :)control keys drag to select with mouseSHIFT to select many IE. select number one scroll down hold SHIFT and click the last number in the block you wantHOLD CTRL to select only the ones you click onPS. There is no support offered for the code as this is not my call and i can't do myselfbut it is fully tested with EO 2.0.0 :) =D Link to comment Share on other sites More sharing options...
UzGo Posted April 6, 2012 Share Posted April 6, 2012 After finishing tutorial: FUUUUUUUUUUUUUU…....... so many laggg !!! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now