PDA

View Full Version : Helpless script problem


Zaeyel
02-26-2006, 8:25 PM
My script isnt working. I dont usually change weapons on units unless i customized them but when i tried to put the flame thrower and gemini missles on the science vessle it crashed. I did the dat and all correctly im just wondering whats wrong with the script.
THE WORST PART ABOUT IT IS I CANT POST ATTACHMENTS CUZ I GET THIS ERROR :(

In order to accept POST request originating from this domain, the admin must add this domain to the whitelist.

I think part of the reason its not working is cuz i just copied and pasted in ice
I NEED MAJOR HELP INDEED
:( :( :(

King_Critter
02-26-2006, 8:28 PM
Hmm, so you cant do it either.... rotfl

Zaeyel
02-26-2006, 8:33 PM
stfu lol u cant do it either (points and shoots, rofl at hiself????)

mongoose41
02-26-2006, 11:27 PM
This is on the other thread as well (http://www.warboards.org/showthread.php?p=279973#post279973) look there for my reply.

U-238
02-28-2006, 4:42 PM
You're getting that error because you're trying to attache files from a domian.
mongoose it may or maynot help people if you actually told them WHERE this "other post" was... :mad::mad::mad:

Zaeyel
02-28-2006, 5:40 PM
Uhhhh whats that exactly mean???????
And how can I fix it??????
Will doing it in icecc (copy and paste) be easy or work?
I need some help on icecc, how do you change the output directory??? (or input or w/e)

U-238
02-28-2006, 6:12 PM
Okay, about your domain problem... Are you connecting to the internet directly or through a network? (If you're using a domain then probably a network)

Yes IceCC copy/paste works. To change the output directory simply copy the command prompt exe to where ever you like and it should work.

Zaeyel
02-28-2006, 6:41 PM
well im just using msn dial up..... just hit sign in, it dials the number.... and im on.

King_Critter
02-28-2006, 6:59 PM
mongoose it may or maynot help people if you actually told them WHERE this "other post" was...

He made his sentance a link... Don't you see the grey? :o

Confuzed_Person
02-28-2006, 7:14 PM
Ok his problem is The mod, not the postin. Zeayel, u think that maybe the mod isnt workin cuz u need to give it a diff look when it atks. and dont u need to create a Atk button for the S.V. with memgraft (firegraft would b better if ud wait a lil bit) and add the atk button in urself.

mongoose41
02-28-2006, 7:20 PM
Science Vessels already have attack buttons. Besides, with order editing things work out just fine.

Zaeyel
02-28-2006, 8:06 PM
ya i did it in icecc and it works out fine, but one bad thing..... when i killed a marine with my vessel, it crashed, WHY IS THAT???

mongoose41
03-01-2006, 3:39 PM
Did you put in "gotorepeatattk" and then "goto (groundattktoidle)"?

King_Critter
03-01-2006, 5:18 PM
I just wanted to say that someimes you actally don't need an attack button. Let's take the High Templar. It has no attack button, but when you right click on an enemy it attacks. That might only work with the Psi Asault attack, though.

U-238
03-01-2006, 5:28 PM
That might only work with the Psi Asault attack, though.

Nope it works on every thing that has an attack script in its iscript.

Also I'm still working in your domian problem zaeyle. But unfortunatly your lack of info is making it hard.

U-238

Zaeyel
03-01-2006, 5:56 PM
????? What do you mean ??? U-238
Oh and heres the iscript

# ----------------------------------------------------------------------------- #
# This is a decompile of the iscript.bin file 'C:\Games\StarEdit\IceCC\data\scripts\iscript.bin'
# created on: Tue Feb 28 16:49:14 2006
# ----------------------------------------------------------------------------- #

# ----------------------------------------------------------------------------- #
# This header is used by images.dat entries:
# 261 ScienceVesselTurret (terran\wesselt.grp)
.headerstart
IsId 89
Type 12
Init ScienceVesselTurretInit
Death ScienceVesselTurretDeath
GndAttkInit ScienceVesselTurretGndAttkInit
AirAttkInit ScienceVesselTurretAirAttkInit
SpAbility1 [NONE]
GndAttkRpt ScienceVesselTurretGndAttkRpt
AirAttkRpt ScienceVesselTurretAirAttkInit
SpAbility2 ScienceVesselTurretSpAbility2
GndAttkToIdle ScienceVesselTurretGndAttkToIdle1
AirAttkToIdle ScienceVesselTurretGndAttkToIdle
SpAbility3 [NONE]
Walking ScienceVesselTurretSpAbility2
Other ScienceVesselTurretSpAbility2
BurrowInit [NONE]
.headerend
# ----------------------------------------------------------------------------- #

ScienceVesselTurretInit:
playfram 0x00 # frame set 0
goto ScienceVesselTurretSpAbility2

ScienceVesselTurretOther:
playfram 0x22 # frame set 2

ScienceVesselTurretSpAbility2:
wait 125
goto ScienceVesselTurretSpAbility2

ScienceVesselTurretGndAttkToIdle:
shvertpos 1
waitrand 8 10
shvertpos 2
waitrand 8 10
shvertpos 1
waitrand 8 10
shvertpos 0
waitrand 8 10
goto ScienceVesselTurretGndAttkToIdle

ScienceVesselTurretDeath:
wait 1
end
ScienceVesselTurretGndAttkInit:
playfram 0x00 # frame set 0

ScienceVesselTurretGndAttkRpt:
wait 1
nobrkcodestart
imgol08 421 0 0 # FlameThrower (thingy\flamer.grp)
playfram 0x11 # frame set 1
attkprojangle 24
wait 1
attkprojangle 52
wait 1
attkprojangle 80
wait 5
playfram 0x00 # frame set 0
wait 2
ignorerest
ScienceVesselTurretGndAttkToIdle1:
goto ScienceVesselTurretOther

ScienceVesselTurretAirAttkInit:
wait 1
attack25 2
gotorepeatattk
goto local00

local00:
wait 125
goto local00

U-238
03-01-2006, 6:04 PM
ScienceVesselTurretGndAttkInit:
playfram 0x00 # frame set 0

ScienceVesselTurretGndAttkRpt:


On the TurretGndAttckInit there needs to be a "goto" in there telling it to goto the ScienceVesselTurretGndAttkRpt. BTW did you create this iscript or was it an extract?

Zaeyel
03-01-2006, 6:16 PM
i extracted it then added the attacks and requirements..... guess I screwed up?

U-238
03-01-2006, 8:47 PM
No you didn't screw it up. You just need to add a few things that weren't in there. Also if the sciencee vessle is using a flame thrower as a ground weapon just assing it as the sci vessles ground weapon in AIII and add an attack25 command in you init and rpt entries and you should be just fine. Other than that it looks alright at a glance. Try those things and if they don't help I'll try it myself and see what I can come up with. Your domain thing has me almost stumped and I'm half tempted to ask my boss what he thinks the problem is. I think it may be that your firewall is blocking it. Assumeing that you have one of course.
Anyway I'm still working on it so if I find out I'll pm you and tell you whats wrong.

U-238

mongoose41
03-02-2006, 2:16 AM
Your domain thing has me almost stumped and I'm half tempted to ask my boss what he thinks the problem is. I think it may be that your firewall is blocking it. Assumeing that you have one of course.
Warboards only allows you to upload files with certain extensions (e.g. mpq,zip,bmp etc.)
Warboards won't let you upload a .bin file. Just put it in a .zip, or an mpq ("an mpq" sounds alot better than "a mpq".) If you have already tried that, then I have no idea.

Zaeyel
03-02-2006, 8:45 AM
lol...... you didn't listen, I cant upload anything.
The Iscript, i did that goto, and now when i attack it crashes.

U-238
03-02-2006, 4:25 PM
Try assining it the flamethrower in AIII and just use the attack25 command. That, of all things, should work. I'll look at it because I'm doing my mod and I'll probably give the science vessle an attack too so it'll give me an excuse to look at it early.

Zaeyel
03-02-2006, 5:52 PM
Ahhhhh, and whats that mean?????

U-238
03-02-2006, 5:53 PM
Whats what mean?

Zaeyel
03-02-2006, 6:11 PM
Try assining it the flamethrower in AIII and just use the attack25 command.
whats that mean?

U-238
03-02-2006, 6:15 PM
Open up Arsenal III and give the Science Vessle the Flamethrower as its Ground weapon(or air). Then go into IceCC and open up your iscript. and do this

ScienceVessleGndAttkInt:
wait 1
attack25 1
gotorepeatattk
goto ScienceVessleGndAttckToIdle

Zaeyel
03-02-2006, 6:39 PM
can you please do that cuz when i tried it gave these errors i couldnt find how to fix... so i posted the script a page back and thats it, plz do it.
(gemini missles=air flamethrower=ground)

U-238
03-03-2006, 3:30 PM
Okay I'm working on it.

Okay, I asked my boss and as usuall the solution is simple...
Goto your "Internet Options" and goto "Security". Then goto "Trusted Sites" And click on the "Sites" button. Now add www.warboards.org to your Trusted sites whitelist by typeing it in the box then click "add". And thats it! You should now be able to upload to your heaarts content. Enjoy...

U-238

U-238
03-04-2006, 11:54 AM
Okay here's the Iscript. I left it in txt format so that you could see what I did. Hope this works out for you.

mongoose41
03-05-2006, 12:45 AM
It has no air attack.

U-238
03-05-2006, 6:20 PM
He didn't ask for one. If he does ask I'll put one in...

Zaeyel
03-06-2006, 7:51 PM
Heh, I did actually ask for the air attack, gemini missles (by the way its science vessel turret) , but that stuff doesnt matter. I now ask u since both attacks are flawed, to do the air attack.

U-238
03-07-2006, 12:26 PM
Consider it done....

BTW does the Ground Attack work? I wasn't sure if it did or not. I never tested it and I've been haveing trouble with another unit trying to get it to do the same thing.

Zaeyel
03-09-2006, 6:13 PM
Are you going to post the script or just edit the last post wit attachment???

U-238
03-10-2006, 11:19 AM
I'll post a new script. I'm still working on it. I should have it up by Monday at the latest.