Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to change the team of an npc? #37

Open
Glitch31415 opened this issue Nov 30, 2024 · 3 comments
Open

how to change the team of an npc? #37

Glitch31415 opened this issue Nov 30, 2024 · 3 comments
Labels
modding problems and questions related to modding

Comments

@Glitch31415
Copy link
Contributor

so i just noticed you added the medkit, really cool, and i was wondering how i could make it so if you revive a dead enemy they change to your team

@Glitch31415
Copy link
Contributor Author

also, how would i do damage to something if something lands on it with force? for example, a player smashing through a window if they jump through it with long jump or gauss secondary

@Glitch31415
Copy link
Contributor Author

for the fall damage thing, it looks like there's already code for it, and it works on monsters, but not on breakables
i also want it to apply for sideways velocity too

@wootguy
Copy link
Owner

wootguy commented Nov 30, 2024

I want to see that too. I haven't looked into what's involved. Probably something in pm_shared.cpp. Change m_classify in CBaseMonster to change class.

@wootguy wootguy added the modding problems and questions related to modding label Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
modding problems and questions related to modding
Projects
None yet
Development

No branches or pull requests

2 participants