≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
move click
Posted by:
(you are not logged in)
Enter the missing letter in: "Intern?tional"
(you are not logged in)
Text:
[quote][b][/b] wrote: [b]Ishmaru RTS Script UPDATE! Video showing progress:[/b] [url]https://www.youtube.com/watch?v=nJnlOz8Gibk[/url] [b]Features:[/b] *This behavior mimics RTS Movement, Left Click to select unit/units, and Right click tells them where to go. * Left clicking while holding Shift alows you to select multiple units. * Left clicking while holding Ctrl removes a unit from the selection. * A Key Selects All units * Space Unselects all units * Units are programmed to position themselves randomly around the target point to prevent them from merging into one * The amount of randomness and space between units can be controlled by the "PositionVariation" and "PositionMultiplier" * This script assumes you have a hidden child node with the index of 0 (child directly below this node) that will be the selection indicator. * Also looks for hidden child node with the index of 1 for the muzzle/attack fx * You can specify Actions on Death to create explosions/blood etc * You can specify attack range, Attack Strength, Random multiplier, and specify multipliers based on unit Armor type * You specify the armor type in the node's name value, place the armor type first the use a "_" to separate the armor from the name. EX: LIGHT_Rifleman or HEAVY_MainBattleTank where as "LIGHT" and "HEAVY" Are the armor type. * You can specify weather a unit is controllable or not (Simply switch off to make AI) * You can specify if units priortize following the move order or stop to engege all enemies they encounter. (AttackWhileMoving option) *Teams are specified with Node folders, and with each unit you can specify which team(Node Folder) to attack. *Damage is calculated completely by the Behavior no need to use the Character Behavior. * On Unit creation 2 variables are made to represent that unit's current health and max health. It gets the unit name + a string of "Health" or "MaxHealth" (Ex: LIGHT_RiflemanHealth and LIGHT_RiflemanMaxHealth ) You can freely change these values in run time by just setting the variable. *You can specify a value for unit Hp regeneration, it triggers every 2 seconds (never going above MaxHealth) *In game cloning works * Air Units! * Very basic Ai every ~10 randomly moves and Engages any targets in their path. PS targeting is not yet implemented so right now you just have to move units next to target, and let them attack on their own. Also Code is slow, i'm currently looking at ways to lessen the burden on the machine, and too many units at once can crash the game. [b]you can try out the behavior here - download:[/b] [url]https://drive.google.com/open?id=1tbix41NzK49xh0ayY4IextZZVjM6bV1n[/url][/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Image
[img]http://www.example.com/image.jpg[/img]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons
Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact