is Scripting neccisary?
Moderator: Moderators
is Scripting neccisary?
Hello again all. just one quick question. Can I make my map a.pk3 without any scripts? I've looked at every other map in pk3 form and they have close to 200 files in them and no folders to organize them. I just wanna know what the main files i need to add are, no more and no less. lol. thanks for the help.
-
Rookie One.pl
- Site Admin
- Posts: 2752
- Joined: Fri Jan 31, 2003 7:49 pm
- Location: Nowa Wies Tworoska, Poland
- Contact:
I wasn't employed by EA or soPKM wrote:other than jv, ...
Maverick, to distribute your map, make sure to include:
.bsp
.min
The .scr is optional (but I advise adding one as a tdm/dm script is less than 5 mins work).
Do not include:
.prt
.lin
.vis
Ofcourse, if you used any custom textures, sounds, models or a loading screen, include those as well.
ok, i've been trying every single thing i can think of and my pk3 will not register in my mohaa main folder. Is there anyway i can just send my files to someone who could put the map into a pk3 for me? I can send all the files that r needed but i cannot figure out a way to make this work for the life of me. any help would b nice. u guys can even change my map up if u like just make sure that anyone know that the map was changed/edited in a readme.(haven't writen one yet. lol.)
yeah, what he said^
Don't be scared of scripts, heres a very basic one, just keep messin with it.
[/code]
Don't be scared of scripts, heres a very basic one, just keep messin with it.
Code: Select all
Okay, open up "note pad" and copy this:
// Rage <-----Title of you map!
// ARCHITECTURE: Nemesis <-----Who made it!
// SCRIPTING: Nemesis <-----Who scripted the map!
main:
// set scoreboard messages
setcvar "g_obj_alliedtext1" "DIE" <-----A message if you have an OBJ map, but I just left it in!!
setcvar "g_obj_alliedtext2" ""
setcvar "g_obj_alliedtext3" ""
setcvar "g_obj_axistext1" ""
setcvar "g_obj_axistext2" ""
setcvar "g_obj_axistext3" ""
setcvar "g_scoreboardpic" "none" <-----Important to have set to none!
level waitTill prespawn
//*** Precache Dm Stuff
exec global/DMprecache.scr
level.script = maps/dm/rage.scr <-----point this to your ".scr" we are making!
level waittill spawn
end
There you go, save it as "yourmap.scr" in the directory where you map is saved!
Mine is "C:\Program Files\EA GAMES\MOHAA\main\maps\dm\rage.scr"
You can keep this ".scr" in that folder and it will execute even if you do not ".pk3" it!
how r u making ur .pk3 file?.....r u putting in the paths as they should be?.....remember even in a .pk3 file u still need the correct path to work u cant just throw them all in there together...ur .bsp and .min need to go to a maps/dm folder in ur pk3 then if u have a .scr file that will need to go in there too....the same maps/dm folder....any custom textures will need to go to a textures folder and so on....



