something missing?

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
User avatar
ViPER
General
Posts: 1058
Joined: Fri Jan 14, 2005 5:48 pm
Location: California
Contact:

something missing?

Post by ViPER »

When i spawn light i get a white (or in AA yellow) diamond at the origin.
the light works but is the dummy.tik not working here or is something missing?

Code: Select all

local.lite = spawn script_model model "fx/dummy.tik" "targetname" "flashmarker"
local.lite.origin = (($whotrg.origin) + ( 0 0 100)) //was 140
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Ehh... does this involve a problem to be solved? Or is it just FYI? ;)
Image
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

Post by tltrude »

It is probably your compile options.
Tom Trude,

Image
User avatar
ViPER
General
Posts: 1058
Joined: Fri Jan 14, 2005 5:48 pm
Location: California
Contact:

Post by ViPER »

i am spawning light in stock maps - is the diamond normal ? or i thought it is some indicator of error ? Like when you see the missing texture grid, but the light effect is present. it's source, i thought should be nothing.
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

no

Post by tltrude »

No the diamond is not normal. The dummy tik has "+dontdraw", and should not draw the diamond. Here is what it looks like.

Code: Select all

TIKI
setup
{
	scale 0.52
	path models/fx/dummy
	skelmodel dummy3.skd
}

init
{
	server
	{
	      classname ScriptModel
		rendereffects +dontdraw
		notsolid
	}
}

animations
{
	idle     dummy3.skc
}
you could try using a visable corona model. model "fx/corona_red.tik" scale ".25"
Tom Trude,

Image
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post by Rookie One.pl »

This happened to me once when I swapped the healthpack model with dummy.tik and played on the net, the healthpacks would appear as diamonds. But what's the problem in your case I have no idea.
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
Post Reply