Changes to stock maps in MOHAA

General Discussion about Medal of Honor: Allied Assault and Pacific Assault.

Moderator: Moderators

Post Reply
User avatar
Ace of Spades
Major
Posts: 291
Joined: Thu Jan 30, 2003 8:50 am
Location: West Coast, USA

Changes to stock maps in MOHAA

Post by Ace of Spades »

Alright! I'm finally going to ask the stupid question. How does one change the stock maps that came with MOHAA like putting tanks and planes in certain places on the map? I was at this server tonight that changed the sounds even! When you went near a toilet, you heard it flushing! How weird! And the things people said and the sounds that you make when you get hit were changed also! How is that possible? Everyone who logged on to the server heard the same changed sounds! Someone, please explain this for me and how they do it!

Ace

:?
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

you put things into a map by spawning them in a script . Copy a stock script from one of the maps and add your changes to it , put it in a pk3 that is named after the letter p so that it loads after the game pak's keep the original script name and your script will be the one used
local.tiger = spawn script_model
local.tiger model "vehicles/tigertank_d.tik"
local.tiger.origin = ( 6446.5 -2513.3 1.8 )
local.tiger.angles = (0 -160 0)
to find the coordinates you can type whereami 1 into the console then click out side the console with the console still open and move your coordinates will be displayed in the console type whereami 0 to turn it off
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Why not do a search? ;)
Image
User avatar
Ace of Spades
Major
Posts: 291
Joined: Thu Jan 30, 2003 8:50 am
Location: West Coast, USA

Post by Ace of Spades »

jv_map wrote:Why not do a search? ;)
I tried, no luck. So, it seemed easier to ask then to search for an hour or so.
dirtybob
Sergeant
Posts: 62
Joined: Mon Apr 07, 2003 11:06 pm

Post by dirtybob »

bdbodger wrote:you put things into a map by spawning them in a script . Copy a stock script from one of the maps and add your changes to it , put it in a pk3 that is named after the letter p so that it loads after the game pak's keep the original script name and your script will be the one used
local.tiger = spawn script_model
local.tiger model "vehicles/tigertank_d.tik"
local.tiger.origin = ( 6446.5 -2513.3 1.8 )
local.tiger.angles = (0 -160 0)
to find the coordinates you can type whereami 1 into the console then click out side the console with the console still open and move your coordinates will be displayed in the console type whereami 0 to turn it off
arent the coordinates displayed also in the FPS "box"? in console type fps 1 to diplay, and fps 0 to turn them off.

thanks
DB
rich with the good taste of cancer.
better than the good part of the boob.
able to flash more bling than most possies in the room.

Don & Mike.
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

No I don't think you can see the coordinates in the fps 'box' :?
Image
dirtybob
Sergeant
Posts: 62
Joined: Mon Apr 07, 2003 11:06 pm

Post by dirtybob »

you are correct. i thought you could but it seems to be something else all together.

thanks
DB
rich with the good taste of cancer.
better than the good part of the boob.
able to flash more bling than most possies in the room.

Don & Mike.
TheShiznaeSpe
Major
Posts: 304
Joined: Wed Feb 05, 2003 11:45 pm
Location: US
Contact:

Post by TheShiznaeSpe »

u also need to edit the ambient.scr file so that the file exec ur script
Post Reply