QUOTE |
if i could get any support which i know you tend not to offer. it would be great, |
QUOTE (HYDROX @ May 12, 2006 06:12 pm) |
here is my ultimate goal with your system. what i have done is developed a complex map for 4 teams on CTF each with they're own base. how could i set it up, so that all the flags are pre-placed always there.. so consistance setup won't be required for every match.... there are alot of custom type things like this that i would like to script, even do the testing with since i have 4 computers in my house with my roomates and we play consistantly.. perhaps it could be another variation of the game? a staff run game incase there's like 5000 players on one shard and ctf's start every 5 minutes =] if i could get any support which i know you tend not to offer. it would be great, i think a predefined system would work out in the long run for larger shards... |
QUOTE |
if (info.ButtonID >= 1000) { int team = info.ButtonID - 1000; //state.Mobile.Target = new CTFBaseTarget(m_gauntlet, team); Point3D baseloc = Point3D.Zero; switch (team) { // hardcode the base locations for as many teams as you would like case 1: baseloc = new Point3D(5450, 1150, 0); break; case 2: baseloc = new Point3D(5500, 1150, 0); break; case 3: baseloc = new Point3D(5450, 1150, 0); break; case 4: baseloc = new Point3D(5500, 1150, 0); break; } CTFBase newbase = m_gauntlet.FindBase(team); if (baseloc != Point3D.Zero) { if (newbase == null) { newbase = new CTFBase(m_gauntlet, team); // add the base to the gauntlet list m_gauntlet.HomeBases.Add(newbase); } newbase.MoveToWorld(new Point3D(baseloc), state.Mobile.Map); } state.Mobile.SendGump(new TeamsGump(m_gauntlet, state.Mobile)); } |
QUOTE (HYDROX @ May 13, 2006 08:21 pm) |
You rock, arte.. would it be okay with you if i continued to ask for help on my project? i don't expect immediate answers, but i'm extremely new to scripting,since your the god of this system, a bit of help would only mean the world to me heh, thanks. |
QUOTE (HYDROX @ May 13, 2006 08:29 pm) |
okay well i modified the script like mentioned, no error's so i'm good, now it's saying team 0 is not defined.. what could that be caused by? |
QUOTE (HYDROX @ May 13, 2006 08:32 pm) |
never set them to anything lol, like mentioned, i installed and hoping for the best lol |
QUOTE (HYDROX @ May 13, 2006 08:32 pm) |
alrght i'm a bit slow this evening, it's okay, i understand how to assign players now... next issue.. teams bases aren't defined, where would i modify those values. |
QUOTE (HYDROX @ May 13, 2006 08:53 pm) |
whgen i hit the base button nothing happens, perhaps because of the modification you had me do? |