sky wrighting

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
¤gunner¤
Lance Corporal
Posts: 10
Joined: Fri Sep 01, 2006 3:43 am
Contact:

sky wrighting

Post by ¤gunner¤ »

where would i find a script where u can wright stuff in the sky like OTC??
¤copy my name to help me spread around¤
†}®’{€
User avatar
At0miC
General
Posts: 1164
Joined: Fri Feb 27, 2004 11:29 pm
Location: The Netherlands

Post by At0miC »

I suppose u mean writing? You can try it with funcbeams in your .scr.

local.beam1 = spawn func_beam origin ( x x x ) endpoint ( x x x )
local.beam1 shader "textures/x/x"
local.beam1 color (x x x)
local.beam1 maxoffset 0
local.beam1 scale x.x
local.beam1 activate

You can either use 'shader' or 'color'. With 'shader' u can give the beam a texture, using 'color' u can give it a color in rgb. Using 'origin' and 'endpoint' u can set the size of the beam. Use 'scale' for the width.
¤gunner¤
Lance Corporal
Posts: 10
Joined: Fri Sep 01, 2006 3:43 am
Contact:

Post by ¤gunner¤ »

wht do you mean lgb whts that origin and endpoint where does that go i dont understand half of that can some thats good with talking to noobs help me??
¤copy my name to help me spread around¤
†}®’{€
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

Post by lizardkid »

origin defines the coordinate where you want the beam to start (it'll look like a laser), endpoint is the coordinate where you want the beam to stop.

scale determines how wide the beam is.

rgb stands for "red green blue", and any color visible with the human eye can be described in it. MOH uses an rgb scale of 0.0 to 1.0, in other words 1 0 0 in rgb would be pure red, 1 1 1 would be black, and 0 0 0 would be white, and so on. you could mix and match any decimals to get any color, .5 .4 .314 is a valid color, as is anything else like that.

Or, if you have a specific texture you want to use, you'd set a beam's shader instead of color; and it would appear with that texture.
Moderator

۞
Abyssus pro sapientia
Olympus pro Ignarus
۞

AND STUFF™ © 2006
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

Image
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

texture movie

Post by tltrude »

It might be easier to just make an animated texture and shader.
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 »

Not if you want it to be server-side.
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
SplitMeister
Private
Posts: 7
Joined: Tue Nov 21, 2006 4:15 pm

maybe an idea?

Post by SplitMeister »

Like this?

Image

Used the corona :) (took me 5,5 hours of coordinating) ;)
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

lol :D
Image
Green Beret
Major General
Posts: 746
Joined: Mon Apr 19, 2004 12:21 pm
Contact:

Post by Green Beret »

That looks more like Corona's

Deffinately a way to get ones attention :!:
Image
User avatar
ViPER
General
Posts: 1058
Joined: Fri Jan 14, 2005 5:48 pm
Location: California
Contact:

Post by ViPER »

I did mine like the old all day Malta HEX server.

Image

eventually I just made a custom mod to put up clan propaganda. lol

more screenies- http://thewarlegends.com/infomdp1.html

Image

Image
Devil_Dog
Warrant Officer
Posts: 140
Joined: Fri Feb 17, 2006 2:59 pm

Post by Devil_Dog »

Viper, do your flags wave in the wind or are they stagnant in that position?
If they wave...how do you do that?
Computers hate me!!!!!
User avatar
ViPER
General
Posts: 1058
Joined: Fri Jan 14, 2005 5:48 pm
Location: California
Contact:

Post by ViPER »

the flags wave - The banners and standards gentley sway.

The animations are set in the shader.

Code: Select all

twlflag10th
{
	qer_editorimage textures/models/custompics/twlflag10th.tga
	cull none
	deformVertexes flap s 128 sin .5 6 1   -1 0 2
	deformVertexes flap s 64 sin   1 3 0.5 -1 0 1.5
	{
		map textures/models/custompics/twlflag10th.tga
		rgbgen static
         }
}
Devil_Dog
Warrant Officer
Posts: 140
Joined: Fri Feb 17, 2006 2:59 pm

Post by Devil_Dog »

8-) Cool. Thanks :!:
Computers hate me!!!!!
Post Reply