| General | Hosted Sites | Civ5 | CivRev | Civ4Col | Civ4 | Civ3 | Civ2 | Civ1 | Misc | Marketplace |
![]() |
|
|
Welcome to Civilization Fanatics' Center. You are currently viewing our site as a guest which gives you limited access to our site features. By joining our free community, you will be able to participate in the discussions, search the forum, send private messages, vote in polls, upload your own screenshots to the gallery, and access many other special features. Registration is fast, simple and absolutely free, so sign up today! If you have any problems with the registration process or your account login, please contact support. |
|
|||||||
![]() |
|
|
Thread Tools |
|
|
#121 |
|
Prince
Join Date: Apr 2006
Location: Czech Kingdom
Posts: 1,548
|
Wow. Circus Hagenbeck is excellent. I downloaded
Thanks. I hope I can manage paste code by right style. My python unexperience cause many errors when I pasted some from codes
|
|
|
|
|
|
#122 |
|
Say No 2 Net Validations
![]() ![]() |
Thanks
.When you have problems with merging, you should try, if WinMerge does it better. Or download the latest python version, open the files with it, and try it then. It doesn't mess up the intendation there. |
|
|
|
|
|
#123 |
|
Aspiring Codesmith
|
Heroic Strength working after Upgrade
Alright, so last night, I added the Heroic Strength Promotion to the DLL. Good News is-- it is working after a unit upgrades, Bad News is-- I tested it several times last night and not once did the AI use it against me. Ok, it being in the DLL and not Python might be bad news to some as well, but it is working. I am going to do a minor tweak to the AI value for the promotion and recompile, I'll add a link here when it is up. Thank you J for an awesome concept.
__________________
PerfectWorld2.03_WithMarshes TLOTags: New Promotions all editable from the XML **Life is Good, updates forthcoming... please be patient though** |
|
|
|
|
|
#124 |
|
Emperor
Join Date: Jun 2007
Posts: 1,453
|
Great.
![]() Well, can't we add additional AI code in python? See "Marauder Reloaded" code. Other possibility: Low chance for auto-promote a (leader? (= unit with leader promotion)) unit with this promotion. |
|
|
|
|
|
#125 | |
|
Prince
Join Date: Apr 2006
Location: Czech Kingdom
Posts: 1,548
|
Quote:
![]() nevertheless thinks (some from) are functional. For exaple I wanted use your promotions but always one is functional. Two or more cause error
|
|
|
|
|
|
|
#126 |
|
Aspiring Codesmith
|
Link and Pics
__________________
PerfectWorld2.03_WithMarshes TLOTags: New Promotions all editable from the XML **Life is Good, updates forthcoming... please be patient though** |
|
|
|
|
|
#127 |
|
Emperor
Join Date: Jun 2007
Posts: 1,453
|
very nice. thanks.
|
|
|
|
|
|
#128 | |||||
|
Say No 2 Net Validations
![]() ![]() |
Quote:
Quote:
.Quote:
Quote:
Quote:
well done.
|
|||||
|
|
|
|
|
#129 | |
|
Emperor
Join Date: Jun 2007
Posts: 1,453
|
Quote:
Code:
<!--Promotions DLL Start-->
<element type="iExtraStrength" minOccurs="0"/>
<!--Promotions DLL End-->
<element type="iCityAttack"/>
<element type="iCityDefense"/>
<element type="iHillsAttack"/>
<element type="iHillsDefense"/>
<element type="iKamikazePercent"/>
<element type="iRevoltProtection"/>
<element type="iCollateralDamageProtection"/>
<element type="iPillageChange"/>
<element type="iUpgradeDiscount"/>
<element type="iExperiencePercent"/>
<!--Promotions DLL v0.1 Start-->
<element type="iExtraStrength" minOccurs="0"/>
<!--Promotions DLL v0.1 End-->
|
|
|
|
|
|
|
#130 |
|
Aspiring Codesmith
|
Yeah, it is a PITA but I'm hoping the minor tweak I did works (I didn't test it before I uploaded it). Basically, what I originally did was directly clone the iCombatPercent weights for iExtraStrength then for the "tweak" all I did was add 1 to each of the multipliers for iExtraStrength (going on the logic that it will return a higher number and therefore place a higher value on the promotion if it is available).
EDIT: Thank you Cybah, I'm going to start my own thread for this so that I don't hijack The_J's thread any further.
__________________
PerfectWorld2.03_WithMarshes TLOTags: New Promotions all editable from the XML **Life is Good, updates forthcoming... please be patient though** |
|
|
|
|
|
#131 |
|
Caveman2Cosmos Modder
|
Had an error pop-up in the "###WarriorsOfGod Fanatic Part2 End ###
###WarriorsOfGod Monk Part2 Start ### in CvEventManager see: http://forums.civfanatics.com/showpo...1&postcount=39 and then a reply to it. Let me know vos ish los?
__________________
Caveman 2 CosmosCaveman2Cosmos Forum: Project and Mod Development Forum HERE |
|
|
|
|
|
#132 |
|
Dry Bones
Join Date: Oct 2008
Location: Los Angeles
Posts: 5,538
|
Looks like a whitespace problem to me.
|
|
|
|
|
|
#133 | |
|
Prince
Join Date: Apr 2006
Location: Czech Kingdom
Posts: 1,548
|
Quote:
What errors? [/QUOTE] When I tried paste more then one promotion was functional one only. It´s I think error im my paste way... Can you, please, paste here python part of code with Sneak Promotion , Heroic Strenght Promotion and celebrity Promotion combined? BTW, water modcomp is excellent. I´m making on animated well model now. If will be model functional, I pasted him... thanks HROCHland |
|
|
|
|
|
|
#134 | |||
|
Say No 2 Net Validations
![]() ![]() |
i also guess so.Quote:
When you use Notepad/Wordpad, always select the beginning of the line (not of the text!) when you try to copy + paste it. Or try Word, it also shows you the spaces. Quote:
I don't suggest using the Heroic Strenght promotion, because it doesn't work after upgrading a unit (TheLadiesOgre has made a dll version, but you can't compile your own dll, and you also have your own, am i right?). I'll maybe take it out of the database. Quote:
But you should re-download it, there was an error in it. I named the improvement WELL, like the oil well . -sr has reported the error.-> Reuploaded the "water" modcomp, to fix that (renamed to WATERWELL, and changed all references). I've also reuploaded the respawn promotion. I've cleaned up the code a bit, it will also place ships in coastal cities (if available), and i've added a bit AI, so that the promotion will we applied to AI-controlled units. |
|||
|
|
|
|
|
#135 |
|
No more ghostbusting!!
Join Date: May 2008
Location: The Netherlands
Posts: 2,082
|
I added the Respawn promotion to my mod and confirm that it is working fine. Just a minor thing, something graphical:
![]() It would be nice to have that ugly pink marker replaced by i.e. a rising phoenix. Any idea how to fix this?? EDIT: Forget it. Just change the path in the CvEventManager
Last edited by Arian; Sep 04, 2009 at 11:38 PM. |
|
|
|
|
|
#136 |
|
No more ghostbusting!!
Join Date: May 2008
Location: The Netherlands
Posts: 2,082
|
Here's a small contribution:
Rising Phoenix button for the Respawn Promotion ![]() Man, am I talking to myself or what
|
|
|
|
|
|
#137 | |
|
Caveman2Cosmos Modder
|
Quote:
And thx.
__________________
Caveman 2 CosmosCaveman2Cosmos Forum: Project and Mod Development Forum HERE |
|
|
|
|
|
|
#138 |
|
Prince
Join Date: Apr 2006
Location: Czech Kingdom
Posts: 1,548
|
Hi, The_J
here is animated model for water modcomp ![]() http://forums.civfanatics.com/downlo...=file&id=13188
|
|
|
|
|
|
#139 |
|
Emperor
Join Date: Feb 2006
Posts: 1,191
|
Hey J, I've been trying to edit the Hagenbeck function so the buidling will start appearing and jumping at the start of the game. I tried changing the 1890 to 0 as you said, but it didn't work. If we're going by game year, wouldn't I have to change it to -4000?
__________________
Fictionalization IV: A myth, lore and pop culture mod Modding experience? We want YOU! Now I have a LeaderHead gallery. Ho, ho, ho |
|
|
|
|
|
#140 | ||
|
Say No 2 Net Validations
![]() ![]() |
Quote:
.Quote:
.For the first, -4000 is right .@hrochland: File is attached .
|
||
|
|
|
![]() |
| Bookmarks |
|
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [PYTHON] Simple popup with Input Box + store variable | smartus | Civ4 - SDK/Python | 1 | May 25, 2007 07:38 PM |
| [PYTHON] Simple Game Clock Mod | homegrown | Civ4 - Mod Components | 85 | Aug 17, 2006 07:14 AM |
| Simple One: Can anyone guide my to an absolute beginners guide to Python? | mrkingkong | Civ4 - Creation & Customization | 3 | Dec 09, 2005 11:09 AM |
| Simple Python Edit Request | ArbitraryGuy | Civ4 - Creation & Customization | 10 | Dec 02, 2005 08:24 AM |