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 bar [Improved] - Soap

View previous topic View next topic Go down

Drinks at bar [Improved] - Soap

Post by Pierry on Sat May 12, 2012 12:37 pm

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

_________________

Geth will take this easily.

Total Eclipse wrote:yes they do take this ass beating easily. Clone army vs Geth is like Pacquiao vs a 80 year old man with polio

Pierry
Admin
Admin

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

View user profile

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