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.


Messages - Dogstar359

Pages: [1]
1
Help / Figured out the SCANG.DAT
« on: March 03, 2019, 07:00:41 pm »
Hi everybody i last night decided to have a crack at the SCANG.DAT file for ufo. Using MCDEdit the file contains 418 icons to choose. I open up SCANG.DAT with a hex editor, and added a string of zeros at the bottom of the file, thinking nothing would happen. I fired up MCDEdit to now find more than 418, although all black. After a bit of fiddling around, I found that the start offset for the first icon starts at offset 240 hex or search for

F2 F3 F3 81 00 F2 F3 F3 00 00 10 10 00 00 00 10

The cool part is that thanks to MCDEdit i even know what the hex values represent.

You see each map icon is made up of 16 pieces, ergo 16 bytes, and each hex code represents a colour code e.g 20 - 2F would be red D0 - DF would be blue.

Ive made some new icons for a ship im making so when i can i will show that it works in game, but if anyone can contact volutar maybe he can intergrate this feature into his tool.

Im sure you map and tile makers should find this useful.

2
Help / Re: Help with a mod
« on: February 18, 2019, 10:22:54 am »
I messed with the listOrder command in my items.rul

  - type: STR_UFO_SHIELD_GENERATOR
    listOrder: 9510
    size: 1.2
    costSell: 500000
    specialType: 15
    recoveryPoints: 40

in research.rul its

  - name: STR_UFO_SHIELD_GENERATOR
    listOrder: 4910
    cost: 850
    points: 60
    needItem: true

and in ufopedia.rul its

  - id: STR_UFO_SHIELD_GENERATOR
    listOrder: 11010
    type_id: 7
    section: STR_UFO_COMPONENTS
    requires:
      - STR_UFO_SHIELD_GENERATOR
    image_id: SHIELD_GENERATOR.SPK
    text: STR_UFO_SHIELD_GENERATOR_UFOPEDIA
    text_width: 163

everything seems to be right except for the UFO Recovery screen the one you get after you complete your mission it appears like this.

UFO RECOVERY

UFO Power Source          4    80
UFO Navigation               4    20
Alien Enterainment        24   48
Alien Alloys                   238 238
UFO Shield Generator      1    40
Elerium-115                  200   20

Ive got a feeling its hardcoded  :'( but what i was trying to do was this

UFO RECOVERY

UFO Shield Generator     1    40
UFO Power Source          4    80
UFO Navigation               4    20
Alien Enterainment        24   48
Alien Alloys                   238 238
Elerium-115                  200   20

Also are there any guides on using mapview2 im having trouble creating certain walls either i walk through them or i cant step on them at all.

3
Help / Help with a mod
« on: February 17, 2019, 01:26:06 pm »
Hi just recently joined i have a slight problem well a few but anyway.

Ive built a new craft, and using OXCE given it shields. I then created a new recoverable item called "UFO Shield Generator" created the research topics ect... then, using MCDEdit in the Target_Type:59 box i entered a value of 15 so that the entry would appear on the recovered items list. Of course it does, but it appears at the bottom of the list. Is there a way of making it appear above "UFO Power Source" i know that there is a command called listOrder but there isnt anything for the UFO Recovery Screen. I actually know why its doing it, its because of the Target_Type:59 in MCDEdit because i set a value of 15
it will appear at the bottom of the list, and i cant set it to a lower number beacuse there all mapped to different ufo components.

Also  i want  to ask if anyone knows how to make items explode on mission start like the "UFO Power Source" as i want to do the same for my Shield Generator, but cant find anything in the ruleset to help me?

Thanks

Pages: [1]