Forums Index >> Modding >> New idea for armies: Strategy Battle Arena
Page : <1> :
Thats easy...
I can do that but I have no way of getting to anyone
I am sure art, chilled, canned, etc can do it too
But I like to think that the chat functions are sorta my thing :)
Last edited: Monday, January 02, 2006 at 9:21:07 AM
You could do that.... Or.... To save time and effort...
a simple if statement will do in the chatmessageall function after the silencing junk
if($Game::MissionType = "SBA")
chatMessageTeam( %sender, %team, %msgString, %a1, %a2, %a3, %a4, %a5, %a6, %a7, %a8, %a9, %a10 );
That way the other games will work with normal chat and you dont have to totally change part of your admin script just for this gametype
booyah!!!! :P
Chat's a piece of cake
I dont see you making any chatloggers... :P :)
Last edited: Monday, January 02, 2006 at 3:44:50 PM
Warfare... I think the way you making it will cause on it seding to everyone and then to just the team... Try adding a return :)
Lol art :) whoops
yes.. Add a return; to the end of that..
monica,
locate the chat function in ACAS and put this in
if($Game::MissionType = "SBA")
{
chatMessageTeam( %sender, %team, %msgString, %a1, %a2, %a3, %a4, %a5, %a6, %a7, %a8, %a9, %a10 );
return;
}
and notice the gametype has to be named SBA for it to work
I JUST HAD AN AWESOME IDEA!!!!
what if this was turn based?
what if the Green team had 30 seconds to move and shoot and then it was Blue's turn?
During that 30 seconds of staying still without ammo the general could make more plans and then execute them the next turn!
I personally think this would be awesome!
If no one is doing so already I would like to work on this
Why not... I'm not making it, should be EASY thou ;) but really fun XD
Sorry monica must have missed you
Monica, that wont work dummy...
when you team chat, what'll happen is that the chat goes to your clientr efore you switch... Even if you switch the chat will NEVER be removed unless when it fades away...
One problem that I've noticed is that the If $GameType checks to see what YOUR settings are set to, not what game type you're actually in is. :[
So if you've been playing TBM on your server, then join a public scrum game, the gametype will still say TBM.
Instead of game try server
if($Server::MissionType = "SBA")
{chatMessageTeam( %sender, %team, %msgString, %a1, %a2, %a3, %a4, %a5, %a6, %a7, %a8, %a9, %a10 );
return;
}
Ooh... If that works I can use that! ;) Thanks!
Wrote the following block of code, and it's returning blank values for everything:
Function checkgametype(%val)
{
commandToServer('messageSent', "Missiontype: " @ $Server::Missiontype);
commandToServer('messageSent', "Teamgame: " @ $Server::Teamgame);
}
MoveMap.bind(keyboard,"ctrl x",checkgametype);
Just doublechecked it, and $Game:#### returns the latest setting you have set in your Create game screen.
Teamgame is 1 if a Team game, 0 if Indy.
Missiontype is "Deathmatch" or "Scrum"
Last edited: Thursday, January 05, 2006 at 8:28:12 PM
LOL :P. Use the demo-b-gone script to deal with that.
Anyone know why the $Server commands aren't working from client-side?
Page : <1> :
Ok. I was playing homeworld two yesterday, and I was thinkin "Hey, what if we could do someting along these lines for TT." Here's my idea: We take a normal server (S, BM,) and we make the two leaders or strategists observers. Then we make it so that instead of having to enter a code to TEAM chat, you have to enter a code for normal chat (ie, you can talk to yout teammates without restriction.) This way, it would be more like a general commanding troops. I am pretty sure it can be done, but not completely. Any scripters willing to try it out?
Pardon my rudeness, I cannot abide useless people.