forked from necropotame/teeworlds-infclass
-
Notifications
You must be signed in to change notification settings - Fork 4
Hints for developing for InfClass
Teoman edited this page Mar 7, 2019
·
4 revisions
- Useful command for linux:
grep -inr "Ninja"
to find all occurrences of Ninja in InfClass/src - Useful command for windows:
git grep -in "Ninja"
to find all occurrences of Ninja in InfClass/src - For character behaviour look into:
src/game/server/entities/character.cpp
- For weapon behaviour:
src/game/server/entities/
- For weapon parameters:
/src/engine/server/server.cpp, "search: SetFireDelay"
- To add a new weapon:
/src/engine/server.h
also do agrep -inr "weapon_name"
- For mod / round behaviour:
src/game/server/gamecontext.cpp and gamecontroller.cpp
- For config variables:
src/engine/shared/config_variables.h
- For weapon config variables:
/src/engine/shared/config_weapons