|
| Author |
Message |
Dobermann
|
Post subject: weapon mask Posted: April 16th, 2010, 8:12 pm |
|
Joined: April 11th, 2010, 1:22 pm Posts: 87
|
|
|
|
hi can someone say me where i can found all weapon mask description please?
|
|
| Top |
|
 |
Roboto
|
Post subject: Re: weapon mask Posted: April 18th, 2010, 2:59 am |
|
| dummy |
Joined: April 8th, 2010, 2:33 am Posts: 78
|
|
|
|
Say grizzly is
weaponMask = 00001
Read it from Right to Left. 1 is the first hardpoint, it will fire AT stabber.
if grizzly was
weaponMask = 00011
It would fire AT + minigun.
This is binary. The 5 numbers represent the 5 hardpoints from left to right. 1 is use (yes) 0 is do not use (no).
Questions?
|
|
| Top |
|
 |
Dobermann
|
Post subject: Re: weapon mask Posted: April 18th, 2010, 8:54 am |
|
Joined: April 11th, 2010, 1:22 pm Posts: 87
|
|
|
|
is errated what u say because if the grizzly have a SP too shot a combo AT+SP and his weapon mask is weaponMask=00001
|
|
| Top |
|
 |
Sporkinator
|
Post subject: Re: weapon mask Posted: April 18th, 2010, 9:08 am |
|
 |
| senior member |
Joined: June 1st, 2008, 9:16 pm Posts: 4003
|
|
|
The AI's Weapon Mask will actually change when they receive an upgrade. Grizzly has 00001, but if it receives an SP-Stabber powerup, that weapon will replace the minigun and that single tank's mask will become 00011. If that tank then receives a Prox Mine, the mask will become 00111 in the case of the Grizzly tank, if it's a Czar, it's 01011. The tank will use AT+SP+Mines. Now if you upgrade it with a mortar weapon, it will use that weapon too, 01111. If you make a custom tank file with AT, SP, Mines, and Mortar and set the mask to 00001, the tank will only fire the AT. Basic rule of thumb for units upgraded via the armory is that the AI will ALWAYS use any weapon you upgrade it with. There are a few exceptions, like Howitzer not using Pop Gun or MDM, and Gun Tower not using MAG unless linked with another cannon, but those are special cases. 
|
|
| Top |
|
 |
Dobermann
|
Post subject: Re: weapon mask Posted: April 18th, 2010, 9:44 am |
|
Joined: April 11th, 2010, 1:22 pm Posts: 87
|
|
|
ah ok thanks  and another thing whi the power of the flash cannon in multyplayer game as been reduced?
|
|
| Top |
|
 |
Sporkinator
|
Post subject: Re: weapon mask Posted: April 18th, 2010, 10:17 am |
|
 |
| senior member |
Joined: June 1st, 2008, 9:16 pm Posts: 4003
|
|
|
|
Flash Cannon simply doesn't work in multiplayer. According to Ken Miller, the Flash sends a beam packet every frame and that's too much for the network to handle, so most of the packets get dropped, resulting in an extremely weak weapon when used against other players in multiplayer.
|
|
| Top |
|
 |
Dobermann
|
Post subject: Re: weapon mask Posted: April 18th, 2010, 10:21 am |
|
Joined: April 11th, 2010, 1:22 pm Posts: 87
|
|
|
|
oh then whi there is spawn point of the flash cannon? whi dont eliminate that and sobsitute with another example the hadean SP
|
|
| Top |
|
 |
Sporkinator
|
Post subject: Re: weapon mask Posted: April 18th, 2010, 10:24 am |
|
 |
| senior member |
Joined: June 1st, 2008, 9:16 pm Posts: 4003
|
|
|
The game programmers obviously forgot to test Flash in multiplayer.  Actually I am hoping Ken Miller can make it work in multiplayer in 1.5, without changing its actual strength.
|
|
| Top |
|
 |
Dobermann
|
Post subject: Re: weapon mask Posted: April 18th, 2010, 1:48 pm |
|
Joined: April 11th, 2010, 1:22 pm Posts: 87
|
|
|
|
i think how blast function example the blast shot 1 at sec can do the flash shot 10 at sec but the damage is 40 but the ammo use is huge lol if with blast function with flash too
|
|
| Top |
|
 |
Roboto
|
Post subject: Re: weapon mask Posted: April 19th, 2010, 2:38 am |
|
| dummy |
Joined: April 8th, 2010, 2:33 am Posts: 78
|
|
|
|
It won't really switch to 00011 if you add two weapons. If you add SP to a tank, it will switch to the SP only in a 00001 or 00010 config.
If you add a mortar, it will go 01000 and only fire the mortar. Useful if you load them out with popguns.
|
|
| Top |
|
 |
Sporkinator
|
Post subject: Re: weapon mask Posted: April 19th, 2010, 2:58 am |
|
 |
| senior member |
Joined: June 1st, 2008, 9:16 pm Posts: 4003
|
|
|
Roboto wrote: It won't really switch to 00011 if you add two weapons. If you add SP to a tank, it will switch to the SP only in a 00001 or 00010 config. The AI will use any weapon you upgrade it with, in addition to the weapons it normally fires. A Grizzly/Czar will fire AT+SP when upgraded with a single SP. Roboto wrote: If you add a mortar, it will go 01000 and only fire the mortar. Useful if you load them out with popguns. No. Upgrade a Grizzly or Czar with a mortar and have it attack something. It will fire its original weapon (AT-Stabber) and the mortar weapon linked together. If it's a Pop Gun mortar, the cannons will still aim correctly. If it's a splinter or regular mortar, the tank will aim high and fire cannons and mortar. the cannons will likely completely miss the target, but the mortars will hit.
|
|
| Top |
|
 |
Dobermann
|
Post subject: Re: weapon mask Posted: April 19th, 2010, 1:46 pm |
|
Joined: April 11th, 2010, 1:22 pm Posts: 87
|
|
|
|
yeah is true i tryed that with mr. spock
|
|
| Top |
|
 |
|
|