more stuff :/
Moderator: InsideQC Admins
8 posts
• Page 1 of 1
more stuff :/
ok i kinda fixed the knight thing y giving him a missile attack, but now he does not attack right, he stands far away and swings and i ran in to the same thing with fish, but thats not what ima ask about, the fish : P
ok ok ok,....dsc, how can i add in a explotion effect like dp has whith the explotion shell when stuff explodes, is it a model or is that a particle effect that only dp has?
and if the 2 is true how can i make a similar vertion in a non dp thinggy, like use a model
and.....uh.... .. ..wait ill remeber...
oh!
how can i make it so with the nailguns it will throw a strip after every 100 nails are firred, like using a throw gib function i guess but how to make it 100, because whit nailguns nails arnt gonna have indivitual shells, they come in rows, or fleshetts or wever it call,
this is wut happens when u play quake for less than year and one day start to mod, u ask questions at midknight on stuff, i bet this makes no sence? doesit?
and u spell things wrong
also how do i make feinds jump to the players height? ive searched all the qc sites i know and cant find ansure :X
ok ok ok,....dsc, how can i add in a explotion effect like dp has whith the explotion shell when stuff explodes, is it a model or is that a particle effect that only dp has?
and if the 2 is true how can i make a similar vertion in a non dp thinggy, like use a model
and.....uh.... .. ..wait ill remeber...
oh!
how can i make it so with the nailguns it will throw a strip after every 100 nails are firred, like using a throw gib function i guess but how to make it 100, because whit nailguns nails arnt gonna have indivitual shells, they come in rows, or fleshetts or wever it call,
this is wut happens when u play quake for less than year and one day start to mod, u ask questions at midknight on stuff, i bet this makes no sence? doesit?
and u spell things wrong
also how do i make feinds jump to the players height? ive searched all the qc sites i know and cant find ansure :X
bah
- MeTcHsteekle
- Posts: 399
- Joined: Thu May 15, 2008 10:46 pm
- Location: its a secret
In demon.qc you'll see some code that looks like this:
You can change the height of the jump by substituting the 250 with a lower number (not exactly sure the exact number to achieve your goal).
Also, you can change the distance of the jump by changing the 600 to another value.
- Code: Select all
self.touch = Demon_JumpTouch;
makevectors (self.angles);
self.origin_z = self.origin_z + 1;
self.velocity = v_forward * 600 + '0 0 250';
if (self.flags & FL_ONGROUND)
self.flags = self.flags - FL_ONGROUND;
You can change the height of the jump by substituting the 250 with a lower number (not exactly sure the exact number to achieve your goal).
Also, you can change the distance of the jump by changing the 600 to another value.
Welcome to the Overlook Hotel: The-Overlook-Hotel.game-server.cc
-

redrum - Posts: 410
- Joined: Wed Mar 28, 2007 11:35 pm
- Location: Long Island, New York
thanks ill have to keep messing with it tho cos i got him waaay over shooting
but how do i make it so he jumps when he cant cut u .. like in e1m2 wheere u can just stand on the ledge and shoot him cos he cant figure out to jump
but how do i make it so he jumps when he cant cut u .. like in e1m2 wheere u can just stand on the ledge and shoot him cos he cant figure out to jump
bah
- MeTcHsteekle
- Posts: 399
- Joined: Thu May 15, 2008 10:46 pm
- Location: its a secret
In Demon_JumpTouch() you'll see this bit of code:
This is where the damage gets dealt from the demons jump attack.
If you wanted to change the damage to zero do this:
- Code: Select all
if (other.takedamage)
{
if ( vlen(self.velocity) > 400 )
{
ldmg = 40 + 5*random();
T_Damage (other, self, self, ldmg);
}
}
This is where the damage gets dealt from the demons jump attack.
If you wanted to change the damage to zero do this:
- Code: Select all
if (other.takedamage)
{
if ( vlen(self.velocity) > 400 )
{
ldmg = 0;
T_Damage (other, self, self, ldmg);
}
}
Welcome to the Overlook Hotel: The-Overlook-Hotel.game-server.cc
-

