Staredit Network > Forums > Modding Assistance > Topic: How NOT to iscript.
How NOT to iscript.
May 21 2008, 8:54 pm
By: HailFire
Pages: < 1 2 3 >
 

May 25 2008, 8:39 pm HailFire Post #21



Let's see if it works when I remember to check "Battle Reactions" and "Full Auto Attack". :<_<:



None.

May 25 2008, 8:48 pm HailFire Post #22



Suffice to say that it isn't working.

That is, in the latest test, when I lured an enemy drone in and told the command center to attack it, the building immediately started CHASING (lolwut?) the drone back to it's base, not responding to commands, until it stopped in the middle of the enemy's base, attempted to fire, and the game crashed. :crazy:



None.

May 25 2008, 8:51 pm IskatuMesk Post #23

Lord of the Locker Room

I think it's safe to say you have encountered a minor problem.



Show them your butt, and when you do, slap it so it creates a sound akin to a chorus of screaming spider monkeys flogging a chime with cacti. Only then can you find your destiny at the tip of the shaft.

May 25 2008, 8:53 pm A_of-s_t Post #24

aka idmontie

Change the dat edit properies to what the Protoss Photon Cannon has.



Personal GitHub
Starcraft GitHub Organization - Feel free to request member status!
TwitchTV

May 25 2008, 8:54 pm HailFire Post #25



Quote from IskatuMesk
I think it's safe to say you have encountered a minor problem.

Well, technically, the CC did manage to get off a single pot-shot at the drone before it started moving.

Still. :help:



None.

May 25 2008, 8:55 pm HailFire Post #26



Quote from A_of-s_t
Change the dat edit properies to what the Protoss Photon Cannon has.

Uh, ok? :wtfage:

Lemme go try that.



None.

May 25 2008, 8:58 pm A_of-s_t Post #27

aka idmontie

Copy over only the "AI Actions" tab.



Personal GitHub
Starcraft GitHub Organization - Feel free to request member status!
TwitchTV

May 25 2008, 9:15 pm HailFire Post #28



It's working much better now, with two exeptions:

-It refuses to auto-attack.
-If the Command Center deals the finishing blow to a unit, the game crashes.



None.

May 25 2008, 9:21 pm A_of-s_t Post #29

aka idmontie

Quote from HailFire
It's working much better now, with two exeptions:

-It refuses to auto-attack.
-If the Command Center deals the finishing blow to a unit, the game crashes.
Check its aquisition range.

It might be the CC's toidle animation. Change it to something else without a 125 wait.



Personal GitHub
Starcraft GitHub Organization - Feel free to request member status!
TwitchTV

May 26 2008, 6:36 pm HailFire Post #30



I think hope I've got the CC fixed, but that needs moar testing.

Next: I gave the civilian the ability to build structures and repair, and made it buildable in the CC (FireGraft ftw).

There are two problems, however:

-When I click on the button to build basic buildings, the Command Center, Supply Depot, and Refinery buttons are not only greyed out (despite my owning a CC), but are unclickable and don't display text.

-When repairing, the civilain spawns a Mature Chrysalis sprite at his location.



None.

May 26 2008, 8:53 pm A_of-s_t Post #31

aka idmontie

You need to edit the dat requirements in Firegraft. Each building has a list of opcodes that it follows. Just add this to each building that you want the civilian to be able to be built:

Code
Or
Current unit is...
Civilian


Now, go to the orders tab in the dat requirements and make sure that the repair function(s) also has (have) that.



Personal GitHub
Starcraft GitHub Organization - Feel free to request member status!
TwitchTV

May 27 2008, 4:13 pm HailFire Post #32



The civilian can build now (and could repair), but I still have the problem of the chrysalis sprite. One spawns under the civilian every time one would see the "spark" from an SCV's Fusion Cutter during building or repairing.

I think that giving the civ a weapon (like the fusion cutter) might resolve the problem, but I'm not sure.



None.

May 27 2008, 4:25 pm A_of-s_t Post #33

aka idmontie

I think the game is calling a header that isnt in your script. Make sure your civilian has similar headers and scripts as the SCV.



Personal GitHub
Starcraft GitHub Organization - Feel free to request member status!
TwitchTV

May 29 2008, 9:27 am ShadowFlare Post #34



Quote from HailFire
-If the Command Center deals the finishing blow to a unit, the game crashes.
Hmm... I've encountered the same kind of thing when attempting to give an attack to the scanner sweep...



None.

May 29 2008, 9:39 am ShadowFlare Post #35



Quote from Laser Dude
Also, to the OP, you used the attackshiftproj opcode for your attack (like the Firebat does...), I'm thinking perhaps what you needed would be attack, for your missiles, although, not being sure what attackshiftproj actually does with ranged weapons (I know it fires melee weapons at the specific distance in front of the unit...). Perhaps it tells the missile to appear in front of the unit?
Yes, it specifies how far in front it will appear and it does work for projectiles.

edit: heh, I didn't even realize I was replying to a post in the same topic; I had a tab that was already open for replying to that post.



None.

May 29 2008, 5:02 pm A_of-s_t Post #36

aka idmontie

Make sure that your unit actually waits before moving on to the next command after the attack opcode. Say an attack takes 12 clicks to finish -- your unit should have:

Code
...
attack
wait    12
...




Personal GitHub
Starcraft GitHub Organization - Feel free to request member status!
TwitchTV

May 31 2008, 8:26 pm HailFire Post #37



Epic mod will be epic if/when I finish it. :sly:

Also, been trying to convert the Nexus (after re-imagining what I'd been working on). Protoss buildings = pain in the ass. :-_-:

I ripped off the barracks for the Working animation:

Quote
NexusIsWorking:
playfram 0
wait 3
playfram 2
wait 3
playfram 3
wait 3
playfram 4
wait 3
playfram 3
wait 3
playfram 2
wait 3
goto NexusIsWorking

The problem is, das blinkenlights won't stop blinking, even after the build order is finished/cancelled. :><:



None.

May 31 2008, 9:01 pm A_of-s_t Post #38

aka idmontie

It supposed to go to a wait block:

Code
NexusIsWorking:
playfram 0
wait 3
playfram 2
wait 3
playfram 3
wait 3
playfram 4
wait 3
playfram 3
wait 3
playfram 2
wait 3
goto NexusLocal00


But, yeah, making protoss emulate terran buildings are a pain. Or hell, editting protoss buildings in general.



Personal GitHub
Starcraft GitHub Organization - Feel free to request member status!
TwitchTV

May 31 2008, 9:01 pm FlyingHat Post #39



Edit: A of s t beat me to it.



None.

May 31 2008, 9:04 pm A_of-s_t Post #40

aka idmontie

Quote from FlyingHat
Edit: Damn you A of s t.
Yea, I know. :P



Personal GitHub
Starcraft GitHub Organization - Feel free to request member status!
TwitchTV

Options
Pages: < 1 2 3 >
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[09:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
[07:56 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: "War nie wirklich weg" 🎵
sing it brother
[06:24 pm]
NudeRaider -- "War nie wirklich weg" 🎵
[03:33 pm]
O)FaRTy1billion[MM] -- o sen is back
[01:53 am]
Ultraviolet -- :lol:
[2024-4-26. : 6:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[2024-4-26. : 6:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[2024-4-26. : 6:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[2024-4-26. : 6:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[2024-4-26. : 6:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
Please log in to shout.


Members Online: O)FaRTy1billion[MM]