Staredit Network > Forums > Modding Assistance > Topic: [Help] Spider Mine turned into...
[Help] Spider Mine turned into...
Sep 15 2009, 9:20 pm
By: Taligaro  

Sep 15 2009, 9:20 pm Taligaro Post #1



Like the title says, I need a little help getting the Spider Mine turned into a stationary defense turret.

I still want it to be placed like normal, when the Vulture places it and it burrows.
I still want it to UnBurrow to attack, but I want it to stay right where it was placed and to NOT play it's little walking animations.
This is how I want it to go...
Vulture places the mine,
The mine burrows,
An enemy gets within the mine's attack range,
The mine unburrows,
The mine attacks until the enemy unit is dead or moves out of range,
The mine burrows,
Wash and Repeat.

In Units.dat I have changed the Spider Mine's Ground+Air attacks to [91]Raider Gun
In Weapons.dat I have changed the [91]Raider Gun around to give it...
Fly & don't follow target
Graphics: 149 Burst Lasers
Icon: 332 Burst Lasers
X Offest 15 (for testing atm)

I have also extracted the VultureSpiderMine iscript since I'll need to mess with that file, this is where I'm scratching my head trying to remember how to pull this off.

Any help here would be nice.
Thanks



None.

Sep 15 2009, 9:22 pm Biophysicist Post #2



Use an EXE edit to make the vulture spawn Floor Gun Traps instead of Spider Mines.



None.

Sep 15 2009, 9:25 pm Taligaro Post #3



Quote from name:TassadarZeratul
Use an EXE edit to make the vulture spawn Floor Gun Traps instead of Spider Mines.
I'm already using the Floor Gun Traps for something else...

While I'm at it, how can I get the Vulture to have more then three mines, say SIX mines?
EDIT: Nevermind, EXE edit to change initial Mine Count.

Post has been edited 1 time(s), last time on Sep 15 2009, 9:31 pm by Taligaro.



None.

Sep 15 2009, 9:28 pm Biophysicist Post #4



You can use any of the traps. I doubt you're using all of them. :P

EDIT: To make the Vulture have more mines, you apply an EXE edit. It's easy.



None.

Sep 15 2009, 9:39 pm Taligaro Post #5



Quote from name:TassadarZeratul
You can use any of the traps. I doubt you're using all of them. :P

EDIT: To make the Vulture have more mines, you apply an EXE edit. It's easy.
While I appreciate the suggestion of using the traps, that is not the way I'm wanting to go with this. :P

I am needing to relearn all that I have forgotten in the 7 years of being out of the modding scene, and mainly iScripts. What better way to relearn then messing with the Spider Mine's iscript? :D

While changing the EXE to spawn a trap is easier(and too simple if you ask me), it doesn't help me learn iscripts again. :lol:



None.

Sep 15 2009, 9:42 pm Biophysicist Post #6



Try finding the animation the mine calls when moving and putting attackwith opcodes in it. You'll need to get rid of any move opcodes in the animation as well.



None.

Sep 15 2009, 9:51 pm Taligaro Post #7



Okay, here is the .txt of the VultureSpiderMine
VultureSpiderMine iScript.txt

So from what you said, I should take this part:
SpiderMineWalking

...and turn it to this...
SpiderMineWalking Edited

...since it uses the same weapon for both air and ground attack, I just used 'attack' instead of 'attackwith #'

However, I have a nagging feeling I'm missing something...



None.

Sep 15 2009, 9:57 pm Biophysicist Post #8



That should work. Go test it.

While you're at it, replace the "castspell" in SpiderMineSpecialState1 with "attack". Otherwise it might glitch up when the enemy is very close.



None.

Sep 15 2009, 10:41 pm Taligaro Post #9



Just did a quick test.

Two problems...

First...
stat_txt.tbl changes show up. However, new hotkey (D) for "Vulture Sentry Drones" doesn't work.

Second...
Sentry Drones burrow when placed, unburrow when an enemy gets within attack range, attacks just fine.
HOWEVER, Sentry Drone goes BOOM if the enemy unit is too close.

IE, did a test run as TvP,
cheats 'show me the money' 'operation cwal' & 'black sheep wall' used to test faster
build Barracks then factory
built Vulture
build factory addon
teched mines
placed 3 mines at entrance to toss base
waited for zealots to get in range and watched
one mine attacked with the lasers, the other two blew up when the zealot was right next to them.

*scratches head*



None.

Sep 16 2009, 1:08 am slient Post #10



Goto the AI Actions tab in units.dat for the sentry drone and make it match another units'

or at least, make sure none of them say "Fatal"



None.

Sep 16 2009, 3:19 am Taligaro Post #11



Well, I got it to work. Sort of.

The attacks worked just fine.
Changed the AI and it stopped blowing up.
Only problem is it doesn't want to burrow when placed, or after attacking. :flamer:

Going to put this on hold for a few, I have plans to turn this into a Temporary defense unit, sort of like how the Broodling dies after a while. Need to research that...



None.

Sep 16 2009, 3:59 am Mauron Post #12



The Broodling timer is hardcoded to impact only that unit. Copy the name/graphics/stats/etc onto the Broodling, and use an EXE Edit to change the unit created by the Spider Mine command.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[08:46 pm]
NudeRaider -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
https://armoha.github.io/eud-book/
[08:36 am]
Brusilov -- Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
[2024-5-09. : 11:31 pm]
Vrael -- :wob:
[2024-5-09. : 8:42 pm]
Ultraviolet -- :wob:
[2024-5-08. : 10:09 pm]
Ultraviolet -- let's fucking go on a madmen rage bruh
[2024-5-08. : 10:01 pm]
Vrael -- Alright fucks its time for cake and violence
[2024-5-07. : 7:47 pm]
Ultraviolet -- Yeah, I suppose there's something to that
[2024-5-06. : 5:02 am]
Oh_Man -- whereas just "press X to get 50 health back" is pretty mindless
[2024-5-06. : 5:02 am]
Oh_Man -- because it adds anotherr level of player decision-making where u dont wanna walk too far away from the medic or u lose healing value
[2024-5-06. : 5:01 am]
Oh_Man -- initially I thought it was weird why is he still using the basic pre-EUD medic healing system, but it's actually genius
Please log in to shout.


Members Online: Brusilov