Another 2 questions!

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
m4rine
Major General
Posts: 714
Joined: Fri Apr 11, 2003 5:28 pm
Location: UK

Another 2 questions!

Post by m4rine »

1. How do you make a rotating door with the hinge on the right open out from you instead of towards you?

2. I my single player map this guard keeps dropping health whrn he dies, I don't know how to stop this, please help!!!!!!!!

8)
"We must become the change we want to see in the world" (Mahatma Gandhi)
User avatar
wacko
Field Marshal
Posts: 2085
Joined: Fri Jul 05, 2002 8:42 pm
Location: Germany

Post by wacko »

Made a door?
One brush for the door, one for the hinge with texture origin?
Selected both and turned into func_rotatingdoor?
Fine!
Select the door, press 'n'.
If the door shall open just in one direction and it opens in the wrong direction, check 'opendirection', and it will open the other way.
If the door shall open always away from the player, enter key/value alwaysaway/1.
Now, give the door a key/value angle/###, where ### depends on how your door is standing in the top-view:
A | like door gets no angle or 0 or 180
a ----- like door gets an angle of 90 or 270 .
A / like door gets 135 and a \ gets 45. Always perpendicular to the doorbrush.
You could also search the forum, the biggest part of it is about rotating doors :wink:
m4rine
Major General
Posts: 714
Joined: Fri Apr 11, 2003 5:28 pm
Location: UK

Post by m4rine »

thanks - ill try it as soon as I get the chance, it sounds not too hard. Then again, when youre talking about someone like me doing it is almost certain to go wrong lol

:lol:
Last edited by m4rine on Fri Jan 02, 2004 8:22 pm, edited 1 time in total.
"We must become the change we want to see in the world" (Mahatma Gandhi)
User avatar
wacko
Field Marshal
Posts: 2085
Joined: Fri Jul 05, 2002 8:42 pm
Location: Germany

Post by wacko »

lol:
no prob! even I made it :wink:
Hashmark13
Major
Posts: 299
Joined: Mon Nov 25, 2002 12:20 am
Location: USA

Post by Hashmark13 »

there is some slight scripting to get AI to not drop health but the script effects all players.. i will get it for you
" If the automobile had followed the same development cycle as the computer, a Rolls-Royce would today cost $100, get a million miles per gallon, and explode once a year, killing everyone inside."
Hashmark13
Major
Posts: 299
Joined: Mon Nov 25, 2002 12:20 am
Location: USA

Post by Hashmark13 »

Code: Select all

//*** telling the AI to not drop health
	level.nodrophealth = 1
put this after your waittill spawn line... i dunno if it works i got the script from m5l2b the tank mission... i dont think you want a tank that can be healed with a health packet... so thats what the script is for... i hope it works im too busy to see for my self.
" If the automobile had followed the same development cycle as the computer, a Rolls-Royce would today cost $100, get a million miles per gallon, and explode once a year, killing everyone inside."
m4rine
Major General
Posts: 714
Joined: Fri Apr 11, 2003 5:28 pm
Location: UK

Post by m4rine »

thanks ill try that aswell and tell u if it works.

8)
"We must become the change we want to see in the world" (Mahatma Gandhi)
m4rine
Major General
Posts: 714
Joined: Fri Apr 11, 2003 5:28 pm
Location: UK

Post by m4rine »

both the opening-inwards door and the no health worked - thanks a lot Wacko and Hashmark13!

:D
"We must become the change we want to see in the world" (Mahatma Gandhi)
nuggets
General
Posts: 1006
Joined: Fri Feb 28, 2003 2:57 am
Location: U-england-K (england in the UK) :P
Contact:

Post by nuggets »

i don't know why i'm even posting now but i feel i need to type something :P

if u want to you can use $targetname.nodrophealth 1

this will stop the named target dropping health, but every1 still can, if that's what you want to do... i don't know bugger it, just thought i'd join in :P
hope this helps, prob not cos it's all foreign 2 me :-/
m4rine
Major General
Posts: 714
Joined: Fri Apr 11, 2003 5:28 pm
Location: UK

Post by m4rine »

that would be a good way buut you could just place a 25 health underneath the person you kill so it looks like he has dropped it

8)
"We must become the change we want to see in the world" (Mahatma Gandhi)
Post Reply