Map Mods

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

Moderator: Moderators

Post Reply
Xtreme
Private
Posts: 3
Joined: Wed May 12, 2004 4:14 pm

Map Mods

Post by Xtreme »

Hi, well I'm new and I wondering if anyone knows how to mod stock maps. Like adding cars, guns, crates to get on roofs that stuff. I tried some stuff but doesn't work. any ideas??
User avatar
Mj
Map Reviewer
Posts: 1394
Joined: Sun Apr 25, 2004 3:36 pm
Location: England

Post by Mj »

You can modify the script to add random objects i think... but ive never done it so youll have to wait for someone who knows to post :P

Mj
ImageImage
blue60007
General
Posts: 1247
Joined: Sun Mar 07, 2004 11:44 pm

Post by blue60007 »

Adding stuff can be done through scripting (only entities, not brushes). It can also be done with decompiling the map, which is VERY messy and would take hours and hours and hours of hard work to fix it up. But things can be added through the script...
Image
M&M
General
Posts: 1427
Joined: Sun Sep 14, 2003 1:03 am
Location: egypt
Contact:

Post by M&M »

well,as blue said .decompiling is very messy .practically its impossible to make an exact copy of the map after u decompile it and fix all the possible errors that might occur !!
however ,u can use decompiles to determine where ur guns ,crates (models & entities) will be spawned by script ,and to have a look at the general design of things :wink: .
look at the tutorial section ,it has a few scripting tuts :wink:
Image
MadMapper
Second Lieutenant
Posts: 170
Joined: Fri Apr 16, 2004 5:47 pm

Post by MadMapper »

You could make a model that was a wall and build a building out of them... :D
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

Admin .MAP Forums
Image
Head above heels.
Xtreme
Private
Posts: 3
Joined: Wed May 12, 2004 4:14 pm

Post by Xtreme »

Well thx for the info I'll try to learn the script stuff may take me abit. Did some scripting but not like this.
Xtreme
Private
Posts: 3
Joined: Wed May 12, 2004 4:14 pm

Post by Xtreme »

I forgot to ask is there a script program i have not found one.
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

Duncan Weir (Scorpio) made a "MOHAA script editor", or just use any text edtor ( I recommend http://www.textpad.com/ )
Admin .MAP Forums
Image
Head above heels.
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

editor

Post by tltrude »

There is also a simple in-game editor for the script. Just type "editscript" in the console. You have to hit Ctrl + S to save it. The modified version of the script will then show up in mohaa/main/maps/dm or obj.

You can then open it by changing the extension form .scr to .txt and using Notpad or Wordpad--any text editor.
Tom Trude,

Image
blue60007
General
Posts: 1247
Joined: Sun Mar 07, 2004 11:44 pm

Re: editor

Post by blue60007 »

tltrude wrote:There is also a simple in-game editor for the script. Just type "editscript" in the console. You have to hit Ctrl + S to save it. The modified version of the script will then show up in mohaa/main/maps/dm or obj.

You can then open it by changing the extension form .scr to .txt and using Notpad or Wordpad--any text editor.
Yes that ingame editor is handy for changing one or two things in your map while trying to debug the script. More handy than closing out of MOH then changing what you want, restart MOH and reload your map. Here you can just change, save, close out of the editor, then type 'restart' in the console.
Image
agentmad007
Brigadier General
Posts: 570
Joined: Tue Feb 24, 2004 3:52 pm

Post by agentmad007 »

restart dont apply change sometimes .....

better to reload the map i think :) that what i do (very usefull this command "editscript")

you can even edit your tiki file , your shaders ......but all those files dont have to be in a pk3 if you want to correct them and test whitout leaving moh

for tiki file and shaders or whatever( something that you can edit with notepad)

type editscript then file open. Here you ll see ".." .Select it to go to parent directory , then select the file you want to edit in the appropriate folder

:)
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

I usually test by running mohaa in a little window :) then I can make any required changes to the scripts using an advanced editor which is just a little bit more convenient than the ingame script editor :wink:
Image
blue60007
General
Posts: 1247
Joined: Sun Mar 07, 2004 11:44 pm

Post by blue60007 »

Yeah, personally I think that in-game editor is annoying, I always use Notepad, simple but effective.
Image
M&M
General
Posts: 1427
Joined: Sun Sep 14, 2003 1:03 am
Location: egypt
Contact:

Post by M&M »

restart dont apply change sometimes .....

better to reload the map i think that what i do (very usefull this command "editscript")
well,i havent seen that b4 .everytime i restarted the changed script would work fine ,unless u opened a different file . :wink:
I usually test by running mohaa in a little window :) then I can make any required changes to the scripts using an advanced editor which is just a little bit more convenient than the ingame script editor :wink:
i usually have mohaa in a window too !! but ofcourse my scripting abilites are limited (in comparison with urs jv ).so i dont need an advanced editor .
what does it do anyways? isnt an "editor" some program that u can type script in?
Yeah, personally I think that in-game editor is annoying, I always use Notepad, simple but effective.
there is also a notepad in mohaa :P just type notepad in the console (i think)
i agree also ,deleting and highlighting stuff is sometimes annoying ,but it stays alot more handier than having mohaa in a window and scripting in notepad :wink:
Image
Post Reply