Where can I find exact files in source?
Wed, 2011-11-02 13:45
Hello.
First of all, I'm not sure if I posted this in right forum, but, this seems to be best for this.
I'm a little modder and I've been playing this game with my firends.
I just downloaded source code for Hedgewars and I'm trying to find out which file contains informations about weapons.
And here's the problem.
I'd love to add or edit some weapons, but I can't find any file to program them.
I know that this won't let me play online with other guys, but I just want to make it for myself and maybe for some of my friends, so we could play and have more fun together.
Can anybody tell me where is this file?
folder "hedgewars":
GSHandlers.inc contains the step handlers for gears, so mostly weapon behavior
uGears.pas defines which gear/weapon uses which handler and what their initialization values are (among other things)
uGearRender.pas defines how they are rendered
uVariables.pas defines ammo and their default values (among other things like graphics and sounds)
uConst.pas defines some constants, e.g. for ammo that may be interesting to you
I probably forgot something ... :P
sheepluva <- me my code stats ->
a Hedgewars Developer
click here to message me
<- where I'm from what I speak ->
Also, if you are changing the engine, please set the protocol version to something other than stable, to avoid confusing players when they fail to join on official server.
set(HEDGEWARS_PROTO_VER 40) in base CMakeLists.txt
--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev