Alliedassault

Alliedassault (alliedassault.us/index.php)
-   MoH Maps, Mods & Skins (alliedassault.us/forumdisplay.php?f=11)
-   -   script for a ladder (alliedassault.us/showthread.php?t=39941)

U.S.I.G.1 09-03-2004 02:09 AM

script for a ladder
 
Hello. I have searched this forum, other forums and the internet hi and low for hours on end, read tutorial after tutorial, tried practicing time after time to no avail. Finally I end up here.

I have a question, and I would like an answer. Sorry, I don't mean to be rude, I just want a clear answer, not people yelling and flaming me because I don't know what I am doing.

I want to create a ladder on Southern France going up the north wall of the building by the gate at coordinates ( 752.85 -979.22 16.13 ). I want the ladder to go from the ground all the way up to the top of the roof. I have tried to make a ladder in MOHRadiant but the map will not compile ( it gives me a WARNING message that it cannot find a brush or something and the compiler stops running.) Now, I have found a post with a script to edit a ladder on a map, but I do not understand it. I am asking, is there a script for making a ladder on Southern France at the specifiied coordinates, and can someone give it to me? Thank you.

Scorpion -]M15F1T[- 09-03-2004 06:20 AM

Good job on the search cos i posted this in a different tread lo0l. edit it to your needs. There isnt a specific ladder fix for SF

"This is a cut from our forums from rindog (the guy who spawned spawn points 1st lol)

"Ladder fix for Stadt

Howdy All!

I wanted to share this script with you. It fixes the ladder in the SouthWest corner of Stadt near the Allied church. This is a Linux glich and I know you are running on a Linux box.

spawn script_object "targetname" "ladderbrush" "origin" "( -2520 3161 -182 )"
$ladderbrush show
$ladderbrush setsize ( -4 -32 -65) ( 4 32 235)
$ladderbrush.angles = ( 0 90 0 )
$ladderbrush solid

spawn script_object "targetname" "ladder" "classname" "func_ladder" "origin" "( -2520 3161 -182 )" "angle" "90" "model" "*ladderbrush"
$ladder setsize ( -4 -32 -65) ( 4 32 235)

hope you find it useful "

Scorp

U.S.I.G.1 09-03-2004 01:03 PM

Thank you for the help, but sadly your post on the ladder script was the 1 I was having trouble with.

I made a .scr file called fix1.scr for Southern France ( as instructed to me by http://www.branndonandbrianne.com/blazi ... _final.htm ) and placed the ladder script in the fix1.scr file. What is strange is that when I load Southern France the ladder is there, or rather SOMETHING is there but it is invisible, and I cannot climb it. Is there a part in the script you gave me that makes it invisible, or changes the textures so that I can see it? And do the words in "quotes" mean I have to insert a file/texture name into there?

Thank you.

By the way, it says the script is for Linux. I am using Windows XP Pro if that makes any difference.

Thank you.

Scorpion -]M15F1T[- 09-03-2004 01:47 PM

Remember in radiant when you make a ladder you need to put a ladder brush over it to "make" it a ladder? This is what you are spawning here.
It is as far as i know impossible to spawn textured brushes via scripting.
What you can do is spawn a model and then spawn this ladder brush over it.
Or do an invisible one and leave a little model by it to remind u the ladder is there.


Scorp

U.S.I.G.1 09-03-2004 02:07 PM

So let me get this straight. That script you gave me is for spawning the "ladder brush" that goes over the model to make it a ladder, and I still need to specify the "model" of the ladder?

Wait, wait, I think I know what to do. I am going to try something.

Thanks.


All times are GMT -6. The time now is 02:17 AM.

Powered by vBulletin® Version 3.8.12 by ScriptzBin
Copyright ©2000 - 2025, vBulletin Solutions Inc.
© 1998 - 2007 by Rudedog Productions | All trademarks used are properties of their respective owners. All rights reserved.