Page 1 of 1

Spawning in BT

Posted: Tue Jun 22, 2004 2:26 pm
by spy0012
Hi Guys.

Having some trouble here

1. Is spawning different from SH to BT?

2. I am trying to mod Lib maps in BT but can never spawn anything, as anyone got any examples i can use as i am about to give up lol

Thanks in advanced

Here is the script i have made for tunisia

///////////////////////
level waittill prespawn
///////////////////////

//*** Precache Dm Stuff
exec global/DMprecache.scr
exec global/door_locked.scr



level.script = maps/lib/mp_tunisia_lib.scr
exec global/ambient.scr mohdm1

//init our switches
thread InitSwitches
thread fix // added myself

at bottom of script i added

////////////
fix:
////////////

local.sherman = spawn models/vehicles/tigertank.tik
local.sherman.origin = ( -2224.00 -1720.00 16.00 )
local.sherman solid
local.sherman immune bullet
local.sherman immune fast_bullet
local.sherman immune bash
local.sherman immune mg
local.sherman immune explosion
local.sherman nodamage

end

this does not seem to work in the map at all any ideas

Posted: Tue Jun 22, 2004 3:59 pm
by Master-Of-Fungus-Foo-D
I had the same problem....
i couldnt ever spawn anything into BT. Its kinda creepy isnt it?

Modding

Posted: Tue Jun 22, 2004 7:50 pm
by spy0012
I have actually spawned items into the map now, which took me a while to do, but i modded tunisia in our clan server

Posted: Sun Jun 27, 2004 6:26 pm
by Master-Of-Fungus-Foo-D
Why couldnt you do it before? Were you doing something wrong? TELL ME! :shock:

Posted: Sun Jun 27, 2004 6:37 pm
by meowmix11
I think you gotta put the scripts in a pk3.

Posted: Sun Jun 27, 2004 8:07 pm
by Master-Of-Fungus-Foo-D
Umm you can ALSo type EDITSCRIPT in to open up the scripts INGAME. Didnt you know that? Thats what ive been doing and my spawn scripting isnt working. I HAVE TO KNOW HOW YOU DID IT SPY!

Posted: Sun Jun 27, 2004 8:40 pm
by meowmix11
Just to let ya know, I did it easily by putting my script in a pk3. It worked for me! I did this in pk3:

maps
dm
mohdm1.scr <<<<This was modded

I hope this helps!



EDIT: You just can't use editscript in BT. I think BT dosnt read files in folders, inly in pk3s. If you want me to post a sample pk3, I can to help you out.

Posted: Sun Jun 27, 2004 9:02 pm
by Master-Of-Fungus-Foo-D
Editscript opens up the BSP script file IN the pk3..

shouldnt it?

Posted: Sun Jun 27, 2004 9:07 pm
by meowmix11
Nope.

Posted: Sun Jun 27, 2004 9:43 pm
by Elgan
yes..

editscript opens the script related to the bsp or map that you are currently on

Posted: Sun Jun 27, 2004 10:33 pm
by meowmix11
Ohhh sorry. I am so stupid. :oops: I thought he meant that it opens up the bsp!

Posted: Mon Jun 28, 2004 5:00 pm
by Master-Of-Fungus-Foo-D
Yeah.. its called editSCRIPT for a good reason lol :roll: :roll: :roll: :roll: :roll: :roll: :roll: :roll: :roll: :roll: :roll: :roll: :roll:

Posted: Mon Jun 28, 2004 10:49 pm
by meowmix11
Editscript only works for me in allied assault.