Search found 235 matches

by Broadus
Sun Dec 28, 2008 6:24 pm
Forum: Scripting
Topic: (SOLVED) How to force map to automatically change
Replies: 13
Views: 973

Well, now this problem has been solved in a different topic.
But, a voting system might be good to have in case of emergencies, like all the players get stuck or something... Hopefully I won't have any such emergencies, but I guess they're inevitable.
by Broadus
Sun Dec 28, 2008 6:21 pm
Forum: Scripting
Topic: (SOLVED) Restricting Spectators
Replies: 30
Views: 1678

Team Assault seems to cover the entire Spearhead campaign (I can't play it because I don't have Spearhead on this computer), and it might be plenty good, but it's a big download and requires all the players to download it. The goal with my mod is to make it so only the server needs the files. That ...
by Broadus
Thu Dec 25, 2008 5:38 am
Forum: Scripting
Topic: (SOLVED) Making console commands in a map script
Replies: 6
Views: 654

Well, I used bsptransition for method 1 and it sent me straight into the next level with the team and weapon I was using before, so it worked out really well.
by Broadus
Wed Dec 24, 2008 8:02 pm
Forum: Scripting
Topic: (SOLVED) Making console commands in a map script
Replies: 6
Views: 654

Wow, it worked!!! I think I'm in love. WELL NOT LIKE THAT
I wasn't trying to get attitude, I'm just saying, typing in "map ???" and "bsptransition ???" would not work. But using Method 1, I can now change maps at will! Perfect! Thanks again.
I don't need data to carry over from level to level. The ...
by Broadus
Wed Dec 24, 2008 1:16 am
Forum: Scripting
Topic: (SOLVED) Restricting Spectators
Replies: 30
Views: 1678

Gold wrote:wasn't Team Assault a aa coop mod?
Was it the entire original campaign?
by Broadus
Sat Dec 20, 2008 12:16 am
Forum: Scripting
Topic: (SOLVED) Restricting Spectators
Replies: 30
Views: 1678

But my point was I could set the skill.

Also, how does weaponcommand work? You just type $german weaponcommand 2 or what? I'm looking at the use of weaponcommand in stock files and it's like "weaponcommand mainhand" and it's meant for animations.
by Broadus
Sat Dec 20, 2008 12:09 am
Forum: Scripting
Topic: (SOLVED) Making console commands in a map script
Replies: 6
Views: 654

But just typing "map dm/mohdm1" DOESN'T work.
by Broadus
Fri Dec 19, 2008 6:16 am
Forum: Scripting
Topic: (SOLVED) Making console commands in a map script
Replies: 6
Views: 654

(SOLVED) Making console commands in a map script

Is it possible to put console commands into a map script? Like, put a console command like "skill 1" or "map m1l2a" in the map script so it's like the player typed it into the console, but the player didn't actually type it into the console.
by Broadus
Fri Dec 19, 2008 5:45 am
Forum: Scripting
Topic: (SOLVED) How to force map to automatically change
Replies: 13
Views: 973

So does anyone have any idea how to solve my problem in the first post?
by Broadus
Fri Dec 19, 2008 5:34 am
Forum: Scripting
Topic: (SOLVED) How to force map to automatically change
Replies: 13
Views: 973

Unfortunately, trying to use console commands as scripts, as in just typing:

Code: Select all

map m1l2b
into a thread doesn't work.
by Broadus
Fri Dec 19, 2008 5:13 am
Forum: Scripting
Topic: (SOLVED) How to force map to automatically change
Replies: 13
Views: 973

That line doesn't work in multiplayer.
by Broadus
Fri Dec 19, 2008 5:01 am
Forum: Scripting
Topic: (SOLVED) How to force map to automatically change
Replies: 13
Views: 973

Are you sure bsptransition works? Especially in multiplayer. I'm scripting for online multiplayer.

If I could somehow force a console command in the map script, then I could just use the console command "map ??????". I don't want to make the player, or the host, have to do the console commands ...
by Broadus
Fri Dec 19, 2008 4:52 am
Forum: Scripting
Topic: (SOLVED) How to force map to automatically change
Replies: 13
Views: 973

Are these scripts I put into the map?
I wrote them like this:

Code: Select all

bsptransition(m1l2a)

Code: Select all

map(m1l2a)
And nothing happened with either of them.
by Broadus
Fri Dec 19, 2008 1:27 am
Forum: Scripting
Topic: (SOLVED) How to force map to automatically change
Replies: 13
Views: 973

(SOLVED) How to force map to automatically change

In my co-op mod, all of the players are supposed to be on the same team. When the players beat the level, I call in "teamwin allies" and the Allies win.
The problem is, they won't consider it a successful round unless there was (or is?) a player on the Axis team. So instead of going to the next map ...
by Broadus
Fri Dec 19, 2008 1:14 am
Forum: Scripting
Topic: (SOLVED) Restricting Spectators
Replies: 30
Views: 1678

Well you needed the for statement today didn't you
Well, yeah, but you said that you didn't see me using it or something.
Use the weaponcommand command, works for players and bots. But wouldn't lowering AI damage be making it easier?
Use weaponcommand for what? For replacing their guns? I ...