Forums Index >> Modding >> New idea for armies: Strategy Battle Arena



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.

Monday, January 02, 2006 at 8:34:30 AM

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

Monday, January 02, 2006 at 9:20:44 AM

Vote for the leader, kinda like the ACAS's Vote Kick feature. Chat's a piece of cake. Take Dash's team chat function and copy/paste it into the skeleton for the normal chat script.

Monday, January 02, 2006 at 9:49:38 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

Monday, January 02, 2006 at 3:43:55 PM

Will test that out now WF, TY!

Monday, January 02, 2006 at 4:23:17 PM

Hmmm, it didn't work... You put it in the base.cs, right?

Monday, January 02, 2006 at 4:32:30 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 :)


Monday, January 02, 2006 at 4:32:42 PM

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

 

 

 

 

Monday, January 02, 2006 at 4:37:26 PM

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

 

 

 

 

Monday, January 02, 2006 at 4:40:14 PM

Why not... I'm not making it, should be EASY thou ;) but really fun XD


Monday, January 02, 2006 at 5:27:25 PM

Hmm... It still doesn't work...:o What I had been doing was chatting, then immediately switching teams.

Last edited: Monday, January 02, 2006 at 5:52:08 PM

Monday, January 02, 2006 at 5:36:46 PM

Sorry monica must have missed you

 

 

 

 

Monday, January 02, 2006 at 5:53:21 PM

Email me Proud, I can handle this. :)

Monday, January 02, 2006 at 8:36:00 PM

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


Tuesday, January 03, 2006 at 6:27:45 AM

I tried it w/ other people...IT STILL DOESN'T WORK... Don't assume I'm that stupid.. ;)

Wednesday, January 04, 2006 at 3:04:29 PM

Did you change the game type to SBA?

Pray to GOD for him to reveal himself to you.

Thursday, January 05, 2006 at 1:55:11 PM

Did you change the game type to SBA?

Pray to GOD for him to reveal himself to you.

Thursday, January 05, 2006 at 1:55:17 PM

In fact, I changed the code block to say "Strategy Battle Arena" instead of SBA, and also changed the $Game::missionType to Strategy Battle Arena.

Thursday, January 05, 2006 at 2:31:58 PM

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.

Thursday, January 05, 2006 at 3:46:55 PM

Instead of game try server

 

 

 

 

Thursday, January 05, 2006 at 5:37:52 PM

 

 

                                        
if($Server::MissionType = "SBA")
{chatMessageTeam( %sender, %team, %msgString, %a1, %a2, %a3, %a4, %a5, %a6, %a7, %a8, %a9, %a10 );
return;
}

 

 

 

 

 

 

Thursday, January 05, 2006 at 5:38:27 PM

Ooh... If that works I can use that! ;) Thanks!

Thursday, January 05, 2006 at 7:46:24 PM

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

Thursday, January 05, 2006 at 8:20:46 PM

SBA stuff still does not work. :( Plus, I keep getting demos in my server, begging to know how to change tanks and the like.

Friday, January 06, 2006 at 3:49:52 AM

LOL :P. Use the demo-b-gone script to deal with that.

Friday, January 06, 2006 at 4:34:14 AM

Anyone know why the $Server commands aren't working from client-side?

Saturday, January 07, 2006 at 8:06:29 AM

Page : <1> :

insert quote insert url insert email insert image bold italic underline superscript subscript horizontal rule : : Help on using forum codes

Add comment:

HTML is disabled within comments, but ZBB Code is enabled.

Back to the top

Web site designed, maintained and funded by -z- and Dan MacDonald