Random values possible?

Please post here for questions and discussion about scenario design, art and sound modding and the game editor for WITP Admiral's Edition.

Moderators: wdolson, MOD_War-in-the-Pacific-Admirals-Edition

Post Reply
NiclasCage
Posts: 60
Joined: Sat Sep 28, 2019 9:22 am

Random values possible?

Post by NiclasCage »

Is it possible to add in random values using the editor? Like adding 1000-2000 fuel in a port on a certain date, or add 0-20 damage on a ship upgrade?
User avatar
Lokasenna
Posts: 9304
Joined: Sat Mar 03, 2012 3:57 am
Location: Iowan in MD/DC

RE: Random values possible?

Post by Lokasenna »

As far as I know the value must be static.
User avatar
LargeSlowTarget
Posts: 5046
Joined: Sat Sep 23, 2000 8:00 am
Location: Hessen, Germany - now living in France

RE: Random values possible?

Post by LargeSlowTarget »

Adding fuel is possible with a "convoy unit", but not as a random value.

Take a look at the locations tab of Scen 1, slot 7841 and below.

These "convoys" are actually land units which show up in ports, remain for a few days and then disband automatically - dumping the devices they "carry" into the pools and the fuel and the supplies they carry "internally" at the port.


In the editor, damage can be added on ship upgrades and conversions only as a fixed value.
NiclasCage
Posts: 60
Joined: Sat Sep 28, 2019 9:22 am

RE: Random values possible?

Post by NiclasCage »

Thank you!
User avatar
inqistor
Posts: 1813
Joined: Wed May 12, 2010 1:19 pm

RE: Random values possible?

Post by inqistor »

Random values can be only added in witpload sheet. But they will be no longer random, after converting to Scenario :)

I've done it with initial small wear&tear damage for all ships at start.

The only semi-random value is amount of fuel AOs start with loaded. So if you let some small AO to show up at that island in Replenishment TF, you will get random amount of fuel. And new AO impossible to get rid off ;)
Post Reply

Return to “Scenario Design and Modding”