Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Missiles - Closest Target @ Launch
Missiles - Closest Target @ Launch
Aug 22 2009, 2:23 pm
By: Metalkon  

Aug 22 2009, 2:23 pm Metalkon Post #1



I'm planning to try and create a game similar to the old Worms map with more content to it, anyone have any suggestions for a similar missile system that will not a involve having a couple hundred small triggers like the setup that i'm thinking about now? :D

What i'm going with right now: (Didn't start yet, making this topic first)

4 Players (Originally wanted 5-6)
4 Comps (Ammo for each player)

Each players Wraith would have 10-20 different sized locations around it that would be used to sense the closest target which may require dozons of triggers for each player. It may require a lot more work if I end up being forced into having every different type of missile with its own set of these triggers, but i'm sure it may not come to that with a max of one missile at a time(more than one would be better).

Any suggestions for an easier missile system?



None.

Aug 22 2009, 2:38 pm Neki Post #2



Is that what the original Worms used? Look at his triggers if you haven't already.



None.

Aug 22 2009, 2:46 pm Metalkon Post #3



It seems similar but hopefully the method i'm thinking about is more complicated than it needs to be and that I can find an easier way, I tried cracking open that map to see whats inside without any luck getting into it.



None.

Aug 22 2009, 2:48 pm NudeRaider Post #4

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Give the wraith to a computer player who is also enemy to your enemies and run the strategic or random (not sure which) suicide AI on it. It will move to attack the closest enemy.
Then just center a location which is slightly bigger than a wraith's attack radius and order it to move there (or whatever you wish) when you detect an enemy inside and use a 1x1 location to detect when to explode the missile.
The only problem is that the wraith will always choose the leftmost enemy when there are 2 units inside the location.
So it could happen that 1 tile in right of you is an enemy, but it will still target the enemy 3 tiles left of you.
So maybe you could combine your method, so you make a 6x6 (wraith radius) a 4x4 and a 2x2 location, which is only 3 triggers.




Aug 22 2009, 2:51 pm Metalkon Post #5



That sounds like a good plan, the Wraith is the player controlled unit and not the missile though but I get what you mean. :D

Kills one of my PowerUp idea's (Invincibility Removed, can manual attack others for a short time) but thats very minor and worth doing 100-200 less triggers.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[10:34 am]
NudeRaider -- SEN doesn't rely on spammers initiate its sleep cycle. It hat fully automated rest and clean-up phases. Please understand that this is necessary for the smooth operation of the site. Thank you.
[03:45 am]
Sylph-Of-Space -- Does the shoutbox get disabled when there's spammers?
[2024-5-17. : 6:47 am]
NudeRaider -- lil-Inferno
lil-Inferno shouted: nah
strong
[2024-5-17. : 5:41 am]
Ultraviolet -- 🤔 so inf is in you?
[2024-5-17. : 4:57 am]
O)FaRTy1billion[MM] -- my name is mud
[2024-5-17. : 4:35 am]
Ultraviolet -- mud, meet my friend, the stick
[2024-5-16. : 10:07 pm]
lil-Inferno -- nah
[2024-5-16. : 8:36 pm]
Ultraviolet -- Inf, we've got a job for you. ASUS has been very naughty and we need our lil guy to go do their mom's to teach them if they fuck around, they gon' find out
[2024-5-16. : 5:25 pm]
NudeRaider -- there he is, right on time! Go UV! :D
[2024-5-16. : 5:24 pm]
lil-Inferno -- poopoo
Please log in to shout.


Members Online: 7miac6591yr7, NudeRaider, Roy