Project Savior - FreeDoom/HACX TC

Projects that have specifically been abandoned or considered "dead" get moved here, so people will quit bumping them. If your project has wound up here and it should not be, contact a moderator to have it moved back to the land of the living.
User avatar
Ravick
Posts: 2056
Joined: Sun Aug 22, 2010 10:59 pm
Location: Tubarão, Brasil
Contact:

Re: Project Savior - FreeDoom/HACX TC

Post by Ravick »

The player is too large, man :S
Maybe could be metter to give it a smaller radius value.
User avatar
EinhanderZwei
Posts: 17
Joined: Tue Jan 10, 2012 2:43 pm
Location: Ukraine

Re: Project Savior - FreeDoom/HACX TC

Post by EinhanderZwei »

Alrighty them based on the numerous feedback on the broken perspective, I've decided to play with it a bit. So, I've implemented http://zdoom.org/wiki/Cleaned-up_third_person_camera successfully (after upgrading ACS compiler for the Doom Builder) and modified it slightly - scripts 1 and 4 were duplicated with ENTER and DEATH parameters removed, and I've tried binding them to mouse2 in KEYCONF. Here's how it looks like (the script 1 duplicate is 09, script 4 is 08):

Code: Select all

alias +re "puke 08"
alias -re "puke 09"
bind mouse2 +re
And now, when clicking mouse2, an error message appears: 'puke (script) [arg1] [arg2] [arg3]'

What am I doing wrong? :(

UPD: I've figured out what was wrong - I was using KEYCONF instead of a primitive ACS script. :D Now everything works fine enough - the camera is third-person by default, and on right mouseclick (or whatever is bound to BT_ALTATTACK) it switches to first person, and the player cannot move (kinda like Resident Evil: Dead Aim meets Resident Evil 4-5). Now, the new problem has popped up: how can I prohibit the player from shooting while in 3rd person or even better, make the BT_ATTACK key execute BT_USE?
User avatar
TerminusEst13
Posts: 1625
Joined: Mon Nov 09, 2009 3:08 pm
Contact:

Re: Project Savior - FreeDoom/HACX TC

Post by TerminusEst13 »

Seems like a simple inventory check would fix that. When swapping to first person, A_giveinventory("CanShoot",1). Then, when each of the weapons fire, have them check to see if CanShoot is actually in the player's inventory. If not, well, they don't do anything. If so, they shoot.
User avatar
EinhanderZwei
Posts: 17
Joined: Tue Jan 10, 2012 2:43 pm
Location: Ukraine

Re: Project Savior - FreeDoom/HACX TC

Post by EinhanderZwei »

Sounds good, but how can I let DECORATE know that currently, first person mode is enabled? I'm an idiot, inventory can be given via ACS. :idea:
Locked

Return to “Abandoned/Dead Projects”