Latest topics
» Help with trigger_usescript
Thu Sep 22, 2016 8:16 am by flanagon

» New Lugormod U# (Windows + Linux)
Thu Sep 22, 2016 7:03 am by Ufo

» Single Round Team Quest
Thu Jul 23, 2015 10:39 pm by agent6141

» iobject terminal
Thu Sep 25, 2014 2:39 pm by flanagon

» Usefull Downloads
Thu Aug 07, 2014 12:35 am by Kimmeh

» Television
Thu Jan 09, 2014 2:25 am by Mr. Swister

» Lugormod U# on server
Wed Jan 08, 2014 11:08 pm by Shadow

» Teleporter with effects
Thu Jan 02, 2014 5:51 am by Pierry

» Some possibly useful addons
Thu Jan 02, 2014 5:50 am by Pierry


Drinks at a Bar / target_powerup

View previous topic View next topic Go down

Drinks at a Bar / target_powerup

Post by Zkyo on Wed Mar 31, 2010 10:27 am

This will make a model of a wine bottle, and when pressed, you become drunk.

The Bottle
Code:
/place misc_model_breakable 0 model,map_objects/nar_shader/wine,spawnflags,193,target,wine

The Alcohol
Code:
/place target_powerup * targetname,wine,powerup,#

You can replace the # with these:

0 - Nothing
1 - Multiply the damage by the value in the cvar g_quadfactor.
2 - Protection from lava/acid, and protects from all radius damage. Also absorbs 50% of all damage.
3 - Force Pull effect.
4 - Red team flag
5 - Rlue team flag
6 - White Glow, like when holding a stash
7 - Singleplayer shield damage effect
8 - The sniper dodge effect
9 - Force Push effect
10 - Force Speed effect
11 - Cloaking effect (Just the effect. Npcs still see you.)
12 - Force Enlightenment
13 - Force Dark Enlightenment
14 - Force Boon
15 - Ysalarimi

Zkyo
Admin
Admin

Posts : 384
Join date : 2010-03-29
Age : 23
Location : Grand Rapids, Michigan, USA

View user profile http://lugorhelp.forumotion.com

Back to top Go down

I CAN MAKE A TV THAT CHANGES CHANNELS

Post by LEE on Fri Jun 18, 2010 9:47 pm

JUST PLACE A REMOTE WAT MODEL U WANT AND ADD A TARGET,TVCHANNEL

THEN PLACE AS MANY VIDEO REMAPS AS U WANT UNDERTHAT TARGETNAME

THEN PLACE TARGET_RANDOM * TARGETNAME,TVCHANNEL,TARGET,TVCHANNEL

ENJOY! Very Happy

LEE
Guest


Back to top Go down

Re: Drinks at a Bar / target_powerup

Post by Guest on Sat Jun 19, 2010 6:15 pm

LEE wrote:JUST PLACE A REMOTE WAT MODEL U WANT AND ADD A TARGET,TVCHANNEL

THEN PLACE AS MANY VIDEO REMAPS AS U WANT UNDERTHAT TARGETNAME

THEN PLACE TARGET_RANDOM * TARGETNAME,TVCHANNEL,TARGET,TVCHANNEL

ENJOY! Very Happy

nerd

Guest
Guest


Back to top Go down

Re: Drinks at a Bar / target_powerup

Post by LEE on Sat Jun 19, 2010 6:48 pm

NOU Twisted Evil

LEE
Guest


Back to top Go down

Re: Drinks at a Bar / target_powerup

Post by Pierry on Sun Jun 20, 2010 3:51 am

Mysterio stop abusing and insulting here!

Pierry
Admin
Admin

Posts : 154
Join date : 2010-04-26
Age : 24
Location : Cybertron

View user profile

Back to top Go down

Re: Drinks at a Bar / target_powerup

Post by Zkyo on Mon Jun 21, 2010 6:48 am

LEE wrote:JUST PLACE A REMOTE WAT MODEL U WANT AND ADD A TARGET,TVCHANNEL

THEN PLACE AS MANY VIDEO REMAPS AS U WANT UNDERTHAT TARGETNAME

THEN PLACE TARGET_RANDOM * TARGETNAME,TVCHANNEL,TARGET,TVCHANNEL

ENJOY! Very Happy

I thought you said you didn't know how to build, dragon. Anyways, i already have this one. Very Happy
http://lugorhelp.forumotion.com/submitted-guides-f1/television-t38.htm#48

Zkyo
Admin
Admin

Posts : 384
Join date : 2010-03-29
Age : 23
Location : Grand Rapids, Michigan, USA

View user profile http://lugorhelp.forumotion.com

Back to top Go down

Re: Drinks at a Bar / target_powerup

Post by LEE on Mon Jun 21, 2010 11:17 pm

ROFL DRAGON SAID THAT? LOL HES A NOOB IM NOT HIM IM LEE FETT

LEE
Guest


Back to top Go down

Re: Drinks at a Bar / target_powerup

Post by Zkyo on Tue Jun 22, 2010 6:49 am

O_O LOL, i thought you were dragon. He uses the username leejedi, so i figured you were him.

Zkyo
Admin
Admin

Posts : 384
Join date : 2010-03-29
Age : 23
Location : Grand Rapids, Michigan, USA

View user profile http://lugorhelp.forumotion.com

Back to top Go down

Re: Drinks at a Bar / target_powerup

Post by Soap94 on Fri Feb 03, 2012 4:20 am

I'd like to improve this guide, it's kinda poor tongue

Allright. Let's say you want to have a bartender. we'll put an Ugnaugh. I chose that model cause he reminds of Moe, the bartender of the Simpsons lol, but you can place any model you want.

So we'll do this:

Code:
/place lmd_actor 14 model,ugnaugh,torsoanim,BOTH_STAND1

If somehow he's stuck in the floor then just nudge him a bit.

Ok, now place and lmd_terminal

Code:
/place lmd_terminal * maxs,16 16 72,mins,-16 -16 0,message,^1B^7artender,cmd,^1R^7ed ^1B^7ull,target,bardrink1

Do /trace (#) on the lmd_actor entity to get his origin. Now do:

Code:
/spawnstring edit (lmd_terminal ent #) origin "X Y Z"

On the "X Y Z" type the same origin as the actor. We do this because this makes like an invisible box on him. Otherwise, people could just push/pull him around the whole map.

Ok. Now we'll place the drinks. The first drink will be "Red Bull". So what we are going to do is basically increase the player's speed.

Code:
/place lmd_speed * targetname,bardrink1,time,60,count,1000
/place target_powerup * targetname,bardrink1,powerup,10,count,60

I'll explain the keys in both cases:

lmd_speed
- time: How long (in seconds) you want the effect to last
- count: The speed you want (default is 120 if I'm not mistaken)

target_powerup
-powerup: The powerup (lol)
-count: How long (in seconds) you want the effect to last.

So now if we try it by doing /interact 1 on the bartender, you'll see that the Red Bull worked and now you'll be really fast for a minute. You can change any value with whatever you want. That's how a good bar is made. You can add 6 different drinks/snacks per terminal. I guess you'll figure out the rest by yourselves. That's all folks! Smile

Soap94
New User
New User

Posts : 19
Join date : 2012-01-16
Age : 22
Location : Argentina

View user profile http://lugormod.org

Back to top Go down

Re: Drinks at a Bar / target_powerup

Post by Sponsored content Today at 1:17 pm


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum