Menu Content/Inhalt
Home arrow Forum arrow Star Trek: Armada II Patch 1.2 Projectarrow PP Generalarrow Upcoming 1.2.2 - A new ODF command

October 11, 2008, 06:27:19 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Overview   Help Search Login Register  
Pages: [1] 2 3
  Send this topic  |  Print  
Author Topic: Upcoming 1.2.2 - A new ODF command  (Read 7995 times)
DOCa Cola
*
Offline Offline

Posts: 2491



« on: July 30, 2007, 02:53:31 PM »

The next version of the Armada 2 Patch Project will be the first one to feature a new ODF command, thus being the first new ODF command coming to Armada 2 ever. This should be less interesting for people using the patch just as patch, but more for our colleagues creating modifications for Armada 2 Wink

The command is called maxBuildableNumber and can be used in all craft and building ODF classes.
I'll give an easy example to explain what the command is doing:
You have created a new modification, called the "Super-Uber Defiant" mod. It adds a new Defiant class, which has tons of metaphasic torpedoes, a cloaking device and quantum-technobabble enhanced pulse phasers.
Now, it would be quite boring if the player only pulls out only your super-uber defiant class out of his or her shipyards, especially when playing the mod online. You want to limit the number of vessels the player can build.
Yes, there are possibilities out there that can limit a number of vessels build, but modders know they are not quite what they wanted when they came first up with that idea to do that in their mod. One is to use a system similar to our credits system we have used already in Fleet Operations, or to provide those units as start units besides your starbase as some mods already did in the past.
Now you get a third option - a real limit which can be set per vessel.
Just put the line maxBuildableNumber = 5 in the Super-Uber Defiant's class ODF file and ready you are. Now one player can only have a total number of 5 SU-Defiant class vessels at the same time.
Now, if you have build 5 SU-Defiants you cannot build a sixth one in your yards. Of course, after one of your SU-Defiants gets destroyed or disassembled you can then build a new one to fill the limit again.






btw. the string shown in the tooltip can then be modified through the Dynamic_Localized_Strings.h file by adding "GUI_CP_MAXBUILD", "Unit limit ( %d / %d )",
« Last Edit: July 30, 2007, 02:55:46 PM by DOCa Cola » Logged

The Old Man

Offline Offline

Posts: 648


Half away. X)


« Reply #1 on: July 30, 2007, 02:57:19 PM »

Now that's cool!
Should we expect this command to appear in some odf's in V3? Will it be part of FO or is it just an offer to other modders who might need it?
I guess there's a reason you came up with this Wink
Logged

DOCa Cola
*
Offline Offline

Posts: 2491



« Reply #2 on: July 30, 2007, 03:57:49 PM »

yes, we had some ideas related to fleet operations with that command. it's not clear yet they will make it into v3
« Last Edit: July 30, 2007, 04:03:58 PM by DOCa Cola » Logged

warp

Offline Offline

Posts: 339


watch dog


WWW
« Reply #3 on: July 30, 2007, 11:04:25 PM »

Is that possibly that we that ourselves can change that the maxBuildableNumber?
Logged



AdmarilRyan

Offline Offline

Posts: 226



« Reply #4 on: July 31, 2007, 12:46:17 AM »

Very useful indeed, it would allow us to have buildable hero ships/flag ships aswell which can be built as a unique vessel and then replaced if destroyed.

I'd surgest this perhaps to work with some of the avatars in fleetops, for example, you choose the admiral riser avatar, and you can build admiral riser's flagship. (which I believe would be a unique avalon class) The ship would perhaps give a boost to all nearby vessels thanks to her command skills.
Logged

A2 Modding Veteran
Project Hostillities
Lt.Cmdr Worf

Offline Offline

Posts: 144



« Reply #5 on: July 31, 2007, 02:54:00 AM »

Along with the odf commands can we expect the new shields and possibly the custom resolution editor as a part of this new patch?
Logged
Meredith
The Great Badge Master!

Offline Offline

Posts: 290


tec'ma-te bra'tac


WWW
« Reply #6 on: July 31, 2007, 05:09:47 AM »

sweet  LOL this could also be used for the  cube fusion because people often build like 4 and own every body else i also like the idea of heroes and when can we expect to see this  Cheesy
Logged


T-Man

Offline Offline

Posts: 212


