Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Proskrito

#341
I was working on my lucasarts style game, and i started to make some custom functions that could make things easier later at scripting. And then, after reading a pair of questions about lucas interface, i thought it could be useful, with proper documentation, for newcomers or people who want to make a lucas type game quickly, if i released it as a template.So i started to 'modularize' it so it could be used for any kind-of-lucas game. Well, it wouldnt be exactly a template, but more like a 'sub-system' for AGS with functions optimized for lucas interface. there could be made templates for the 'sub-system' for different lucas games like MI2/FOA/DOTT, MI1/INDY3, Maniac Mansion/Zak McKraken....
Since AGS is by default more oriented to Sierra interface, it would be like a 'patch' for SCUMM easier support, with only a few functions.

Do you like the idea? could it be useful?
i could give more details, how it works etc if you want.
tell me please! :)

::::::EDIT::::: Released the first version for testing purposes.  Read my other post below and get the link there. Feedback will be much appreciated :) :)

CURRENT FEATURES

1- Easier way for defining and checking cursormodes (specially extended ones).
2- Map type rooms are handled by the template.
3- SCUMM-like interface, including:
    - Ability of assign predefined actions for hotspots, characters, inventory items and objects that will run with the right mouse button.
    - MI2-FOA-DOTT almost exact looking and working(some cosmetic issues :P) Save and Load GUIs, with up to 99 savegames. (maybe too many, but the games mentioned had 99 :) ).
    - Ability to assign actions to "Walk" modes
    - The main GUI works in the same way as the ones in MI2-FOA.
4- Some little functions i made for myself that i think could be useful.

NEW LINKS:
*fixed the "give" thing.
*added keyboard control
*other minor 'bugs'.
-Monkey island 2 styled
-Fate of atlantis styled (but still with Lucasfan's Guybrush an MI2 rooms)

( Is this the appropiate forum for this??? )
#342
it´s great!! i love the shapes and the work you did in shading!!
but, ehem... the bear's arm in the side view just look like a... eeemm... nevermind. ;)
#343
Critics' Lounge / Re:C+C on troll
Wed 04/06/2003 16:26:28
(going stereotypical:) What about making his jaw and his eyebrows bone (dont know its name) more prominet, making his lower lip overlap over the upper one, and show a tooth over it?
#344
about operating inventory items by clicking on the player, i would'nt like it so much, i would prefer operating them directly, as in lucas games. But, you wouldnt be able to use these items on anything else, so, as long as the item should be able to be used on other things as well as the player, i think it´s ok.
#345
or maybe he is asking about "score", as the points that you get doing proper things in the game, dont know.
#346
the function that makes your character walk to an object is MoveCharacterToObject (CHARID, int object), look in the manual.
for the hole thing, i would draw the background without the hole, draw a hotspot over the wall and name it "wall" or whatever,  and make the hole as an object. Then, when the mop with paint interacts with the wall, turn the hole object on.
I didnt understand the other problem, sorry. :-\
And welcome to the community. :)
#347
QuoteI tried to find it in the Help file, but all I could find was vague instructions.
well, the manual doesn't have a solution for every single scripting problem :-\, the"vague instructions" you mention is what you have to know in order to script things :). They wont tell you how to make a button that makes the score 0, it´ll just tell how to assign actions to a button, how the functions works, and so on. Then, it is you the one who has to mix everything. :D
Well, asking to your question, i think it would be something like:
first, you have to set the "left click" property of your buttons to "run script" (in the floating window in the gui editor)
next, if your interface name is "CLEARSCORE", the button that clears the score is #0, and the one that keeps it is #1, then you shoud put in the "interface_click()" function:
function interface_click(int interface, int button) {
 if (interface == CLEARSCORE){
    if (button == 0) {
       GiveScore(-game.score); // <- im not sure about this !
       GUIOff(CLEARSCORE);
    }
    else if (button == 1){
       GUIOff(CLEARSCORE);
    }
 }
...
}// end of interface_click() function

hope it helps
#348
the "nested function" stuff is often related to a missing } (at least for me) so i would check the { and }.
for the else if it should be something like:

function dialog_request (int parameter){
 if (parameter == 1) {
    Playmusic(3);
 }
 else if (parameter == 2) {
    yourscript;
 }
 else if .....
}


#349
I want to make a function that converts a string unformatted into one in lowercase but the first character in uppercase, like,if the string is:
"lOOk, a TRhEe heAded MonkEy", it would return:
"Look, a three headed monkey".
i thought of putting all in lowercase with "StrToLowerCase",
getting the first character with "StrGetCharAt", putting this character in uppercase and replace the first character with "StrSetCharAt".
BUT the main problem is that StrSetCharAt gets the character that have to replace the other as an integer, so i dont know if there is a way to do it.
Any ideas?

#350
use * and /
if you want (for example) multiply variables 'first' and 'second', and store the result in variable 'third', just write:
third=first*second;
it´s the same for dividing, but with / instead of *.
i´m not sure, but it should be in the manual.

(i think this should be in the begginers technical forum) ;)
#351
SCI fonts have more characters than AGS can display, dont know if they are 128, and in ags you can use less than 100 (if i remember correctly).
So i think Synthetique edited some of the characters that ags dont use in order to keep $,%,&, etc. And he is asking if he could use these characters. (what think is not possible at the moment)
#352
i assume that you areputting that code in "interface_click" function.
So, i think you should put in "on_mouse_click()" the following:

function on_mouse_click(int button) {
if (isGUIOn(6)==1 && button==LEFT) GUIOff(6);
if (button==LEFT) {
blah blah blah

I hope this works.
#354
I dont know if i understood correctly what syntetique said in this post, so i´ll ask this (sorry if it is the same)
I´ve noted that in SCI editor, you can draw more characters than you can use in AGS. Is there a way to use all of them, or you can only use the characters that appears in the preview window??
If you can only use these, would it be difficult to implement that?
#356
I've almost finished the Monkey Island 2 Credits font, but it lacks:
X, Y, x, z. (well, also ? and special characters)
If someone could take some screenshots of the "x", i would be able to finish it.  :) if not, i'll draw it :P

#357
ok, at least the K worked...  :D

What program?? hehe... i make it old school,  Play the game, pause, Print Screen, paste in any program as psp, resize and erase the surrounding background.  :)
#358
Which characters are free to replace??
i mean, i replaced some like [ or %, and then, when i used them, they did "strange" things. ([ beaks line and %d make the variable stuff, logically)
Is there a way for override (english?) that?? or i just have to assign my special charaters to different slots?? if so, what characters should i avoid??
thanks
#359
Oh, i feel sooo stupid :'(
First, i thought that the capital letters you needed were the really big ones...
Then i realized that those were not , and i thought "well, lets make Syntetique work a less hard" and i took each of them and arranged  them in a (the one below) little image for him"
And then, after hitting my head repeteadly against the keyboard, realized that you needed screenshots because each one is drawn at different vertical positions. (all of them are from the spanish version, most from the credits)

Well, i leave this for you, at least you can paste them in the sci studio, and later correct the vertical position thing.

Bottom ones -> capitals.  (note that the K is double sized)
hope it helps in any way

PS: The small capitals seems like half-sized big ones, so if you cant find some of those, they could be useful for you as a reference.

#360
mmm.... maybe you'll have to make some characters or numbers from scratch? ???

BTW, I ripped (sp?) the normal DOTT fonts, i didnt know if they had been ripped before, so i did it, they are here:

http://galeon.com/golfa/otros/fuentedott.rar
SMF spam blocked by CleanTalk