Can someone give me an example of a Realistic Ammo System?
I would like it to waste ammo without it being a 1-hit kill game.
kthnxbai
would you happen to be using vHP? cuz i think thats your prob.
there are many ways to put on a realistic ammo system, but you need to be more specific. Are you using a triggered ammo system? like Dark Swarm? or are you using the actual firing system made by sc? cuz i can help with either
Excuse me, but what is vHP?
What I mean about a Realistic Ammo System is, For example Minerals are ammo, a marine shoots a civilian after the Marine shoots the Minerals go down lowering the ammo the marine has left.
Does that make sense?
You basically need a terran science vessel in a corner of a map unseen by the players, so when they attack a monster, then the terran vessel will try to move and support that unit. When the terran science vessel leaves that location create a trigger where it has "0 terran vessel in LOCATION, ENEMY PLAYER brings at least 1 unit to location PLAYER 1, where location PLAYER 1 is centered on the unit owned by player 1 that is attacking the enemy player, then you just add sounds and subtract minerals; repeat. Simple, however you probaly need to fiddle with AI scripts for it to work perfectly. The most simple solution would be 1 hit kills, or you could make it play a sound and subtract minerals at X time where X time is the amount of time it takes for a unit to fire, however this method could be bad if that player is only moving and not attacking... Anyways, the science vessel method is the best method that i currently know of right now... and it works so ya Maybe search the tutorials for more help
according to previous research, sci vessel is flawed against units with really fast attack rates.
I did not understand what you just said
.
I have seen it happen in the map Realistic Ammo System that i just recently downloaded.
Is there a easier way of doing what the creater of Realistic Ammo System did in the map?
kthnxbai
ok, make a terran wraith for example in 1 of the 4 corners of your map with a 2x2 location over it, then make it when there is no wraith there it gets moved back and 1 mineral is subtracted from the player who has ammo.
ya...you do that...disregard the fact that it does nothing.
Why thank you Lord-Omega i will try that.
Don't try it. It doesn't work.
Use a science vessel instead of a wraith, and it will work.
This happens because the science vessel wants to aid the unit attacking, and it moves.
oh, and youll need these 2 triggs to.
Trigger |
Description: |
reload |
|
Players: |
¤ player |
Conditions: |
¤ Playe acumaltes 0 minerals
|
¤ player acumaltes at least 1 gas |
Actions: |
¤ set alliance for all players to ally
|
¤ display reloading
|
¤ subtract 1 gas from player
|
¤ wait 1000 mil secs
|
¤ add 50 minerals to player
|
¤ set alliance for pc player to enemy
|
¤ preserve trigger |
so 1 gas is a clip of 50 shots basically
Trigger |
Description: |
out of ammo |
|
Players: |
¤ player |
Conditions: |
¤ player get 0 gas and minerals |
Actions: |
¤ set alliance with all players to ally
|
¤ preserve trigger |
and then make a spot where they can get more amunition
ADDITION:
QUOTE(CheatEnabled @ Dec 16 2006, 04:31 PM)
Don't try it. It doesn't work.
Use a science vessel instead of a wraith, and it will work.
This happens because the science vessel wants to aid the unit attacking, and it moves.
[right][snapback]604520[/snapback][/right]
so does a wraith, but use sci vess if its a guarentee, and actually, make the location 1x1, so be sure to have the scivessle in it.
I tried the Science Vessel Technique and it didn't work.
Is there any other way?
ADDITION:
Lord-Omega i already know that, but thanks.
kk, i dont know if theres anyway, try it with a wraith 2
The wraith technique also does not work.
You have to add AI scripts or else the computers don't have a "brain" to even consider moving a unit.
Whats the right AI Script?
QUOTE(n0b0dy- @ Dec 16 2006, 01:58 PM)
You have to add AI scripts or else the computers don't have a "brain" to even consider moving a unit.
[right][snapback]604539[/snapback][/right]
not entirely true there...
many(if not all) impossible scenarios maps don't use AI scripts, yet seiged seige tanks will still move to attack you...
well yea, everything will move to attck you if you get in sight of that unit
Medics move to heal even without AI scripts.
QUOTE(CheatEnabled @ Dec 16 2006, 04:14 PM)
Medics move to heal even without AI scripts.
[right][snapback]604553[/snapback][/right]
BUT, the unit the Medic is going to heal must have more than 80 hp.
QUOTE(Zell.Dincht @ Dec 16 2006, 02:28 PM)
BUT, the unit the Medic is going to heal must have more than 80 hp.
[right][snapback]604557[/snapback][/right]
what...?
they do heal rines(40 hp max)...
Ok, use VHP. And when you don't want one hit one kill, then have the bigger units have more than one Burrowed Z-ling or w/e.
And when they get a Z-ling kill, subtract one mineral and set kills of Z-ling to 0.
Or whatever.
And I am sure you know the rest.
heres my idea, create a centered location around the shooting unit. and have a powerup named something like "Ammo Cartridge" at another location that players cant get to. When the shooter comes near any enemy, a computer enemy also spawns by the powerup, attacking it. when no enemies are near the shooter, the computer attacking the powerup disappears, so when your ammo cartridge blows up, you are out of ammo. I think that would work. Nice and easy with no using vHP at all
You're not necessarily attacking a unit when near it. Sometimes you're running away OK i will try to make my explanation as simple and as good as possible.ok vHP=Virtual Hit Points, meaning that the HP for the unit is made with triggers.
Because of Starcrafts lack of a Subtract function for triggered HP we had to get around that.
the only function we can use is set, so you put a location over the unit you want to be shot.
using triggers create 10 BURROWED drones or how many every you want, i will use 10. Make sure that the drones have 1 HP
Next, make sure that the unit your attacking is invincible, and also make sure that ONLY 1 Drone is NOT invincible (because of splash damage you must make sure that all other drones are invinciple except one)heres a few triggers for what i have so farThis trigger will center the LocationConditions
P2 bring at least 1 unit to anywhere (or wherever you want)
Actions
Center Location Labeled "create vHP" on unit
preserve TriggerThis trigger will create the dronesConditions
P2 bring exactly 1 unit to "create vHP"
Actions
Create 9 INVINCIBLE Burrowed Drones at location "create vHP"
create 1 Burrowed Drone at location "create vHP"ok next we must have the ammo triggerThis will set the ammo systemConditions
P1 accumulates at least 1 gas
P1 accumulates exactly 0 mineral ore
Actions
Subtract 1 gas for P1
Set Mineral ore to 10 (or however many you want)
preserve triggerthis will be the Firing System
Ok now we have the firing trigger Conditions
Bring P2 exactly 9 drones to location "create vHP"
Actions
Set HP for unit at "create vHP" set to 90%
Subtract 1 mineral ore for P1
set invincibility state for 1 drone at "create vHP" to DisableThe above system must be continued until you reach 1 drone left
This will be the final triggerConditions
Bring P2 Exactly 1 drone to location "create vHP"
Actions
Kill 1 unit at location "create vHP"i sure hope this was helpful, if you need more info on vHP please visit this tutorial -
http://www.staredit.net/index.php?tutorial=74This link will give you info on an accuracy bullet system -
http://www.staredit.net/index.php?tutorial=118This will help you more with setting the ammo -
http://www.staredit.net/index.php?tutorial=39