View Full Version : A couple of questions and Requests
Roman_Man#3
03-05-2007, 00:32
Question:
1. In some mods, I see that campaign map, the map doesnt go to the very top, or the very bottom, it just spans the middle. Why is that?
2. Some more GUI problems. The Battle map one is working fine, but the campaign map is still screwy. The alphas are showing, but it doesn't do anything. When I load the campaign, every little button type thing is blanked out. Is there anything else I need to do besides just editing the strat_page1?
3. Is it possible to script a campaign for the AI, and only when your not that faction. I am wondering this because the ai is too stupid to pull an Alexander the Great, but will a script overpower the Macedons if you decide to play as someone else?
Requests:
1. Could someone help me with just inserting the new cultures into my mod?
2. A scripter who could help script historical battles and possibly an AI Macedon.
If anyone can help, it would be much appreciated.
RM3
Makanyane
03-05-2007, 18:23
1. In some mods, I see that campaign map, the map doesnt go to the very top, or the very bottom, it just spans the middle. Why is that?
Do you mean the little radar map in the bottom left hand corner? Ours does that because map is different proportion (ratio of height x width) to vanilla map. If you run a different proportioned map without the radar_map.tga's it will squash your map to fit the shape of the gap in the UI - which can look silly. If you make new radar_map in a proportionate shape to your main map you get the just across the middle effect with some background showing round it. I've not seen anyone yet that's been able to change the shape of the gap in the UI for the radar_map - it might be possible, but with your current luck on UI's :embarassed:
2. Some more GUI problems. The Battle map one is working fine, but the campaign map is still screwy. The alphas are showing, but it doesn't do anything. When I load the campaign, every little button type thing is blanked out. Is there anything else I need to do besides just editing the strat_page1? Only possibility I can think of is if you've moved things so they don't tie up with the locations coded in the .rsd files - can you post a screenie of what you are getting? Or links to the current files again?
3. Is it possible to script a campaign for the AI, and only when your not that faction. I am wondering this because the ai is too stupid to pull an Alexander the Great, but will a script overpower the Macedons if you decide to play as someone else?think so, either just set the trigger in export_advice.txt so it only gives option of launching script if you're playing as one of other factions (you can use Condition FactionType .... in the trigger).
Or if you need rest of script to be running when you play as Macedons you should probably use
and not I_LocalFaction macedon as condition for the added benefits so human player doesn't get them.
As that's exhausted my knowledge of scripting etc. no, sorry to requests!
Roman_Man#3
03-05-2007, 23:01
https://img109.imageshack.us/my.php?image=rometw2007030516572275ki2.jpg
There is the trouble some gui.
Makanyane
03-06-2007, 20:09
Thats still stratpage_01 and its still alpha issue!
http://www.megaupload.com/?d=ED72G2HU
pasted last version of your file I had over working version in PhotoShop (elements) and saved as 32 bit and that works without white bits - not sure if its up-to-date version of your file that I used though, so don't overwrite anything without backing up first!
What image editor are you using? I know I have problems using PaintShopPro saving alpha if any of image within alpha contains any pure white (255, 255, 255), PhotoShop seems not to mind that though.
If you can't get anywhere with it and that wasn't right UI send me latest one and I'll do the paste job again.
Roman_Man#3
03-06-2007, 21:56
I use adobe photoshop 7. Thanks for helping.
Just something I thought of that I was doing when saving a tga file. You should be saving in 32bit mode (not 24bit). If you save as a 24bit tga file, it won't save the alpha channel.
The reason is that for RGB there are 8-bits per channel (i.e. you need 8 bits to get 0-255 for each of red, green & blue) so if you want the alpha channel saved that is a 4th 8bit channel meaning you need 32-bits tga files.
Roman_Man#3
03-07-2007, 02:26
Thanks for your help everybody, especially Makanyane who got it working. Now just the other stuff needs answering.
vBulletin® v3.7.1, Copyright ©2000-2025, Jelsoft Enterprises Ltd.