Posted: Tue Sep 10, 2013 5:44 am Post subject:
Kairunotabi Questions
Subject description: In Ares
How to make a unit when bought will drain power instead of cash? The unit will require a certain amount of power just like buildings to be built/train. Last edited by kairunotabi on Tue Sep 10, 2013 10:13 pm; edited 1 time in total QUICK_EDIT
Sorry for the confusion guys, what I mean't is that a unit will be some kind of a moving building requiring power to work.
The cost will be zero but will require a certain amount of power to move and without a power plant, the units will automatically shutdown, unable to move.
In laymans term, a robotic unit who depends on power plants to move, attack, etc... _________________ QUICK_EDIT
Maybe put up a blueprint for it in Ares? I'm sure other people are also interested in logic similar to this. _________________ ~ Excelsior ~ QUICK_EDIT
Make the unit a deployer and drain power only when deployed.
It's quite unlogic to have a moving unit use power from stationary sources. Does it carry a long extension cord with it reaching back to the base?
Another better logic would be the Charge logic from the mobile EMP from TS.
Then have a unit with a power meter like the passenger pips and every shot using up a bit of the stored power.
Additional keys then set how fast the power recharges and how much is restored with every restore-step.
example for new keys
unit keys
PipScale=Charge
MaxCharge=1500
StartCharge=0 ;when the unit is build/spawned, it starts with this amount of power
RechargeRate=20 ;timeunits (every 20 frames in this case)
RechargeAmount=5 ;5 power units are given at each recharge step
weapon keys
Damage=
DrainCharge=100 ;takes 100 charge units away from the unit
ROF=
weapon can only be fired when more than 100 power units are stored in the unit. _________________ SHP Artist of Twisted Insurrection: Nod buildings
Charge logic doesnt work in RA2
the only way i can see this working is unit X deploys into 0x0 building A which gives a free unit Y. when unit Y is destroyed its destroy animation spawns an infantry which has a suicide weapon and can only attack the building A.
if 0x0 buildings cant be auto targetted or something then im sorry _________________ <----- Clickable QUICK_EDIT
I know. I meant this as an alternative for adding the Power key to Units in Ares. The Charge logic would then work similar to the Ammo logic but giving in future some more possibilities for further enhancements.
e.g.
Unit has Charge logic. When weapon is activated (deployweapon like mobile EMP) the unit raises a shield over a 4 cell radius area. Enemy fire upon the shield drains the Charge of the unit by the amount of Damage of the hit, while every friendly unit is protected under the shield. _________________ SHP Artist of Twisted Insurrection: Nod buildings
Alright! I think the unit-cost-power logic is yet to be implemented so I've submitted it as a blueprint for ARES.
Here's another question:
Is it possible to make a building with a sensory field from which units can only move inside it, and if the building is destroyed, the units will shutdown?
The first image shows that the units can only move inside the sensor field of a building.
The second image explains that units can't go out of that sensor field.
The third image shows that the building is destroyed and all of the units inside its sensor field is shutdown. _________________ QUICK_EDIT
One way I could see that being done is giving a Building with a Dummy Weapon that applies EMP to your own Units (Using Custom Armor to make a more defined control on which units that can only work on that Armor)
Then giving the building minimum range. to simulate the "Energy Field" as when the unit leaves the zone it will get EMP'd by the building.
Only drawback I see is HOW you'll get that unit there. Granted you could use FreeUnit on the Structure but that only limits it to 1 unit spawned _________________ ~ Excelsior ~ QUICK_EDIT
So the unit is free? only cost power? that makes no sense what so ever. electronics are not free; diodes, resistors, capacitors, ic chips, etc.... _________________ I am authorized to send out the TMP Studio, PM ME IF YOU WANT IT And check this out, these were sent to me for help with terrain and zdata help along with TMP Studio/Builder
FreeUnit is only used by the Refineries to spawn a Harvester.
You could explain the Unit popping up as part of the Building, like those Turrets that you can build for Nod in Kane's Wrath which come from a parent building. _________________ ~ Excelsior ~ QUICK_EDIT
The building will act like a Pylon for Units with limited field of range in which the units can only move, it is also a barracks. _________________ Last edited by kairunotabi on Wed Sep 11, 2013 5:05 am; edited 2 times in total QUICK_EDIT
The building will act like a Power Transmitter with limited range from which the units can only move, the building will also act as the main barracks. _________________ QUICK_EDIT
So its a Production Facility/Defense Building then?
You'll also need a DeathWeapon that kills off the Spawned Unit when the Building
Another drawback I found out on my idea is that you can't put 2 of the same buildings near each otherwise destroying one Transmitter near another one will destroy the other Transmitter's Drone. _________________ ~ Excelsior ~ QUICK_EDIT
Another drawback I found out on my idea is that you can't put 2 of the same buildings near each otherwise destroying one Transmitter near another one will destroy the other Transmitter's Drone.
Because the Custom Deathweapon would have a warhead that targets all units with the same armor. So if the DeathWeapon has verses set to hit unit with say... "RobotArmor" all units hit within the weapons damage area will receive damage from it. _________________ ~ Excelsior ~ QUICK_EDIT
Normal mode Robot has a speed and damage which is extremely low causing it to be virtually useless.
When it deploys into its charging state, it auto attacks itself but is vulnerable. This auto atatck activates a Attach effect from warhead, increasing it's damage and speed for X amount of time, eventually reverting back to a slow useless unit unless deployed again to recharge.
For fairness, bot the deployed and undeployed state could require power, via Poweredby= logic. You could also have the deployed state minus power from your power grid.
Using a hand made deploy animation, like on siege chopper, you could have a solar panel, cord etc, take time for the charge, as well as add to the cool effect.
While this is not perfect it creates a unit which uses charge logic.
As for a power transmitter. Transmitters could send power to units in the same way using attach effects to bring the units back to normal speed. Of course the transmitters would only work for their unique armortype.
Both systems could be employed to create a way for them to always be active, via transmitters, or when away from base using their charge banks.
So your units might have:
Base speed of 1 but 10 while powered.
200 base health and 400 while powered.
Base might deal 15 per 40 frames, but powered will deal 75.
AttachEffect.SpeedMultiplier=10
AttachEffect.ArmorMultiplier=2
AttachEffect.FirepowerMultiplier=5
AttachEffect.Delay=X Length of charge. Towers charge could be less, and have better stats since their not on batteries.
Giving your unit three effective states: Low Battery, Charged, Powered. _________________ Grab my Map Logic Expansion Pack 5.2 here!
Adds random weather patterns into maps.
More disabled navalyards.
Preplaced Neutral buildings.
Additional new features.
AttachEffect.Delay= should have been AttachEffect.Duration= (integer)
The duration of the effect in frames.
Should also be noted that you might want a charged animation.
[Section]►AttachEffect.Animation= (AnimationType)
The optional animation to play on the affected unit. The animation is attached to the unit and moves along with it.
Also if transmitters, and charging are both used, the effects most likely will stack together on your units. Which would be ridiculous as it would give you 4 states.
How the states could look:
Underpowered, unit is extremely weak.
Base Stats no modification.
Strength=200
Speed=1
Damage=1
On charged battery, unit is stronger then when on low battery.
I'm not quite sure how they would stack. Either one effect is applied first then is increased again or it adds the base again to the current stats. That's a question for Graion.
Anyways good luck man, and let me know how it turns out! _________________ Grab my Map Logic Expansion Pack 5.2 here!
Adds random weather patterns into maps.
More disabled navalyards.
Preplaced Neutral buildings.
Additional new features.
I'm not quite sure how they would stack. Either one effect is applied first then is increased again or it adds the base again to the current stats. That's a question for Graion.
Sorry, missed this. They'll get multiplied (they're called XMultipliers for a reason ) with each other. And these are not percentage values. Even one of these effects are superOP if you ask me. _________________ "If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more... QUICK_EDIT
I was trying to help him create power based units with attach effect so it's good to know.
Basically the Base units is super Under powered. And then when attach effect hits them, they become normal, which is why the Values seem so extreme.
I guess he has to choose between batteries or transmitters, not both.
Together they are way too powerful as you have pointed out! _________________ Grab my Map Logic Expansion Pack 5.2 here!
Adds random weather patterns into maps.
More disabled navalyards.
Preplaced Neutral buildings.
Additional new features.
; ******* Land Characteristics *******
; This section specifies the characteristics of the various
; terrain types. The primary purpose is to differentiate the
; movement capabilities.
; Float = % of full speed for ships (0 means impassable) (def=100)
; Foot = % of full speed for foot soldiers (0 means impassable) (def=100)
; Track = % of full speed for tracked vehicles (0 means impassable) (def=100)
; Wheel = % of full speed for wheeled vehicles (0 means impassable) (def=100)
; Hover = % of full speed for hovering vehicles (0 means impassable) (def=100)
; Amphibious = % of full speed for amphibious vehicles (0 impassable) (def=100)
; Buildable = Can buildings be built upon this terrain (def=no)?
what I haven't found out yet is how the game knows if the unit got tracks or wheels, maybe with the locomotor... _________________ Free Tibed!
EA for worst company of the decade! QUICK_EDIT
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum