Spawning in BT

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
spy0012
Sergeant
Posts: 53
Joined: Thu Jun 17, 2004 10:09 pm

Spawning in BT

Post 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
Master-Of-Fungus-Foo-D
Muffin Man
Posts: 1544
Joined: Tue Jan 27, 2004 12:33 am
Location: cali, United States

Post by Master-Of-Fungus-Foo-D »

I had the same problem....
i couldnt ever spawn anything into BT. Its kinda creepy isnt it?
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
spy0012
Sergeant
Posts: 53
Joined: Thu Jun 17, 2004 10:09 pm

Modding

Post 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
Master-Of-Fungus-Foo-D
Muffin Man
Posts: 1544
Joined: Tue Jan 27, 2004 12:33 am
Location: cali, United States

Post by Master-Of-Fungus-Foo-D »

Why couldnt you do it before? Were you doing something wrong? TELL ME! :shock:
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
meowmix11
Lance Corporal
Posts: 24
Joined: Sun May 02, 2004 6:22 pm

Post by meowmix11 »

I think you gotta put the scripts in a pk3.
I will be unavailable and uncontactable form June 15 through June 25.
Master-Of-Fungus-Foo-D
Muffin Man
Posts: 1544
Joined: Tue Jan 27, 2004 12:33 am
Location: cali, United States

Post 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!
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
meowmix11
Lance Corporal
Posts: 24
Joined: Sun May 02, 2004 6:22 pm

Post 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.
Master-Of-Fungus-Foo-D
Muffin Man
Posts: 1544
Joined: Tue Jan 27, 2004 12:33 am
Location: cali, United States

Post by Master-Of-Fungus-Foo-D »

Editscript opens up the BSP script file IN the pk3..

shouldnt it?
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
meowmix11
Lance Corporal
Posts: 24
Joined: Sun May 02, 2004 6:22 pm

Post by meowmix11 »

Nope.
I will be unavailable and uncontactable form June 15 through June 25.
Elgan
Lieutenant General
Posts: 890
Joined: Tue Apr 13, 2004 10:43 pm
Location: uk
Contact:

Post by Elgan »

yes..

editscript opens the script related to the bsp or map that you are currently on
meowmix11
Lance Corporal
Posts: 24
Joined: Sun May 02, 2004 6:22 pm

Post by meowmix11 »

Ohhh sorry. I am so stupid. :oops: I thought he meant that it opens up the bsp!
I will be unavailable and uncontactable form June 15 through June 25.
Master-Of-Fungus-Foo-D
Muffin Man
Posts: 1544
Joined: Tue Jan 27, 2004 12:33 am
Location: cali, United States

Post 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:
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
meowmix11
Lance Corporal
Posts: 24
Joined: Sun May 02, 2004 6:22 pm

Post by meowmix11 »

Editscript only works for me in allied assault.
I will be unavailable and uncontactable form June 15 through June 25.
Post Reply