Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - robin

Pages: [1] 2 3 ... 8
1
Help / customize "Prime Grenade" text?
« on: December 23, 2019, 11:48:58 pm »
is it possible?
in a similar way you do for shots:

 - type: STR_BIGGU_GUN
   confAimed:
     name: STR_BOOOM

I made a portable robot that you activate and throw, so it is a bit silly that you "Prime Grenade" it.
I need it to be a grenade because in case the soldier in knocked out in battle, I want the robot to activate automatically (provided it has been "primed" beforehand).

thanks.

2
Help / standHeight vs floatHeight
« on: December 23, 2019, 11:22:26 pm »
I have a doubt.
The total height of the unit is standHeight + floatHeight..? yes they are it seems.
Or maybe floatHeghit simply represents the "empty" part of the standHeight value?
For example: with the following I wanted to define a 10-high unit standing at 10 from ground (which means the top of the unit is at height=20):

    standHeight: 10
    floatHeight: 10

Or should i set:
    standHeight: 20
    floatHeight: 10
?
  # setting this is not allowed

Edit:
Alright they are summed. But then the selection arrow on the unit is drawn in the wrong position. It seems to me that floatHeight is not taken into account to calculate the arrow positioning. Which means, in units with large floatHeight and small (relatively) standHeight, such in this case, the arrow is drawn on top of the unit itself. Pretty ugly.


3
OpenXcom Extended / Alien Bases detection ?
« on: November 28, 2019, 10:05:10 pm »
In my mod the enemies main activity is to build bases, so the mod gameplay relies a lot on the player actively searching for them.
For this reason one of the very first equipment the player can research, is a craft radar that increases the sightRange of the craft, making -on paper-, the detection simpler.
The problem is that the detection change is still lackluster, unless I make the sightRange basically world-wide.  (Vanilla sightRange is already large, so 'm not really making it much bigger, because otherwise it's ridiculous).
Is there something more I can do to make the alien base detection more fast and reliable? This would also help with testing, because without being able to find the bases quickly, it's hard to tell if the mission I designed is working correctly (AKA spawning the base) or not.
Thanks

4
Work In Progress / scratching my head on missionScripts
« on: November 16, 2019, 02:56:01 pm »
As far as I know, missionScripts are executed monthly.

  - type: alienA
    executionOdds: 100
    startDelay: 1000

