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 - Menaze

#1
hi,

i'd try making a batch file. (read a batch tutorial first, to learn how to code it -it's easy)

-always start agsgame with this batch
_______________________
in ags:
-press download button
-save a variable xy to some .txt file
-ags_quit
_______________________

in .bat:
-check variable xy in .txt file
-if xy is != 0 then
-start download manager (check settings for your dm to access your website etc.)
________________________
in download manager (thats a part i don't know much about):
-maybe your download manager tells you when it has downloaded the file, use this information to return to the batch file (this might be difficult)
-if so start an install or patch maker from within the batch file.
-if not, try to start it from within the dm
________________________
a patchmaker (www.clickteam.com -it's freeware) should do the rest. (it's easy too...)



additional:
-hide ags.exe in windows, to make sure every user opens the batch
-use an batch_to_exe_tool to make your .bat file an .exe, you can also make an icon for it.
       


also, in ags you can use dorcan's filenet plugin, to download/upload SMALL files from/to
a website:
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=28261.0

*menaze*
#2
It seems as if I have to do it the "animate-object-way" then.
But its a lot of work, especially if you have to sync sound and picture with so many frames :-(  Nontheless, the FLC part sounds good. I'll try that.

Still I'm not completely satisfied.
Is there a good plugin-writer out there, who can tell if a plugin like this is possible?
As far as I know, AGS plugins are written in VisualC++
So does VC++ provide a function that simply shows movie-files (avi/mpg/etc.) at  specific coordinates. Would it be possible to make a plugin of this function and so import it to AGS? Well, most probably it's not that easy, is it?

Still, if somebody has a good idea on how to do this, I'd appreciate every suggestion.  Thanks so far proximity and Ashen :-)

#3
I want to make a cinema-room soon. But what is a cinema without movies, i asked myself?  I tried a testroom already, putting an animated object with frames of a movie in it. But object animations are limited and it's hard to do it frame by frame, too.
I don't want to use PlayMovie, because it's Fullscreen only.


So, do you know of a plugin that displays movies in the background? Is it possible to make one?
Do you know of a tool/plugin that, lets say, converts a movie into an ags-readable file from which you can f.e. use raw-draw-image or so?

I hope I made it understandable. I think this would be very useful since there are many possibilties, like computers, cinemas, televisions, other animations... that could use this. Don't get me wrong, I don't want to show "Lord of the Rings " in this cinema, but like a little 100*60 screen (or even smaller) with a small movie of lets say 60 seconds film or so. I'm not so familiar with formats yet, but one could resize the movie/reduce quality in another program...

Anyone else who thinks this is useful, please post your suggestions here...

Maybe I should post a "suggestion: avi's in rooms" ??? No i better don't :-)

*Menazerus*
#4
Here is another 2D fight script.
I made it to provide a boxfight to my game.
It allows you to start a fight between player character and an enemy.
-You can declare lots of atributes f.e. health, distances, powerofhit in different
body regions (high hit ,middle hit, low hit), idleness time...
(the current enemy is a normal person, not too weak and not too strong)
-You can control the player by the keyboard (f.e.numpad)
-You can have lots of different enemys easily.
-Status bars included.
-enemy has "Artificial Intelligence", well it looks good for me...
-You do not need to write tons of code. One command starts the fight!
-You just need ONE view for the whole animation
(that's mainly why I had to do this, the other box scripts need thousands of
  views, here any character needs just one single view.)
-Actions are: hit(high,mid,low, each: 2 different animations possible),
                     parry(h/m/l),
                     step forward/backward,
                     getting hit(h/m/l),
                     dying(no more health)

Here is the script for you, it comes with documentation/help...

RTF-Document:
http://www.uni-weimar.de/~bockstet/menace/characters/Boxscript.rtf
Html-Document:
http://www.uni-weimar.de/~bockstet/menace/characters/BoxFightScript.htm


Have Fun *Menaze*
#5
I did a small conversion, it worked for me. It has 32-bit resolution though.

Format: .Avi
File size: 62 kB
Divx 6 required

Get it here
http://www.uni-weimar.de/~bockstet/menace/characters/Test1.avi

Well, as Snarky mentioned you should use f.e. VirtualDub to convert your file to the wanted format and stuff... I also would recommend VirtualDub because its easy to handle and freeware.
#6
Wow Dorcan, thats awesome!!!

That plugin is great. I will try it out. Also I'm curious how this will develop. There's quite a lot potential in this plugin.
Man, I think I will try to learn to make plugins, too. This increases everybodys options to the max... 

Well, I think I'm busy now... Thank you
#7
Well, I dont have any experience with the tcp/ip plugin yet. It makes multiplayer games possible. But can it also access a web server? Also i would need a function that saves the variable in a file on the server...?
Maybe someone who is more experienced with tcp/ip can help.

I also thought of another way,
I could make a batch build up like this (dont mind the syntax):

-----------------.bat-----------------
-open ags.exe
          ags filewrites test.php
-open test.php (when ags closed-it doesnt work as long ags is open,right?)
          test.php sends variables to server
---------------------------------------

does this make sense or am i wrong ? your help is very welcome...
thank you *Menaze*
#8
Hello,

I was wondering if i can send a variable to a website.
The Player of my Game would get the ability to send his/her score to my homepage, where it is saved in a txt./html./etc. file or something.

So here are my questions:

1. Is it possible to send something to the net via AGS?
2. If not can i do a workaround? F.e. using the tcp/ip plugin? (no idea if this could work, maybe someone can tell me)
3. If both, 1 and 2, dont work, can i make a bat. file or something similar build up
like this:    start ags-ags outputs variable-variable is send to the web?

I havent found any threads like this yet, maybe other people have thought of this already, maybe its useful for some games. In any case it would be a nice feature. What do you think. Can anybody help. Thank you *Menaze*


edit:
in case this works i have another question:
can i read a variable FROM the website and display it in my AGS game?
SMF spam blocked by CleanTalk