Shooting a rocket with a command shouldn't be difficult, could you paste your code?
I think all collision detections are made with trap_Trace and trap_TraceCapsule so the answer could be no, but as a solution you could split the model in parts to make a trace for each part. trap_Trace does a box collision detection.
[ioq3]"Air Rippers" development
Re: [ioq3]"Air Rippers" development
Sure :
I'm using fire_rocket for test purpose right now.
Thanks for the answer about collisions !
Code: Select all
void Cmd_SpawnEnemyPlane ( gentity_t *ent ) {
gentity_t *plane;
plane = fire_rocket ( ent, vec3_origin, axisDefault[0] );
G_Printf("test\n");
}
Thanks for the answer about collisions !
[url=http://www.dmitri-engman.fr/]My blog[/url] - [url=http://dmeat.free.fr/book/]My portfolio[/url]
---------------------
[url=http://lvlworld.com/#c=m1&i=1908&d=12%20Dec%202012&m=All&p=review]MJDM2[/url] - [url=http://lvlworld.com/#c=m1&i=2108&d=12%20Dec%202012&m=All&p=review]DmeatSP01[/url] - [url=http://lvlworld.com/#c=m1&i=2132&d=12%20Dec%202012&m=All&p=review]DmeatSP02[/url]
---------------------
[url=http://lvlworld.com/#c=m1&i=1908&d=12%20Dec%202012&m=All&p=review]MJDM2[/url] - [url=http://lvlworld.com/#c=m1&i=2108&d=12%20Dec%202012&m=All&p=review]DmeatSP01[/url] - [url=http://lvlworld.com/#c=m1&i=2132&d=12%20Dec%202012&m=All&p=review]DmeatSP02[/url]
Re: [ioq3]"Air Rippers" development
Update :
My thing seems to work, only the rocket model and sounds are not drawn ! I was testing in the new renderer of ioQuake 3 and the "3axis" default model doesn't appear here. I noticed when switching to the classic renderer. Strange, isn't it ?
Update #2 :
Everything actually works fine ! the rocket was not visible because the rocketl auncher was not in my test map. A "give all" later, everything went much better !
Hehe ...
My thing seems to work, only the rocket model and sounds are not drawn ! I was testing in the new renderer of ioQuake 3 and the "3axis" default model doesn't appear here. I noticed when switching to the classic renderer. Strange, isn't it ?
Update #2 :
Everything actually works fine ! the rocket was not visible because the rocketl auncher was not in my test map. A "give all" later, everything went much better !
Hehe ...
[url=http://www.dmitri-engman.fr/]My blog[/url] - [url=http://dmeat.free.fr/book/]My portfolio[/url]
---------------------
[url=http://lvlworld.com/#c=m1&i=1908&d=12%20Dec%202012&m=All&p=review]MJDM2[/url] - [url=http://lvlworld.com/#c=m1&i=2108&d=12%20Dec%202012&m=All&p=review]DmeatSP01[/url] - [url=http://lvlworld.com/#c=m1&i=2132&d=12%20Dec%202012&m=All&p=review]DmeatSP02[/url]
---------------------
[url=http://lvlworld.com/#c=m1&i=1908&d=12%20Dec%202012&m=All&p=review]MJDM2[/url] - [url=http://lvlworld.com/#c=m1&i=2108&d=12%20Dec%202012&m=All&p=review]DmeatSP01[/url] - [url=http://lvlworld.com/#c=m1&i=2132&d=12%20Dec%202012&m=All&p=review]DmeatSP02[/url]
Re: [ioq3]"Air Rippers" development
Oh, it was that. You could also register RL in ClearRegisteredItems (g_items.c), and PG as well.
Re: [ioq3]"Air Rippers" development
Thanks for the tip 
I've got some enemy airplanes flying towards the player right now !
I still want to add a couple of things before making a new video :
- The enemy planes have to be destroyable by the player. Could some one point me a tutorial about destroyable rockets or something like that ?
- The enemy planes shoot bullets / plasma balls from time to time. I think I can handle that

I've got some enemy airplanes flying towards the player right now !
I still want to add a couple of things before making a new video :
- The enemy planes have to be destroyable by the player. Could some one point me a tutorial about destroyable rockets or something like that ?
- The enemy planes shoot bullets / plasma balls from time to time. I think I can handle that

[url=http://www.dmitri-engman.fr/]My blog[/url] - [url=http://dmeat.free.fr/book/]My portfolio[/url]
---------------------
[url=http://lvlworld.com/#c=m1&i=1908&d=12%20Dec%202012&m=All&p=review]MJDM2[/url] - [url=http://lvlworld.com/#c=m1&i=2108&d=12%20Dec%202012&m=All&p=review]DmeatSP01[/url] - [url=http://lvlworld.com/#c=m1&i=2132&d=12%20Dec%202012&m=All&p=review]DmeatSP02[/url]
---------------------
[url=http://lvlworld.com/#c=m1&i=1908&d=12%20Dec%202012&m=All&p=review]MJDM2[/url] - [url=http://lvlworld.com/#c=m1&i=2108&d=12%20Dec%202012&m=All&p=review]DmeatSP01[/url] - [url=http://lvlworld.com/#c=m1&i=2132&d=12%20Dec%202012&m=All&p=review]DmeatSP02[/url]
Re: [ioq3]"Air Rippers" development
[url=http://slugrock.tumblr.com]slugs and rockets[/url]
Re: [ioq3]"Air Rippers" development
Great ! Thanks ! 

[url=http://www.dmitri-engman.fr/]My blog[/url] - [url=http://dmeat.free.fr/book/]My portfolio[/url]
---------------------
[url=http://lvlworld.com/#c=m1&i=1908&d=12%20Dec%202012&m=All&p=review]MJDM2[/url] - [url=http://lvlworld.com/#c=m1&i=2108&d=12%20Dec%202012&m=All&p=review]DmeatSP01[/url] - [url=http://lvlworld.com/#c=m1&i=2132&d=12%20Dec%202012&m=All&p=review]DmeatSP02[/url]
---------------------
[url=http://lvlworld.com/#c=m1&i=1908&d=12%20Dec%202012&m=All&p=review]MJDM2[/url] - [url=http://lvlworld.com/#c=m1&i=2108&d=12%20Dec%202012&m=All&p=review]DmeatSP01[/url] - [url=http://lvlworld.com/#c=m1&i=2132&d=12%20Dec%202012&m=All&p=review]DmeatSP02[/url]