Home   Help Search Login Register  

Author Topic: SQF shock_dust won't get in pbo correctly  (Read 771 times)

0 Members and 1 Guest are viewing this topic.

NuclearSnake

  • Guest
SQF shock_dust won't get in pbo correctly
« on: 24 Feb 2003, 20:20:49 »
I use the dust for sabot shot from tanks on a few misisons,
I put the lines in the INIT, add the effect folder with circle.sqf and shock_dust.sqs , then i call init of a tank like so : this addEventHandler["fired",{(_this + ["Gun120"]) exec "effects\shock_dust.sqs"}]  . Of course i think of changing gun120(t72) for gun125 if it is a T80, etc...

 So I should be using it correctly, THE PROBLEM IS THIS, the editor won't pbo some of them corectly, I seem to see the dust only in preview mode. If I launch the pbo file I sometime get "cannot load cricle.sqf" instead of any false addon message missing. I think the editor 1,90 doesn't account well the sqf.

ARE THERE A PBO MAKER FOR 1.90 THAT WILL WORK FOR SQFs.  Also on half the missions I do my editor adds 2 addons at each saves automatically, all kind of unused crap like keg snow nogojev island in the SQM file that i must remove manually before resaving by the PBO maker.

I also tried previewing and playing the maps 5 seconds one after another online, so my friend would resend the pbos to me, but magic, the maps didn't saved on his side either in cache or MPmisisons. I am really in deep juice to make my dust schock wave to work. It works in preview only. Should I upload to 1,91 to resolve those editor trouble or it's useless. Any kind of advice welcome.
« Last Edit: 25 Feb 2003, 07:54:06 by NuclearSnake »

Fishion

  • Guest
Re:SQF shock_dust and editor pbo wrongs
« Reply #1 on: 24 Feb 2003, 21:39:17 »
1) I don't know whats up with SQFs in Multiplayer,
   though I know that I did confuse \ and / in the preprocess statement

2) You don't need to change the Gun120 for official tanks, only if you use an addon that not an original tank from BIS

-Fishion

NuclearSnake

  • Guest
Re:SQF shock_dust and editor pbo wrongs
« Reply #2 on: 25 Feb 2003, 07:23:53 »
AS I tested in editor preview when dust works, you need to specify the gun caliber (gun ammo) of the sabot used
which are :
gun73 for BMP
gun105 for T55 and T60
gun120 for T72 and M1a1
gun125 for T80

NuclearSnake

  • Guest
Re:SQF shock_dust won't get in pbo correctly
« Reply #3 on: 25 Feb 2003, 20:08:32 »
I think i found the solution... I managed to call the SQF and SQS from the misison folder directly, I didn't put it in a effects folder. It works in preview and it works with launch from pbo file. All is needed is to test  if the other players online will see the dust.
As it was before either we saw no dust anyone, or we saw only the front dust if I launched by preview mode(as if Circle.sqf wasn't read ?!?)........ So here attached is the new DUST SHOCK as I see it COULD work in MPmisions. I ONLY changed the INIT line to read the sqf in misison folder direclty,

and so you must call the AddEventHandler as follow :this addEventHandler["fired",{(_this + ["Gun120"]) exec "shock_dust.sqs"}]      

 (instead of \effects\shock_dust.sqs")

Whitout directing to the effects folder, get attached file and look, I also manually added the grass color dust to be more dense (not as much as sand)

Nasty Buttler

  • Guest
Re:SQF shock_dust won't get in pbo correctly
« Reply #4 on: 05 Mar 2003, 16:05:49 »
Guys, im 99.9999% sure this is a flashpoint client side issue....
Im pretty sure from my own experience that u cant have directories in multiplayer pbo's....cause for some reason it only loads the directory data into the server memory not the client side memory...therefore anything that has to run on the  local client will return an error cause the server retains the info....if u remove the directories out of the mission u shouldnt have a problem.....
let me know how you go....

PS...Fishion old mate, its DeaDMeaT...contact me on ICQ..116632203....
would be great to catch up, and there where afew spelling/syntax errors etc in the version of the script i got....


Fishion

  • Guest
Re:SQF shock_dust won't get in pbo correctly
« Reply #5 on: 06 Mar 2003, 17:17:07 »
Woa, HI DeadMeat, long time no see.
I don't have ICQ, but you can contact me via Instant Message on this board or email: jbaaz@gmx.net

I know there are a few errors here and there, most of them fixed already, but I'm sure I've overlooked a few of em

-Fishion