« Reply #7 on: July 31, 2007, 09:20:45 AM »

...wow...

Go team. I think you just made AII modding history! How on Earth did you pull it off?

There's certainly a ton of possibilities with this in the code. You could give factions some really powerfull vessels, but then limit them to balance it all out and prevent spamming units like the vanilla fusion cubes Meredith mentioned, it takes fleets to destroy those things (hence why i'm always using them ).

*Realises just how many of his ideas now work thanks to this*

Can the limit impose a global limit for all players? (i.e. if a player had two SU-defiants and another had three, the limit would be hit). If that's possible, maybe some NPC ships (like the Scimitar) could be given a global limit so players race to see who can build the first one.
Logged
DOCa Cola
*
Offline Offline

Posts: 2491



« Reply #8 on: July 31, 2007, 09:31:13 AM »

Quote
Along with the odf commands can we expect the new shields and possibly the custom resolution editor as a part of this new patch?
in later versions of the patch, remember, this patch is for armada 2.

Quote
Can the limit impose a global limit for all players? (i.e. if a player had two SU-defiants and another had three, the limit would be hit). If that's possible, maybe some NPC ships (like the Scimitar) could be given a global limit so players race to see who can build the first one.
yes, such a setting could also be implemented, though only by request if someone wants this for his mod. i don't think we could use this in fleet operations as in multiplayer that might be considered unfair Wink
Logged

Cpt Ryan
Fleet Ops mob boss

Offline Offline

Posts: 1908


There is no spoon


« Reply #9 on: July 31, 2007, 10:04:37 AM »

fantastic work guys, this is great news alround .

perhaps the first step towards a new stting that gives limited amount of the rarer ships seen in the series: i.e sovie, prommie, norexan, galaxy, Negh'Var & others Azn
Logged

"The past makes us who we are... forget your past and you have no future"-Me.. i think
"better to send 5 lions than 500 sheep"- some guy i can't remember
"DANCE FOOL!!... and make it a nice dance"- another guy i cant remember
Jan
*
Offline Offline

Posts: 710


Chefredakteur bei ST-Galaxy Network


« Reply #10 on: July 31, 2007, 11:10:39 AM »

I always knew...DC is a genius... ^^

News up @ STG.
Logged

Lt.Cmdr Worf

Offline Offline

Posts: 144



« Reply #11 on: July 31, 2007, 01:02:29 PM »

I know its for A2, thats why I'm asking. You said that the custom resolutions would come out as a part of the patch..so possibly you'll release it closer to FO3?

Quote
Along with the odf commands can we expect the new shields and possibly the custom resolution editor as a part of this new patch?
in later versions of the patch, remember, this patch is for armada 2.
Logged
DOCa Cola
*
Offline Offline

Posts: 2491



« Reply #12 on: July 31, 2007, 01:27:58 PM »

i have to approach differently when integrating fleet operations features into the patch project. when i program fleet operations i can modify more parts of armada without to care about backwards compatibility, so that a new function better "fits" into the program. the patch project aims to be 100% backwards compatible with all existing configuration and setting files and of course all program flow of armada 2. in fleet operations we save armada's settings now in our own file format structure, that is of course easier for me to save custom settings, too. for compatibility reasons i want to use existing files and materials as much as possible in the patch project. so some features need more time for integration into the patch project, even if they are already working fleet operations.
Logged

Lt.Cmdr Worf

Offline Offline

Posts: 144



« Reply #13 on: July 31, 2007, 04:08:26 PM »

Okay i understand now. Well..even the new odf commands will be good..i like the idea of being able to limit certain ships...so the Romulans can't build like 5 Scimitars or something. and the Federation will only be able to build like two or three Sovereigns at a time.
Logged
The Old Man

Offline Offline

Posts: 648


Half away. X)


« Reply #14 on: July 31, 2007, 04:36:28 PM »

Maybe you should add a build-limit for Ventures, BoPs, Bugs, Shrikes.. 
Uhm... for what reason ever...
Logged

Pages: [1] 2 3
  Send this topic  |  Print  
 
Jump to:  

© 2003-2008 DOCa Cola. All rights reserved.
Star Trek and related marks are trademarks of Paramount Pictures.
Powered by Joomla
Powered by SMF 1.1.6 | SMF © 2006-2008, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com