redrum - Posts: 410
- Joined: Wed Mar 28, 2007 11:35 pm
- Location: Long Island, New York
oh, i might have word that weird, i meant like;
on the map e1m2 at end when feind is released
you can go through the teleport and stand on the top thing it sends you too
and then the feind, not knowing any better, will run up to the wall and try to get u, but it wont jump just run,
so how can i fix this? i truly have no idea for my mind is melting as i type /;0~~/
on the map e1m2 at end when feind is released
you can go through the teleport and stand on the top thing it sends you too
and then the feind, not knowing any better, will run up to the wall and try to get u, but it wont jump just run,
so how can i fix this? i truly have no idea for my mind is melting as i type /;0~~/
bah
- MeTcHsteekle
- Posts: 399
- Joined: Thu May 15, 2008 10:46 pm
- Location: its a secret
MeTcHsteekle wrote:oh, i might have word that weird, i meant like;
on the map e1m2 at end when feind is released
you can go through the teleport and stand on the top thing it sends you too
and then the feind, not knowing any better, will run up to the wall and try to get u, but it wont jump just run,
so how can i fix this? i truly have no idea for my mind is melting as i type /;0~~/
I meant to post on this yesterday but forgot.
There are two ways of doing this, but the better one I've seen is the one from cranked.
http://www.gamers.org/pub/games/idgames2/quakec/monsters/cranked.zip
also see:
http://www.gamers.org/pub/games/idgames2/quakec/monsters/lob_ai.txt
Hope these help.
-

Dr. Shadowborg - InsideQC Staff
- Posts: 1110
- Joined: Sat Oct 16, 2004 3:34 pm
oh thanks, i had a cranked but i dont think it had scource code, so i decompiled it and i got a pile of useless etc.. this works well, and with the other stuff provied by mr. screaming i might make a "young feind" some day
bah
- MeTcHsteekle
- Posts: 399
- Joined: Thu May 15, 2008 10:46 pm
- Location: its a secret
ok, now that i have feind better i ade him a mobot, but, i kinda messed it up again
yet another console crash bug :/
You got the nails
You got the Super Nailgun
a feind joins the funn
EDICT 53:
modelindex 38.0
absmin ' 79.0 -449.0 -62.3'
absmax '145.0 -383.0 27.7'
movetype 4.0
solid 3.0
origin '112.0 -416.0 -37.3'
velocity ' 0.0 0.0 -239.6'
classname monster_demon
model progs/demon.mdl
mins '-32.0 -32.0 -24.0'
maxs ' 32.0 32.0 64.0'
size ' 64.0 64.0 88.0'
health 300.0
takedamage 2.0
view_ofs ' 0.0 0.0 22.0'
fixangle 1.0
flags 32.0
waterlevel -1.0
watertype -1.0
yaw_speed 120.0
===========================
Host_Error: PR_ExecuteProgram: NULL function
===========================
]condump
it looks fimilar, but i dont know exactly whats wrong, it worked for ogres and shamblers
ok i have fixed it now, i had left the animations to say self instead of hellhound blah i gotta stop modding at 1:00 o click in morning
yet another console crash bug :/
You got the nails
You got the Super Nailgun
a feind joins the funn
EDICT 53:
modelindex 38.0
absmin ' 79.0 -449.0 -62.3'
absmax '145.0 -383.0 27.7'
movetype 4.0
solid 3.0
origin '112.0 -416.0 -37.3'
velocity ' 0.0 0.0 -239.6'
classname monster_demon
model progs/demon.mdl
mins '-32.0 -32.0 -24.0'
maxs ' 32.0 32.0 64.0'
size ' 64.0 64.0 88.0'
health 300.0
takedamage 2.0
view_ofs ' 0.0 0.0 22.0'
fixangle 1.0
flags 32.0
waterlevel -1.0
watertype -1.0
yaw_speed 120.0
===========================
Host_Error: PR_ExecuteProgram: NULL function
===========================
]condump
it looks fimilar, but i dont know exactly whats wrong, it worked for ogres and shamblers
ok i have fixed it now, i had left the animations to say self instead of hellhound blah i gotta stop modding at 1:00 o click in morning
bah
- MeTcHsteekle
- Posts: 399
- Joined: Thu May 15, 2008 10:46 pm
- Location: its a secret
8 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest