Script viewing

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

Moderator: Moderators

Post Reply
Ace
Private
Posts: 4
Joined: Sun Sep 01, 2002 5:13 pm

Script viewing

Post by Ace »

Like I've said before, I'm a newbie mapper, and I was just wondering how you view the script files for the original game. I tried opening the pak3 files with a text editor (notepad) and all I got was a bunch of crap, no discernable words. Help please!
MC Disgruntled Goat
Lance Corporal
Posts: 22
Joined: Mon Sep 02, 2002 9:58 pm

Post by MC Disgruntled Goat »

Hey Ace

The notepad won't recognize the .pk3 format. Get pakscape ( Nemesis' site has it with a tutorial). It opens up the .pk3. Once you do that you will see .scr files, probably in a maps folder. I drag the .scr file to my desktop and then open it with notepad. That should work. Good luck! DG

Here's the link for Pakscape:

http://www.dafront.com/~nemesis/tut.htm
Ace
Private
Posts: 4
Joined: Sun Sep 01, 2002 5:13 pm

Post by Ace »

Thanks a bunch, this should make scripting a lot easier!
kdja
Captain
Posts: 254
Joined: Wed Jun 19, 2002 1:08 am
Location: Ireland

Post by kdja »

in game type "editscript" into the console

only found that out the other day.

try it

kdja
TMT Owner and Admin

www.modtheater.com

For all your modding needs !!!!!!!
ScorpioMidget
Lance Corporal
Posts: 21
Joined: Thu Jun 13, 2002 9:57 am
Location: Notts, UK
Contact:

Post by ScorpioMidget »

Yep editscript is very useful, especially as you can edit the script save it and then type restart in the console, to see how the new script performs.

Another useful console command is notepad

notepad is the same as editscript, the difference being the editscript auto loads the current script for the map your playing

*WARNING ... if you use editscript and save it, it saves a copy to the correct folder location, i.e. maps/obj/currentmap.scr

Problem is that if you then load the map in the future, the engine uses the script in that folder first (and ignores the one in pk3).

So make sure you either delete the scr when your finished, or copy it back into your pk3 so you don't loose the changes.
ScorpioMidget
Still has a soft spot for Mohaa.
Post Reply