Entering things into stock Maps By Scripting?

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

Moderator: Moderators

Master-Of-Fungus-Foo-D
Muffin Man
Posts: 1544
Joined: Tue Jan 27, 2004 12:33 am
Location: cali, United States

Entering things into stock Maps By Scripting?

Post by Master-Of-Fungus-Foo-D »

Uhhh.... :? :?
Entering things into stock Maps By Scripting just confuses me :? . How do i know where im placing it without having to load the map 9billion times????

How do you give something a target or targetname purely by scripting?
Vehicle waypoints, pathnodes, ahhhh my brain is shorting out! :shock: :shock:

aaaaahhhhhh*pfffffiizzzzzzzztttttttt* :shock: :shock:
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

Here is a tut on spawning: http://dynamic6.gamespy.com/~rjukanproj ... hScripting

And to your help you have the "editscript" and "restart" commands.
1) use editscript to get a window ( in the game ) where you can edit the script.
2) Edit the script.
3) Save ( CTRL+s ) the script.
4) use restart to restart the map using the new version of the script.

Also there is the "coord" command if you want to get the coordinates of your cussent location.
Admin .MAP Forums
Image
Head above heels.
M&M
General
Posts: 1427
Joined: Sun Sep 14, 2003 1:03 am
Location: egypt
Contact:

Post by M&M »

1) use editscript to get a window ( in the game ) where you can edit the script.
2) Edit the script.
3) Save ( CTRL+s ) the script.
4) use restart to restart the map using the new version of the script.
oh yeah ,now u tell me .perhaps u should add this 2 the tips of the day or something so other ppl dont get their brains shorted out :wink:
Image
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

M&M wrote:oh yeah ,now u tell me .perhaps u should add this 2 the tips of the day or something so other ppl dont get their brains shorted out :wink:
You post it. I give you the honor. Go forth into the world and prosper :)
Admin .MAP Forums
Image
Head above heels.
Master-Of-Fungus-Foo-D
Muffin Man
Posts: 1544
Joined: Tue Jan 27, 2004 12:33 am
Location: cali, United States

Post by Master-Of-Fungus-Foo-D »

Bjarne BZR wrote:Here is a tut on spawning: http://dynamic6.gamespy.com/~rjukanproj ... hScripting

And to your help you have the "editscript" and "restart" commands.
1) use editscript to get a window ( in the game ) where you can edit the script.
2) Edit the script.
3) Save ( CTRL+s ) the script.
4) use restart to restart the map using the new version of the script.

Also there is the "coord" command if you want to get the coordinates of your cussent location.
how fdo you enter the "coord" command? and what do you mean by open the script editor in the game?
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

Well, you myst have the conole chckbox checked in your MOH:AA settings, then press the ? button ( the one under F1 ) in the game to get the console. Then you write the commands and press enter.
Admin .MAP Forums
Image
Head above heels.
Master-Of-Fungus-Foo-D
Muffin Man
Posts: 1544
Joined: Tue Jan 27, 2004 12:33 am
Location: cali, United States

Post by Master-Of-Fungus-Foo-D »

good lord!!! you scared me!

you responed in sceonds for goodness sake.

:shock: :shock: :shock: :shock: :shock: :shock: :shock: :shock:
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

Sorry, I'll wait a bit next time ;)
Admin .MAP Forums
Image
Head above heels.
Master-Of-Fungus-Foo-D
Muffin Man
Posts: 1544
Joined: Tue Jan 27, 2004 12:33 am
Location: cali, United States

Post by Master-Of-Fungus-Foo-D »

nah you dont need to wait.

im just surprized at how fast the response was

:shock: :shock: :shock: :shock: :shock: :shock:
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
Master-Of-Fungus-Foo-D
Muffin Man
Posts: 1544
Joined: Tue Jan 27, 2004 12:33 am
Location: cali, United States

Post by Master-Of-Fungus-Foo-D »

Oh an btw.

how do you enter a BRUSH into your map?
I want to make a floor elevator
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

master-of-fungus-foo-d wrote:Oh an btw.

how do you enter a BRUSH into your map?
I want to make a floor elevator
You don't. You can only scrip in entites ( like script models and triggers ).
Admin .MAP Forums
Image
Head above heels.
M&M
General
Posts: 1427
Joined: Sun Sep 14, 2003 1:03 am
Location: egypt
Contact:

Post by M&M »

is it possible 2 botify stock maps thru script? i dont know much about scripting or botifying but if it was possible i would learn :wink: .i know that bots need path nodes,so can i insert them into the map then add bots?
Image
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

This has been discussed in the BOT forum. I think you cant do it in any practical way with the current BOT version, but I saw a demo that jv_map did a while back that had bots that needed no pathnodes.
Admin .MAP Forums
Image
Head above heels.
Master-Of-Fungus-Foo-D
Muffin Man
Posts: 1544
Joined: Tue Jan 27, 2004 12:33 am
Location: cali, United States

Post by Master-Of-Fungus-Foo-D »

Bjarne BZR wrote:
master-of-fungus-foo-d wrote:Oh an btw.

how do you enter a BRUSH into your map?
I want to make a floor elevator
You don't. You can only scrip in entites ( like script models and triggers ).

Well that sucks. :cry: :x :evil: :evil: :x :cry: :( :( :evil:
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

Life is a bitch, and then you die. :twisted:
Admin .MAP Forums
Image
Head above heels.
Post Reply