BOXES and SUCH

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
*Hellcats*Gallant
Private
Posts: 4
Joined: Thu Apr 13, 2006 5:52 am

BOXES and SUCH

Post by *Hellcats*Gallant »

I searched forever but couldnt find what i was looking for!

I have a freezetag server i need to add boxes into so you cant fall through the ground when frozen.

I know to do this i need to use the .scr file, but i am at a loss. How do i determine location for one? Is there a easy way to do this?

Really I just dont know what im doing!!!
neillomax
Lieutenant General
Posts: 880
Joined: Thu Jun 23, 2005 6:57 am

Post by neillomax »

This is out of an old script. Now I just usually put it all on one line...depends. When in map, with console enabled,goto location, open console, write coord and hit enter...will give you location. Write it down, open up script and type ( copy and paste )

local.fix1 = spawn script_model
local.fix1 model static/indycrate.tik
local.fix1.origin = ( 143 2914 256 ) YOUR COORDS
local.fix1.angles = ( 00.00 0.00 0.00 ) YOUR ANGLES
local.fix1.scale = 1.0
local.fix1 solid
local.fix1 nodamage
local.fix1 immune bullet
local.fix1 immune fast_bullet
local.fix1 immune bash
local.fix1 immune mg
local.fix1 immune grenade
local.fix1 immune explosion


If there is a negative sign, leave a space between it and the parenthesis.

I never played freeze tag, but it seems odd you would have to add something to keep from falling through..
*Hellcats*Gallant
Private
Posts: 4
Joined: Thu Apr 13, 2006 5:52 am

Post by *Hellcats*Gallant »

when you are frozen you fall through

Tried typing coord, where does it display? AM i Blind? It didn't list anything in console.
LiquorKraZy
Captain
Posts: 267
Joined: Tue Aug 10, 2004 5:38 am
Location: CA
Contact:

Post by LiquorKraZy »

you might be better off checking out this link if your falling through when frozen...it shouldnt do that and i think you'll save yourself a lot of trouble...

http://mefymods.clan-dwr.com/
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

SH

Post by tltrude »

Yep, looks like there is no good fix for Spearhead maps that do that.
http://mefymods.clan-dwr.com/viewtopic. ... ll+terrain
Tom Trude,

Image
neillomax
Lieutenant General
Posts: 880
Joined: Thu Jun 23, 2005 6:57 am

Post by neillomax »

After the game loads, and you get to the screen where you can make your options, like setting up controls, or changing the video or whatnot..... goto advanced.. up top put an "x" in the console and go down and hit apply. Start the map you want to work on. When you are at the spot you want to work on, open console ( ~ ) and type coord. Info will be near the bottom.
Post Reply