Code Home
If you're just starting with Chivalry modding, check out the Getting started with modding page.
If you're just starting with learning to code in UnrealScript for Unreal Engine 3, your main resources will be:
Important UDN pages:
- UnrealScript – home for UnrealScript things
- UnrealScript Language Reference
- Networking & Replication – learn all about UE3's networking setup
Supplementary documentation here on our Wiki:
- Replication – a supplement to the UDN "Networking & Replication" page, including some common traps you might fall into, and hopefully clarifying some things that might not make sense on the first read of the UDN documentation.
- UE3 programming pitfalls – some common problems and mistakes that might arise as you work with UnrealScript
- Kismet – explains some things about Kismet from a programmer's point-of-view
If you'd like to see an example of a Chivalry mod, check out:
- Instagib is a simple example mod that replaces every game mode with an Instagib-equivalent where players die in one hit
- NabsterHax' example mod on the forums
- Chivalry Medieval Warfare: TK Punishment Mod uses .uci files to reduce code duplication when extending from Chivalry classes
- The Swords & Jetpacks example mod on GitHub
In terms of programming in general, you'll want to be at least familiar with Object-Oriented Programming, which is the paradigm that UnrealScript follows. That's beyond the scope of this document, but there are many resources, courses, books, etc. out there on the topic.