Page 1 of 2

Entering things into stock Maps By Scripting?

Posted: Sat Mar 13, 2004 7:30 pm
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:

Posted: Sat Mar 13, 2004 10:30 pm
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.

Posted: Sun Mar 14, 2004 12:22 am
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:

Posted: Sun Mar 14, 2004 11:12 am
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 :)

Posted: Sun Mar 14, 2004 12:46 pm
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?

Posted: Sun Mar 14, 2004 12:50 pm
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.

Posted: Sun Mar 14, 2004 12:51 pm
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:

Posted: Sun Mar 14, 2004 1:05 pm
by Bjarne BZR
Sorry, I'll wait a bit next time ;)

Posted: Sun Mar 14, 2004 1:07 pm
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:

Posted: Sun Mar 14, 2004 4:24 pm
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

Posted: Sun Mar 14, 2004 8:24 pm
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 ).

Posted: Sun Mar 14, 2004 8:44 pm
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?

Posted: Sun Mar 14, 2004 9:03 pm
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.

Posted: Mon Mar 15, 2004 11:40 am
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:

Posted: Mon Mar 15, 2004 8:14 pm
by Bjarne BZR
Life is a bitch, and then you die. :twisted: