» TeamX (Архив Форума)«


Форум TeamX » English Forum » Fallout 2: NV Scripts (about the new scripts in New Vision mod)

Переход по темам
<< Пред. След. >>
Страницы этой темы [ 1 2 ] Все собщения

 
Mangler
Member

Регистрация: Янв. 2005

Всего: 22 сообщения

The scripts in New Vision do some pretty neat things, and many people are impressed by them. (me included)

I was thinking of doing perhaps my own little fallout mod.

It would take the Super-tool kit and add an extra script to allow the user to modify his existing guns.
Like how some merchants and 'Algernon' do it in New-Reno.

I would love to see the source code for these scripts, as they would give me some really good examples of how to code under the F2 environment.

It would help all of us, because we could all learn from these scripts and be able to make better mods.

Also I know my way around compilers. And I like C.

Отправлено: 20:52 - 6 Фев., 2005
Wasteland Ghost
Маленькое Злое Привидение

Откуда: Россия, Самара
Регистрация: Дек. 2002

Всего: 2251 сообщение

How can I refuse to man, who likes C? :)

OK, we will think about it. But this sources are wery... hazy. Hm-m-m... I don't speak english, actually... :)

Отправлено: 22:51 - 6 Фев., 2005
Raven
Пользователь

Откуда: Владик
Регистрация: Февр. 2004

Всего: 408 сообщений

I can send you Poker game scripts (Lucky and Phill from the Golden Gecko bar at Klamath). But it`s about 70 kb of not-so-simple code slightly commented in russian :-)

BTW, did not-russian scripters know about interface mode (ability to create your own windows - CreateWin, ShowWin and so on), say-mode (ability to create your own dialog windows - SayStart/SayEnd, SayReply and so on) and commands like soundplay (play raw wav files) or SelectFileList? We have a lot knowledge to spare, but don`t have a translator for it :-( As you can see, our English is awful.

(Отредактировал(а) Raven - 7:43 - 7 Фев., 2005)

Отправлено: 0:39 - 7 Фев., 2005
Mangler
Member

Регистрация: Янв. 2005

Всего: 22 сообщения

Actually, I have a tiny bit of past experience working with russian technical documents. (Silent Storm, good game but nearly all the good modding info is in russian!)

Yeah I agree the source code would be tricky to read with Russian comments, but not impossible.

It would not be just me, there are several other modders interested in the code. So I hope the bunch of us together would be able to decipher the comments, and learn the inner workings of your masterpiece.

These capibilties are known but I have seen only 2 or 3 mods actually USE those functions and the source code can be hard to get.
Its possible that some of the fuctions ARE new (to me).

I like to learn by example, as well.

Отправлено: 19:12 - 7 Фев., 2005
Raven
Пользователь

Откуда: Владик
Регистрация: Февр. 2004

Всего: 408 сообщений

>>but I have seen only 2 or 3 mods actually USE those functions

Drop a link, plz.

>>I like to learn by example, as well.

Place some .pcx file in data/pcx/111.pcx

-----------------------------------------
procedure start begin end

procedure look_at_p_proc begin
       script_overrides;
       display_msg("Simple talking object");
end
       
procedure test1 begin
       //goto "NodeM" sayreply
       saygotoreply("NodeM");
end    

procedure test2 begin
end    

procedure test3 begin
       give_exp_points(5000);
       saygotoreply("NodeBye");
end    

//НАЧИНАТЬ ЧИТАТЬ ОТСЮДА
procedure description_p_proc begin
       script_overrides;
       //Reply window options (coords, width, height, background in .pcx format);
       sayreplywindow(10,10,100,200,"pcx/111.pcx");
       //Options window
       sayoptionwindow(110,10,100,200,"pcx/111.pcx");
       
       //justify: 0-left, 1-right, 2-center
       sayoptionflags(2);
       //setoptionflags==sayreplyflags.
       sayreplyflags(1);
       
       //Reply window background
       sayreplycolor(0.25,0.35,0.10);
       
       //Spacing between sayoption
       saysetspacing(15);
       
       //Set font file (.fon, not .aaf)
       setfont(5);
       
       //Space in px from edges of window to text
       sayborder(7,10);
       
       //Dialog start
       saystart;
       //Window title
       sayreplytitle("Simple dialog");
       //"NodeHi" - reply name, "Hi" - reply text
       sayreply("NodeHi","Hi, my name is " +obj_name(self_obj));
               sayoption("Hello","NodeM");
               //Option text, target (both reply name or procedure name)
               //sayoption("Hello",test1);
               //Exit throught empty procedure
               sayoption("Bye",test2);
       sayreply("NodeM","How are you?");
               sayoption("Fine",test3);
               sayoption("Bye",test2);
       sayreply("NodeBye","Well, see you");
               //if there is only one option then option window wouldn`t show. To continue click on reply window
               sayoption("Bye",test2);
       sayend;
end
-----------------------------------------

Отправлено: 4:38 - 8 Фев., 2005
Wasteland Ghost
Маленькое Злое Привидение

Откуда: Россия, Самара
Регистрация: Дек. 2002

Всего: 2251 сообщение

Here it is ;).

Отправлено: 11:26 - 8 Фев., 2005
Mangler
Member

Регистрация: Янв. 2005

Всего: 22 сообщения

WOW! Thanks! can other poeple have this as well?

Now to find my Hacking hat...

Отправлено: 0:04 - 9 Фев., 2005
Wasteland Ghost
Маленькое Злое Привидение

Откуда: Россия, Самара
Регистрация: Дек. 2002

Всего: 2251 сообщение

You can post this on any forum, news, site etc if you want ;). If you wanna redistribute this, just keep the original (very short :) readme inside ;).

Отправлено: 9:48 - 9 Фев., 2005
Mangler
Member

Регистрация: Янв. 2005

Всего: 22 сообщения

Thanks. Many people are quite pleased with your generosity.

but I'm having abit of trouble, I can't find the shaman mortar script:

ZISTUPKA.MSG is the associated message file, and there is even an ZISTUPKA.INT compiled-script.

I can't find the source code for it. Could you double check the .rar archive for this?
or is the script named very differently?

Thanks.

Отправлено: 22:31 - 9 Фев., 2005
Wasteland Ghost
Маленькое Злое Привидение

Откуда: Россия, Самара
Регистрация: Дек. 2002

Всего: 2251 сообщение

Archive was updated. Now, zistupka script is included ;).

Отправлено: 14:21 - 11 Фев., 2005
 

Переход по темам
<< Пред. След. >>
Страницы этой темы [ 1 2 ] Все собщения


Powered by Ikonboard 2.1.9 RUS
Modified by RU.Board Team
© 2000 Ikonboard.com