The above script will start executing STR_MISSION_A after a delay of 1000 + the 'timer' of the first wave, from the beginning (day 1st) of the month (let's call it "month x")?
If the waves timers are short enough, will STR_MISSION_A be run many times during month x, or will it be executed only once?

Then comes "month x+1" and alienA is interrupted, to be executed again for month x+1 ?
This time though STR_MISSION_B is selected and STR_MISSION_A is halted after the last wave. Is it correct?
STR_MISSION_B will start executing from:
 - month x+1 day 1st + 1000 + timer
 - STR_MISSION_A last wave end (let's say the mission  is so long it goes on on month x+1) + 1000 + timer

Thanks.


5
OpenXcom Extended / weapon firing arcing/non-arcing ammo
« on: November 12, 2019, 10:57:15 pm »
My mod has a missile launcher that, in theory, launches two types of missiles:
- a guided missile that uses waypoints (see blaster bomb)
- a missile that flies in an arcing trajectory
I instinctively placed the peculiar entries (waypoints/arcinShot) in definition of the ammo, respectively, instead of the launcher. The waypoint missile seemed to work perfectly but the arcing missile was just flying straight.
I tried to put arcingShot into the launcher.. and now also the waypoint missile flies -not unexpectedly- in an arcing trajectory (with comical, but also quite buggy results).
Is it impossible to have these two different type of ammunition for the same launcher?

Ruleset:
Code: [Select]
  - type: STR_GUIDED_LAUNCHER
    requiresBuy:
      - STR_CONTRACT_NEUTEK
    size: 0.3
    costBuy: 82000
    costSell: 61500
    weight: 12
    bigSprite: 584
    floorSprite: 584
    handSprite: 584
    bulletSprite: 0
    fireSound: 52
    compatibleAmmo:
      - STR_ROCKET_HE_LARGE
      - STR_ROCKET_GUIDED
    confAimed:
      name: STR_LAUNCH
    accuracyAimed: 120
    tuAimed: 70
    battleType: 1
    twoHanded: true
    invWidth: 2
    invHeight: 3
    recoveryPoints: 4
    armor: 50
    attraction: 1
    aimRange: 200
    snapRange: 200
    dropoff: 0
    tuLoad: 10
    tuUnload: 8
    noLOSAccuracyPenalty: 0
    #arcingShot: true
  - type: STR_ROCKET_HE_LARGE
    requiresBuy:
      - STR_CONTRACT_NEUTEK
    size: 0.2
    costBuy: 2300
    costSell: 1725
    weight: 7
    bigSprite: 325
    floorSprite: 325
    hitSound: 0
    hitAnimation: 0
    power: 120
    damageType: 3
    clipSize: 1
    battleType: 2
    invWidth: 1
    invHeight: 3
    arcingShot: true
  - type: STR_ROCKET_GUIDED
    requiresBuy:
      - STR_CONTRACT_NEUTEK
    size: 0.2
    costBuy: 13500
    costSell: 10125
    weight: 8
    bigSprite: 324
    floorSprite: 324
    hitSound: 0
    hitAnimation: 0
    power: 100
    damageType: 3
    clipSize: 1
    battleType: 2
    waypoints: 5
    invWidth: 1
    invHeight: 3
    recoveryPoints: 1

6
Work In Progress / Player controlled civilians (brainstorming) ?
« on: October 22, 2019, 10:59:24 pm »
Wanting to discuss an idea.
Theoretically, exploiting the item-spawn-unit mechanic, you should be able to populate the map with civilians under direct control of the player.
You have to disseminate the map with such items, with the flag that the unit spawned is player-controlled, pre-primed to go off on round 0 (this last bit should be doable, it is already used in X-Piratez to make minefields AFAIK).
The units spawned in this scenario are civilians (at least looks-wise) and they could also be armed too (using the builtInWeapons entry on the unit definition); but of course they could be any third party units that fit whatever narrative the mod adopts (soldiers, cops, friendly aliens).

(Then -but this is unrelated- I guess it is also possible to bring home the surviving "civilians" on the craft and turn them into regular soldiers... still haven't looked into those mechanics tho').

It it feasible or am I missing something?
Is anyone already doing this?

Thanks

7
Help / MYFILE.MCD limits?
« on: May 08, 2019, 10:48:10 pm »
I can't find anymore the various limits of the MCDs. I know that the total "placeable" MCDs for maps is 255 (or 254), but that's not what I need.
What is the max amount of MCDs that a single MCD library can contain ?
What is the max amount of graphical sprites (PCKs) ?
For example my XBASEN1.MCD library has 96 MCDs and 104 PCKs (simply because some MCDs are animated and use more than 1 PCK). How many more of both can I add?

Thanks.

8
OpenXcom Extended / interruptPercentage vs endlessInfiltration
« on: April 28, 2019, 03:50:14 pm »
I'd like giving the player the ability to thwart alien missions (specifically the infiltration type).
Setting "endlessInfiltration: false" has the same practical effect as setting "interruptPercentage: 100" to all the UFOs in the mission waves?

(Maybe it's worth mentioning that I'm designing the waves so that all UFOs appear more ore less together, unlike vanilla where they appear one after another).



9
 alienMissions:
 - type: STR_ALIEN_SUBVERSION  # replaces classic ALIEN INFILTRATION
    #operationType: 6  # take off and land in the same alien base that spawned the mission
    points: 150  # Pact score only awarded on month end
    objective: 1
    siteType: STR_SUBVERTED_HQ
    spawnZone: 4 # Mission zone for alien bases
    raceWeights: *raceWeightsAlienDrop
    waves:
      - ufo: STR_UFO_PROBE
        count: 1
        trajectory: P0
        timer: 16500
      - ufo: STR_BATTLESHIP
        count: 2
        trajectory: P7
        timer: 60

alienDeployments:
  - type: STR_SUBVERTED_HQ
    data:
      [ cut ]
    width: 50
    length: 50
    height: 4
    terrains:
      - HQ
    randomRace: [STR_SUBVERTED_NEUTEK, STR_SUBVERTED_OMNISYNTH]
    script: HQ
    briefing:
      textOffset: -16
      title: STR_SUBVERTED_HQ_MISSION
      desc: STR_SUBVERTED_HQ_BRIEFING
      background: BACK01.SCR
      showTarget: false
    alienBase: true    # this is only to tell new battle mode what to do with this deployment

The alien mission happens corectly, with the country forming a pact with the aliens at the end, but the STR_SUBVERTED_HQ site is not generated.
The deployment works correctly in New Battle mode.
What I'm doing wrong?
Thanks.

10
Help / Base site with random race different from UFO waves races?
« on: April 05, 2019, 12:19:07 am »
In my mod aliens do the usual alien infiltration, but after succeeding a "subverted headquarters" is spawned instead of the normal alien base (it is a base-like kind of site, and if you beat that mission you can win the country back).
The subverted HQ is populated by mixture of humans and aliens, so it uses a different race from the infiltration UFOs (which is a aliens-only race); this can be obtained straightforwardly using the "race" parameter of the alienDeployment.
My problem is that I'd like the subverted HQ to have a bit of variation in that department, but the "race" parameter only takes one race which means a fixed race for all the subverted HQs ever.

So far the only turnaround I thought of is to duplicate everything: multiple identical alien missions, each with its identical subverted HQ, each with its own race. This would give me the result I want but it is quite inelegant with all that duplication. Is it my only option?

Thanks.

11
Help / mapScripts + addLine + maxUses ?
« on: March 09, 2019, 02:03:50 pm »
maxUses doesn't seem to work for the addLine (direction: both) command.
Is my only option to have (in the terrain definition) several duplicates of the default road block, so the exceptional road block is used rarely by mere chance?
Thanks

12
Help / Replace MCD library in a set (MapView and more)
« on: January 20, 2019, 08:01:04 pm »
Can I change this
Code: [Select]
files:Office Luxury
${dep}:MCDLIB1 MCDLIB2 MCDLIB3
        MYMAP00:${dep}
end
like this
Code: [Select]
files:Office Luxury
${dep}:MCDLIB1 MCDLIB4 MCDLIB3
        MYMAP00:${dep}
end
without issues?
MCDLIB2 and MCDLIB4 have exactly the same amount of tiles inside.
Obviously I'll need to tweak the map for the changed tiles, but that's a given; what I'd like to know is whether there is risk of map corruption or similar bad stuff.

13
Work In Progress / Control equipment stack position
« on: January 10, 2019, 10:11:39 pm »
Is there a way to control where (on which tile) the stack of unequipped equipment is placed on the entry map/craft?
Thanks

14
OpenXcom Extended / Let walls emit light [...]
« on: December 22, 2018, 11:31:24 am »
MCDs have an option to emit light (like a electro-flare) by setting Light_Source:58 = 1
The "problem" is only floor-type or object-type MCDs can emit light; wall-type (both north and west) MCDs cannot.
Would it be possible+easy to allow light from walls?


15
Offtopic / New Phoneix Point video
« on: November 02, 2018, 09:24:24 pm »

Pages: [1] 2 3 ... 8