Posted: Thu Oct 29, 2020 7:36 pm Post subject:
Phobos project :: Ares-compatible YR engine expansion
Subject description: A small sidekick of Ares brought to you by Gluk-v48 & Co.
Logo artwork by CCHyper
Recently Gluk with help of me and one more guy started a new small (for now) YR engine expansion project to accompany Ares. It's nowhere as big, polished or functional as Ares but we still have something to offer to our fellow mod developers.
Worth noting that it's fully compatible with Ares, it's open-source and it has working save/load support based on Ares 0.A code.
Posted: Thu Oct 29, 2020 7:55 pm Post subject:
Build 0 (initial devbuild)
Initial development build binary. The only requirement to be able to use it is Syringe. Submit bugs preferably either to repository (issues tab) or to me in Discord (Kerbiter#3128 on Discord, or just visit Mod Haven in my signature).
- Full-color RGB PCX graphics support
- 3 new warheads
- [Warhead]?TransactMoney= (integer - credits)
This many credits are added to warhead owner's credits when the warhead detonates. Use a negative number to subtract credits. Defaults to `0`
- [Warhead]?SpySat= (boolean)
Reveals the map to the warhead owner when the warhead detonates. Defaults to `no`
- [Warhead]?BigGap= (boolean)
Reshrouds the map for all opponents when the warhead detonates. Defaults to `no`
- Save/load support
- Ability to specify custom gamemd.exe icon via -icon command line argument followed by absolute or relative path to an *.ico file (f. ex. gamemd.exe -icon Resources/clienticon.ico)
- Disable black dot spawn position markers on map preview
- SHP debris now has their hardcoded shadows controlled by Shadow= flag (defaults to no)
Posted: Fri Oct 30, 2020 1:26 am Post subject:
Re: Build 0 (initial devbuild)
Kerbiter wrote:
- [Warhead]?TransactMoney= (integer - credits)
This many credits are added to warhead owner's credits when the warhead detonates. Use a negative number to subtract credits. Defaults to `0`
I suggest the possibility of a warhead losing money to the enemy on impact. It can be used when attacking a refinery or for harvesters to lose some of the collected metal when they are hit. QUICK_EDIT
TransactMoney is good, I wish there was something like TransactMoney.Affects=invoker/owner/enemies. (Or AffectAllies/Owner/Enemies is enough) _________________
Quote:
Humans were born for two things: to pray and be productive.
Joined: 01 Feb 2007 Location: Las Vegas, Nevada, USA
Posted: Fri Oct 30, 2020 6:16 pm Post subject:
Will the SpySat or BigGap tags ever be customizeable? I like the idea of a smoke screen ability, but I also would like it to only affect specific players too :p QUICK_EDIT
To whoever moved the topic to Ares subforum - please move it back to RA2 one, this is NOT and addon for Ares, it's just compatible with it. It doesn't require Ares to function, at least at this point. _________________ Using MagicaVoxel to create voxel models :: Phobos YR Engine Extension
I thought it would be better to put it in the Ares forum were it will get more attention, rather then let it get lost among the randomness of the general RA2 editing forum. _________________
WARNING: SAVE GAMES FROM DIFFERENT VERSIONS OF PHOBOS ARE NOT COMPATIBLE!
Changes:
- PCX loading screens of any resolution that are centered (and cropped if bigger than the actual resolution); depends on Ares tag File.LoadScreen=
- Disable black dot spawn position markers on map preview ([LoadingScreen]->DisableEmptySpawnPosition= (boolean) in uimd.ini)
- Building upgrades placeable on ally or enemy buildings, controlled by PowersUp.Owner=Self,Ally,Enemy (mix and match the values separated with commas, for example you can make powerplant upgrade be applicable to allies and yourself by specifying PowersUp.Owner=Self,Ally in the INI). Defaults to Self
- Deployed.RememberTarget= (boolean) - makes vehicle-to-building deployer not lose the target on deploy. Defaults to no
- Fixed the bug when the mind control link was broken on vehicle-to-building deployment and it permanently changed owner
- Ability to hide the unstable warning by specifying the build number after -b= as a command line arg. (for example, -b=1 would hide the warning for build 1). Please, test the features (especially online and edge cases) before disabling it, we can't test everything
- Customizable laser disk radius via [WeaponType]->DiskLaser.Radius= (double) (in voxels). Defaults to 38.2, which is roughly the default radius used for vanilla saucer.
I realize this is an odd build and I should get into discord at some point, but for sake of completeness I jumped through a couple 3.0's with the same results:
With Ares 3.0rc3 20.228.1093:
DiskLaser.Radius working.
Mind control link bugfix working as intended.
DisableEmptySpawnPosition=true working as intended.
[LaserShotgun]
Damage=50
Projectile=LShotgunProj
Range=6
ROF=12
Speed=100
ProjectileRange=1
Bright=yes
Ammo=4
;IsHouseColor=true
;LaserOuterSpread= 0,0,0
;LaserDuration = 15
;IsLaser=true ; this flag tells the game to use the special laser draw effect
Warhead=HE
Anim=GUNFIRE
I was Correct, Phobos does *not* override ARES's "Cannot undeploy MC'd conyard" BS, if it's not a complete override, can we at least have a fkn toggle button or something? _________________ MIdAS - Turning wages into beer since 2002 QUICK_EDIT
I realize this is an odd build and I should get into discord at some point, but for sake of completeness I jumped through a couple 3.0's with the same results:
With Ares 3.0rc3 20.228.1093:
DiskLaser.Radius working.
Mind control link bugfix working as intended.
DisableEmptySpawnPosition=true working as intended.
[LaserShotgun]
Damage=50
Projectile=LShotgunProj
Range=6
ROF=12
Speed=100
ProjectileRange=1
Bright=yes
Ammo=4
;IsHouseColor=true
;LaserOuterSpread= 0,0,0
;LaserDuration = 15
;IsLaser=true ; this flag tells the game to use the special laser draw effect
Warhead=HE
Anim=GUNFIRE
You did it wrong with the remember tag.
Your unit behavior is like a Tick Tank and this case the tag is only for the AI.
Maybe you tried the Nod artillery that for firing you needed to deploy first, in this case you need:
DeployToFire=yes in the vehicle code.
If my memory is wrong & unless the code changed the new tag is only in the building. _________________ C&C:Reloaded > GDI, Nod, Allies, Soviets & Yuri... & TS terrain!
[ Discord ] [ ModDB ] [ YouTube Channel ] [ Telegram Channel ] [ Official Forums@Revora ] QUICK_EDIT
Thanks, should've tried DeployToFire= as it was indeed necessary. Now it works, so I can confirm it all works in 3.0. _________________ "Don't beg for things; Do it yourself or you'll never get anything." QUICK_EDIT
Phobos and all it's previously published versions and sources are now licensed under LGPL v3! Most importantly that means that any derivatives must stay open-source in order to compy with the license.
- Extended sidebar tooltips
- uimd.ini flags to control the new tooltips:
- [ToolTips]->ExtendedToolTips=no (boolean) controls whether the extended tooltip or the vanilla tooltip would be drawn at sidebar. Extended tooltips don't use TXT_MONEY_FORMAT_1 and TXT_MONEY_FORMAT_2. Instead you can specify cost, power and time labels with the next tags
- [ToolTips]->CostLabel= (CSF key) specifies the character or label to display to denote cost in an extended tooltip instead of default $ sign
- [ToolTips]->PowerLabel= (CSF key) ditto for power generation/consumption instead of default ? U+26A1 sign
- [ToolTips]->TimeLabel= (CSF key) tritto for SW recharge time instead of default ? U+231A sign
- [TechnoType/SWType]->UIDescription= (CSF key) - description text which is shown in sidebar on hover over a unit or SW, won't show up if not specified
- Fixed a bug when switching build queue tabs via QWER didn't make tooltips disappear
- Win/lose themes ([Side]->IngameScore.WinTheme= (theme id) and [Side]->IngameScore.LoseTheme= (theme id))
- Switch hardcoded sidebar button coords to GDI sidebar ([Side]->Sidebar.GDIPositions= (boolean))
- Ability to hide healthbar with [TechnoType]->HealthBar.Hide= (boolean)
- Savegames are now filtered by Phobos version too, doesn't break Ares' version filtering (using build number or stable version number)
Download it here or if you don't have access to GH from attachments. Also there are now nightly builds produced by GH Actions on every push, check repo for details.
Downloaded! Will check maybe later, currently I am still busy with some shps, but I have to try once this Phobos.
Hey, have you talk with AlexB yet regarding that matter?
Also, is this what I mean? ,, [TechnoType/SWType]->UIDescription= (CSF key) - description text which is shown in sidebar on hover over a unit or SW, won't show up if not specified" - Basically like in Generals when you hover over tank ,,fire laser against infantry and missiles. Strong vs. tanks..." _________________ PPM Halloween Season 2021 QUICK_EDIT
Downloaded! Will check maybe later, currently I am still busy with some shps, but I have to try once this Phobos.
Hey, have you talk with AlexB yet regarding that matter?
Also, is this what I mean? ,, [TechnoType/SWType]->UIDescription= (CSF key) - description text which is shown in sidebar on hover over a unit or SW, won't show up if not specified" - Basically like in Generals when you hover over tank ,,fire laser against infantry and missiles. Strong vs. tanks..."
I'll answer with some pics. Ignore the missing char, was just testing.
P.S. The buildtime didn't make it into this devbuild cause that depends on AlexB providing the interface for calculating buildtime with Ares in Phobos (here's the answer to the other question ) _________________ Using MagicaVoxel to create voxel models :: Phobos YR Engine Extension
Whoa that is amazing! I like it. How does your code look like? I want to mimic that amd try it how would it turn out.
Kerbiter wrote:
P.S. The buildtime didn't make it into this devbuild cause that depends on AlexB providing the interface for calculating buildtime with Ares in Phobos (here's the answer to the other question )
Oh, I did not mean on this specific matter, I meant have you talked with AlexB regarding that thread we discussed recently? You need to continue to work, but Ares seems closed , it is not open source, AlexB did not provided all necessarily stuff. Then somebody said that you guys will contact him on skype. _________________ PPM Halloween Season 2021 QUICK_EDIT
What do you mean "the code"? Those are default when you set ExtendedToolTips to yes in the new [ToolTips] section of UIMD.ini. Just specify an UIDescription for a TechnoType/SWType and it will be displayed. Oh and be sure to use the font I provided
Oh, nevermind that. I though of csf text to simulate that.
Anyway, I just tested some stuff
[ToolTips]
ExtendedToolTips=yes
It works!I like it! Great improvements man! Totally refreshing.
[INIT]
HealthBar.Hide=yes
And as you can see, works here. Also I did pcx cameo with rainbow, supposed to have million colors (not resized picture). And it works awesomely!
But this thing does not work
[LoadingScreen]
DisableEmptySpawnPosition=yes
I put this in UImd.ini as supposed. And I still see black dots when game loading.
BTW. To everyone who wants to help the project - you can write docs! You just need a GH account for that, then you can proceed to fill up the wiki from the feature list.
The docs should contain illustrations, so you're free to make screenshots/gifs (should be in native resolution, not too big/long/busy and shouldn't contain stuff like uncropped window elements or whatever) from your mods using the features and link them in a screenshot subtitle as a way to thank you guys for the help. That would allow us to spend more time doing actual features
Apologies, initially tag was written with a typo, and now it's fixed to DisableEmptySpawnPositions.
No problem man! Just tested and it works!
And I tested those tags as well
[SAFlame]
TransactMoney=1000
SpySat=yes
If you compare two pictures, you will notice that whole map is revealed in minimap, and look credits! I am rich!
This works for me.
Kerbiter wrote:
I'd like to but unsure if I'll get to that, the request list is basically endless so it's hard to choose what to work on
Where is this list? I want to see requests if possible.
Oh but infantry to infantry transformation is cool! Walking rocketeer/cosmonaut to flying, engineer to mechanic, GI to bunkerable GI with stronger strength and immunities.... And my Halloween SHPS! Man to werewolf, vampire to bat and other funky combos! Unfortunately, infantry cannot use IsSimpleDeployer=yes tag to work. _________________ PPM Halloween Season 2021 QUICK_EDIT
Outdated? I downloaded last one, since black dots are removed. it says there that it is updated yesterday. _________________ PPM Halloween Season 2021 QUICK_EDIT
OH, I may accidentally switch versions, I had two folders of game for some reason. I did not notice that. Do you release new build to test something else? _________________ PPM Halloween Season 2021 QUICK_EDIT
OH, I may accidentally switch versions, I had two folders of game for some reason. I did not notice that. Do you release new build to test something else?
We've been busy with fixing the bugs that cropped up since the latest build and also writing docs - check them out!
I checked it, I am satisfied. here is something for you, two more features tested. NOSTR: Ares tag also works for Phobos UIDescription= tag, you forgot to write in docs.
Like this:
[INIT]
UIDescription=NOSTR:Powerful minder!
Also, PCX loading screens seems to work, but cause I cannot take screenshot from loading games I pictured it with phone. You see VOX tv mark which means that it really works.
_________________ PPM Halloween Season 2021 QUICK_EDIT
- Fixed a bug when multiple tooltips displayed one over another on battlefield units/buildings.
- Fixed a bug when upgradeable buildings list was case-sensitive.
- Fixed a bug when UIDescription was overridden with an empty value if map rules had an entry for this TechnoType/SWType.
Thank you for this quality engine enrichement, glad to see some additional development! The updated fond and tooltips really freshens up the game!
With Ares 3.0 I can confirm working as intended:
1. Enhanced Tooltips [with updated fond]
2. Low priority for box selection
3. Extended building upgrades logic [self,allies,]
Did not work or suggestion:
1. I could not get [Mind control maximum range] to work - the tag neither worked on the controlling unit, the warhead or the controlled unit. Where does the tag go to? the docu only says techno type.
2. Remember target when deployed should not be bound to deploytofire so it can work on siege chopper like units with them keeping their two weapons.
3. Make an occupied building able to fire anti air and anti ground fire at the same time if there are infantry units inside of wich one can fire at land targets and another is able to fire at air targets with their speified occupy weapons.
4. Make BigGap=yes able to affect all players not just enemies.
Thanks again, brilliant work! Last edited by Ich-Henker on Wed Feb 17, 2021 6:25 pm; edited 1 time in total QUICK_EDIT
I believe UIDescription= does not take Ares' NOSTR: tag so you must make a CSF entry. _________________ "Don't beg for things; Do it yourself or you'll never get anything." QUICK_EDIT
[INIT]
UIDescription=NOSTR:But MasterHaosis says NOSTR: Works too
It is only limited to some number of characters. Now, lets bug Kerbiter to make those character number limit longer! I think it was 20 and something. _________________ PPM Halloween Season 2021 QUICK_EDIT
I know I know... that was just silly joke. Those guys must be overwhelmed by requests and work at their place already. _________________ PPM Halloween Season 2021 QUICK_EDIT
The way NOSTR is implemented is a mistake and shouldn't have been done like so because it makes proper translations that are version-independent and don't trigger the cheat detection of a client impossible. Also it's limited to 26 characters I think. _________________ Using MagicaVoxel to create voxel models :: Phobos YR Engine Extension
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