Breakthrough Multiplayer Scripting

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
User avatar
Sir_Ryan
Corporal
Posts: 28
Joined: Sat Jul 05, 2003 11:28 pm
Location: United States
Contact:

Breakthrough Multiplayer Scripting

Post 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.
<><
Sir_Ryan
SirRyan.Pure-Fun.Com
[It's the Cheesiest]
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

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

۞
Abyssus pro sapientia
Olympus pro Ignarus
۞

AND STUFF™ © 2006
Post Reply