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

#221
Quote from: Gilbot V7000a on Tue 14/11/2006 16:04:28
What's the real problem then? Just declare it on top of the script and assign its value in game_start():

ok, big thanks it works this way.
#222
yes its a module its on top of the script, and i have no problems initializing vars with values directly,
so

float startAngle = 0.0;Ã,  <- this works
float radiance = ((startAngle-90.0) / 180.0) * Maths.Pi; <- this not

it works, when i put this in game_start, but i need them in different functions in game,
(rep_execute)

and the first test with

function game_start ()
{
float maxspeed = 5.0;
float startAngle = 0.0;
float speed = 0.0;
float radiance = ((startAngle-90.0) / 180.0) * Maths.Pi;

export speed;
export maxspeed;
export radiance;
}

and imports in the header file
brings this error
---------------------------
Compile Error
---------------------------
There was an error compiling your script. The problem was:

In: 'Drive Module'



Error (line 6): Local variable cannot have the same name as an import


i try to build a bird eye view car- driving module,
, first tests with the Rotate Function didnt work.
now i want to try it with different pics for the directions, dont know if i can get it to work.
#223
i want to initialize a var:

float radiance = ((startAngle-90.0) / 180.0) * Maths.Pi;

but get this error:
---------------------------
Compile Error
---------------------------
There was an error compiling your script. The problem was:

In: 'Drive Module'

Error (line 15): Expected floating point value after '='


is there a workaround?
#224
Quote from: Besh on Wed 27/09/2006 17:29:51
What do you think about a RACE GAME? ???

great idea,
bird-eye view driving modules.
#225
its magic, this morning i wake up with a new game idea,
its a very ambitious idea, not an adventure but rather a RPG - Sim.
a little bit of a mix between oil-imperium and theClou!
I have a good imagination how the programming can be done, but i was the whole day insecure with
the time management of the game, cause i need a lot of timers for this game, thats for sure.

so your module is a present of godÃ,  ;D, and a upper advice to make some real game out of this idea.

thanks, its a great thingÃ,  :)

#226
the funtion who causes the error in combination with the backgroundspeech was:
DisplayTopBar(5,14,8,"Grabinschrift","Wir werden ihn nie vergessen, egal wie er hieàŸ!");
no problem with normal player.Say commands, so i will use this instead.
#227
what you mean with "what name for the bgspeech overlay?"?
i use the backgroundspeech module from ssh version 2.03
with statements like this:

qDisplaySpeech(cSandyx,"Ohh ich glaube du hast ihn verärgert, jetzt ist er weg.");
.
.
.

2. yes i have renamed the files to musicxx.ogg, after moving it to the music folder
#228
1.
i got this errormessage, when two characters talking in the back, and the main character klicks on hotspots where other messages appear.


---------------------------
Adventure Game Studio
---------------------------
An error has occured. Please contact the game author for support, as this
is likely to be a scripting error and not a bug in AGS.
(ACI version 2.71.894)


Error: SayBackground internal error: no overlay

---------------------------
OKÃ,  Ã, 
---------------------------

2.
I need an looping sound during a larger animatingsequenz, problem is
with playsound i can play the sound only one time.

PlaySound(116);
oAuf.Animate(0, 25, eOnce, eBlock, eForwards); // duration 20 sec

with music, the sound will not play, i copied the sound in the music ordner and convert it to ogg, mp3, wav but nothing works, (it works without problems as sound)

SetMusicRepeat(1);
PlayMusic(39);

thanks for suggestions
#229
i used 7-zip now and get the whole thing uncompressed without troubles.
#230
when i klick extracting the files comes ->
the file "effect demo game_v10" is protected with a password,
please fill in that password.
then i press  - leave that file out
and then comes
the file "acsetup.cfg" is passwordprotected,
....
this goes on for almost all files
except the A_PE_V1_5.scm module itself, so i can use it but without examples or documentation.

i tried to open this file with the windwos xp inbuilt zip-extraktor
#231
i want to play a bit with this module, but most of the files in the zip are passwordprotected  :'(
#232
what was the reason for deleting the orow4 threadÃ,  ???
should it go into oblivion as soon as possible, or was some x-rated content in this thread ???
#233
hey akumayo,

it isnt a "bad topic", unfortunatly i havnt enough time these days to enter,
i like this topic very much, and I'm looking forward to someone who makes a descent entry.
so please dont feel bad about it,Ã,  its not your fault.
this competition has not so much participants, so it was a matter of time that in such a short time period of 2 weeks nobody enters.
i would say, let this topic open till someone enters (gord is on the way, i guess) who is automaticlly the winner, and can set the rules for another coding competition.
#234
Big thx  :)
#235
hi all,

the problem is, i dont know which player is active at this moment, so i cant
use this command -> character[3].room to get the room number.
i need something like this GetPlayerCharacter().room or
game.room.
for a command similar to this
if(game.room == 30)
#236
i got it to workÃ,  :), thank you all.
i found the solution in this thread. -> http://www.adventuregamestudio.co.uk/yabb/index.php?topic=21647.0
its unbelievable but i download 7-zip to unzip the AGS-Editor and the *chm files work fine.
with the windows-integrated zip-system the file must be corrupt or something, strange.
#237
thx, but after losing 1-1/2 hours in the deep of the microsoft webpage,
installing a couple of repair, update and help programs try to reinstall the whole thing manually (which is not possible) im helpless.
several *.chm files dont work on my pc, the latest AGS help file which works is from 2.61.
#238
i have no problems with the IE.
and similar helpfiles in other applications works fine.

Edit:

ok, the microsoft .NET Framwork 2.0 was not the reason, cause i deinstalled it and the help system doesnt care about, and dont works further on  :'(

#239
sorry dkh, 100% understand your point of view.
its not fair to vote without testing both entries, but i tried different things to start your module and demo without success, and akumayos entry is very good without question.
the coding competition have no big audience so i decided to vote, its a subjective thing, sorry.
steve should determine to count this vote in or not.
#240
I have 2 problems:

the first one is that the AGS-Help system doesnt work in all my installed ags versions.
I have running AGS-262 27 and 271 and it looks like this:



i have installed microsoft .net framework 2.0 a few days ago maybe this is the reason, but i dont know.

second problem is the error message in this thread:
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=25979.0

where i get this error with the particle-demo and the sources:

Illegal exception
---------------------------
An exception 0xC0000005 occured in ACWIN.EXE at EIP = 0x0045C87F ; program pointer is -195, ACI version 2.71.894, gtags (0,0)


thanks for help
SMF spam blocked by CleanTalk