Coderequests

I purchased some books on Py, finished 'the python phrasebook', now working through 'python in a nutshell'.
When I'm done, I'll be an aprentice wizard. :)
 
First I'll try to fix that mapgenerator I started on, secondly the supplytrain-unit-deployment-routine.
So redoing the religions-screen will be third base. :)

To get ahead of things..what needs changing on the screen?
Any good ideas on layout or art/design for the screen?

===
To get back to the panic issue. I think it would be better if only the unit actually fleeing flees, while imparting a negative morale modifier to all other in the stack (those that can be affected by morale or indeed care about said unit fleeing).
Units in a stack with a unit fleeing maybe should only flee along when morale is below 20 or even zero.
secondly units fleeing an attacking stack I think are strange. unless attacking as a stack, I feel routing of a stack(army) is only logical as a defense issue.
(seperate units routing from a failed assault still affect the whole stack offcourse, so the dropping morale will be a problem if a stack successively fails to break a opponent unit.)
To prevent morale always being low, a positive bonus for winning, as well as morale boosting units such as chaplains and heros would be needed.

Probably all this was discussed in much detail earlier in the correct thread.
:blush:
===
 
Im wondering whether C++ is too complex to begine programming and coding on, considering i only knnow a little XML, should i start on something smaller and work up? such as Python?

----

on a similar note, i followed a tutorial (this one) but i came across an error right near the end, step 11, i asked at the other thread but the Chazcon dosnt know what it means, i figure maybe ill post here to see if anyone knows what this error means.

------ Build started: Project: CvGameCoreDLL, Configuration: Final_Release Win32 ------
Performing Makefile project actions
Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
Copyright (C) Microsoft Corporation. All rights reserved.
NMAKE : fatal error U1052: file 'Final_Release' not found
Stop.
Project : error PRJ0019: A tool returned an error code from "Performing Makefile project actions"
Build log was saved at "file://c:\Games\Civ 4 Modding Folder\CvGameCoreDLL\Final_Release\BuildLog.htm"
CvGameCoreDLL - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
 
My first impression is that C++ is fairly similar to Python... at least at the level of object orientated programming and general syntax.
(the most direct syntax difference I noted was that python does not uses indentation to seperate blocks of code instead of {code}; (or similar bracketing.)

I'm sticking with getting to know python first, I fear I will only be able to generate non-fertile hybrid code if I try to learn both simultaneously.
 
My resume...
I am a C programmer. I dont know XML or anything, but I do know C, and I have a lot of experience in it.

http://forums.civfanatics.com/attachment.php?attachmentid=152649&d=1178587628

Just change the file extension from .txt to .ppt and open it with a power-point viewer or power-point. By the way, I made the attached power-point with Microsoft Office XP, just in case the power-point viewers aren't backwards compatible.
 
(in case Ploep has not PMed you yet)
Be welcome!

Python is a higher level language to C++, so you should be able to adapt.
XML is just a standard file-format for dictionary-type files.
object-values (and variables, etc) of civ are read from these when the game starts up.

--
My advise to P_L would be to take the language you plan to use and stick with the practical applications, don't get lost in the vagaries of database operations when all you want to do is use an XML as a lookup-file for a dictionary.
C++ is the ancestor of python, python is more userfriendly but may be slower in execution of some code, as it needs more compillation to machine code.
 
Back
Top Bottom