Page 1 of 1

Breakthrough Multiplayer Scripting

Posted: Fri May 14, 2004 6:42 pm
by Sir_Ryan
Ok, I posted a while back about spawning weapons via MOHAA MP scripts, through a tutorial written by Blazin (here) and I had my question answered.

I'd like to know how to do the same for Breakthrough, but the problem is, I can't seem to get it to work the same way I did for MOHAA. I'm sure I've got the scripting right, but I think the paths may be different or something.

For example, this is what I had for a Remagen map fix script for MOHAA:

Code: Select all


//=========================
//RESPAWING MP40 SCRIPT

local.fix1 = spawn weapons/mp40.tik 

local.fix1.alwaysdraw = 1 

local.fix1.origin = ( 3432.53 -1069.00 70.00 ) 

local.fix1.angles = ( 0 0 90 ) 

I edited the "mohdm3.scr" file to include a "exec mapfixes/fix3.scr" right after the "level waittill spawn" line, and it worked fine.

But when I tried the same thing with Breakthrough (I extracted the same script files to the "maintt" folder), it doesn't work. Any suggestions?

PS - I'd also like to know how to add scripting for the Spearhead maps and Breakthrough maps, such as Stadt, Palermo, etc.

Thanks.

Posted: Sun May 16, 2004 5:55 pm
by lizardkid
alright, old topic i know, but i think i can help you. with the ps at least.

use this..

Code: Select all

thread mystuff //at the end of the script, after everything else....

end

mystuff:

//anything at all....

//really....

end
try this for your BT fixes, extract it to the maps subfolder as well..