scripting: moveto

Have questions about CoD/UO mapping that aren't covered in the tutorials section? Post here!

Moderator: Core Staff

Luke
Past/Inactive Team Member
Past/Inactive Team Member
Posts: 1774
Joined: May 31st, 2005, 12:42 am
Location: Cornwall, UK

Post by Luke » August 9th, 2006, 2:13 am

creator wrote:ok but.. why didnt u post here what i just asked than this message...
would be more helpfull than the 1 u just made... :shock:
you specifically asked for drofder before your late edit.

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13315
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Post by Drofder2004 » August 9th, 2006, 2:14 am

creator wrote:
Luke wrote: brush notsolid(); //delete
brush hide();
wait 5;
brush solid();
brush show(); // respawn
oooooohhhh drofder :) baby :P
u know how this works :)?
if yes please explane it to me :(
and can u tell me how to make like walls half a circle
in cod1)
and no i dont want to make a cylinder

or luke)
or anyone else)
I'm not your "baby" and ofcourse I know how it works...
It simply hides and makes script_brushmodel non solid.

Nothing needs explaining, make a brush a brushmodel, and hide it usig the above code.

Make a cylinder then cut it in half using the clipper tool.
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

creator
CJ Worshipper
CJ Worshipper
Posts: 492
Joined: July 6th, 2006, 11:37 pm
Location: The Netherlands
Contact:

Post by creator » August 9th, 2006, 2:18 am

and will it just respawns and remove every 5 seconds?
and where will it respawn?
and when will it be remove?
and where will it be respawned to
and where will it be removed to
and will u still be able to see/walk against it?

and i know ur not my baby

and i say alot of and
and?
Cod 1 Mapper&Modder&Moddeler

creator
CJ Worshipper
CJ Worshipper
Posts: 492
Joined: July 6th, 2006, 11:37 pm
Location: The Netherlands
Contact:

Post by creator » August 9th, 2006, 2:21 am

and!!!
im currectly trying to make a escelator for fun :)
and!!! scripting 8 threads in script -.- gonna take a while double check targetnames....
check the co-ordinants (hard word :roll: )
and i like the word: and
Cod 1 Mapper&Modder&Moddeler

creator
CJ Worshipper
CJ Worshipper
Posts: 492
Joined: July 6th, 2006, 11:37 pm
Location: The Netherlands
Contact:

Post by creator » August 9th, 2006, 2:26 am

hmm nice picture
quickly made with photoshop?
needs a background :(
but ok i shut up just wana know how it works and stuf...
thats what this forum is about!!!!
Cod 1 Mapper&Modder&Moddeler

creator
CJ Worshipper
CJ Worshipper
Posts: 492
Joined: July 6th, 2006, 11:37 pm
Location: The Netherlands
Contact:

Post by creator » August 9th, 2006, 2:28 am

give it a background then put it on a website!

(this is wat i mean with "lets talk on msn otherwise spam")
Cod 1 Mapper&Modder&Moddeler

Luke
Past/Inactive Team Member
Past/Inactive Team Member
Posts: 1774
Joined: May 31st, 2005, 12:42 am
Location: Cornwall, UK

Post by Luke » August 9th, 2006, 2:29 am

KillerSam wrote:
KillerSam wrote:
KillerSam wrote:Image

creator
CJ Worshipper
CJ Worshipper
Posts: 492
Joined: July 6th, 2006, 11:37 pm
Location: The Netherlands
Contact:

Post by creator » August 9th, 2006, 2:37 am

Drofder2004 wrote:
Make a cylinder then cut it in half using the clipper tool.
u cant cut it in half

Code: Select all

Deslecting patches for clip operation.
Cod 1 Mapper&Modder&Moddeler

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13315
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Post by Drofder2004 » August 9th, 2006, 3:05 am

Way to many questions, not enough research. I learned everything I know from Modsonline and from personal teaching (in other words trial and error).

I cannot answer everything, you need to try things for yourself and see if you can get them to work.
If you cannot do it for yourself, check for tuorials at ModsOnline.com
If then you still cannot do it, ask for help here.

Do not spam questions, as I wont answer them.
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

Pedsdude
Site Admin
Site Admin
Posts: 15914
Joined: October 15th, 2004, 7:18 pm
Location: UK

Post by Pedsdude » August 9th, 2006, 7:41 pm

Seconded, it gets annoying when you ask me loads of questions on xfire that could easily be found with a small amount of research.
Image
Image

User avatar
Grom
Past/Inactive Team Member
Past/Inactive Team Member
Posts: 738
Joined: March 30th, 2005, 12:29 pm
Location: Norway

Post by Grom » August 9th, 2006, 9:35 pm

Plus, when we are into this, would be better if you wrote on a couple of lines instead of like 10. Easier to read :wink:

creator
CJ Worshipper
CJ Worshipper
Posts: 492
Joined: July 6th, 2006, 11:37 pm
Location: The Netherlands
Contact:

Post by creator » August 9th, 2006, 10:32 pm

marshall
i found lots of bugs in it

main()
{
thread door_slider ();
}

door_slider ()
{
door = getent ("slide ", "targetname”);
trig = getent ("slider_trigger ", "targetname”);
while (1)
{
trig waittill ("trigger");
door moveto ((100,200,300), 1); ///// ure brush will move to them co-ordinates in one second
door waittill ("movedone”);
wait (4);
door moveto ((120,220,320), 1); //// ure brush will move to them co-ordinates in one second
door waittill ("movedone”);
}
}

first of all:
" those instead of: ”

door = getent ("slide ", "targetname”);
trig = getent ("slider_trigger ", "targetname”);

red ones are wrong...
must be from modsonline?
Cod 1 Mapper&Modder&Moddeler

User avatar
Marshall
CJ Spammer!
CJ Spammer!
Posts: 820
Joined: December 10th, 2005, 11:28 am
Location: UK

Post by Marshall » August 9th, 2006, 10:36 pm

first things first..


Dont copy and paste script,

use the resource that i gave u ,

and rewrite it, whilst going through it bit by bit..

You will then learn to script by ure self then too,

Moving brushes is a very easy script to learn...



For more info, check out:- http://www.modsonline.com/Tutorials-read-121.html



Marshall

creator
CJ Worshipper
CJ Worshipper
Posts: 492
Joined: July 6th, 2006, 11:37 pm
Location: The Netherlands
Contact:

Post by creator » August 9th, 2006, 10:40 pm

yeah but im just telling the script u put in here is wrong
i know how to make scripts how to code them i know c++ but.. thats not the point
just trying to help out :(
Cod 1 Mapper&Modder&Moddeler

User avatar
Marshall
CJ Spammer!
CJ Spammer!
Posts: 820
Joined: December 10th, 2005, 11:28 am
Location: UK

Post by Marshall » August 9th, 2006, 10:42 pm

well that script is perfect for me,

so i suggest you either go through it,

or create youre own, by reading that tutorial ive posted twice..


(i personally get annoyed that no-one can be bothered to read it, wen at the end of the day, it will benefit them)


Marshall

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest