project-navigation
Personal tools

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 - xoft

Pages: [1]
1
Bugs in older version (2.2.1) / Invisible lines in battlescape
« on: November 25, 2009, 09:04:10 am »
I've tried UFO-AI on another computer and I've noticed that in battlescape all the lines normally drawn are almost invisible. After setting gamma all the way up to max and careful inspection I found the lines, but still they are very subtle, as if 95 % transparent.
"Lines" means:
- lines drawn when an enemy or civilian is spotted
- box cursor
- line of fire aiming line
- current soldier highlight circle

I'd attach a screenshot, but when I make one, 75 % quality JPEG effectively hides all the lines altogether. I tried setting screenshot format to png, but for some reason the resulting files are still JPEGs.

The computer has an Intel GMA graphics (says "Intel G45/G43 Express Chipset" in system properties), I suppose it's a GMA 4500HD, but have no way of verifying. OS is Vista Business SP2.

Has this behavior been observed elsewhere, or am I the only unlucky one?

2
Discussion / Reason for clearing Inv on de-team?
« on: November 15, 2009, 07:05:01 pm »
I'd like to ask if there is any technical or other reason for clearing a soldier's inventory when the soldier is deselected from a ship? This is probably the most annoying thing I have had with this otherwise genius game.

My gaming style is "have ~15 soldiers in a base, 8 on a mission, when they come back wounded, heal them and use other personnel for missions in the meantime". Which means that I have to re-equip my soldiers with the same items over and over again when moving them between the hospital and the ship.

I found the code in client/campaign/cp_aircraft.c that does this (INVSH_DestroyInventory()), commenting the offending line out seems to work at the moment, but I may be mistaken, the catch may not be obvious. Perhaps the saves may become corrupt / items go missing over time / whatever. Can anyone with enough knowledge of the code comment on this?

Or is there a different approach, a different gaming style, that doesn't suffer from this issue?

Thanks.

3
Bugs in older version (2.2.1) / Health bar may go missing (+FIX)
« on: November 14, 2009, 10:29:31 am »
I found out that in the Base->Aircraft->Assign soldiers screen, the soldiers' health bar may go missing. After fiddling with the code, I found out that it was due to some really strange code in 0ufos.pk3/ufos/menu_team.ufo:
Code: [Select]
string hp_val
{
if "mn_show_employee == 1"
pos "975 360" string "*cvar mn_thp" align ur
}
bar hp_bar
{
if "mn_show_employee == 1"
pos "716 383" current "*cvar mn_vhp" size "245 6" color "0 .8 0 1" max "*cvar mn_vhpmax" align uc
}
 
I searched for mn_show_employee in the C code and found it only in the section that deals with hiring staff, so I suppose the condition in the above code is wrong. After commenting out the condition, the health bar is displaying correctly. Also with the condition above in place, I verified that setting the Base->Hire staff screen to anything other than Soldiers will indeed disable the health bar.

Pages: [1]