Railgun
Moderator: InsideQC Admins
5 posts
• Page 1 of 1
Railgun
Dr.Shadowborgh...
many thanks for your tutorial on QuakeSpleen2008!!!
I made a new Railgun and started the tutorial as you posted.
http://qexpo.tastyspleen.net/booth.php?id=131&page=323
To my surprise I received a Quake map with all I expected, except the Railgun changes into a Grenade Launcher.
The sprite comes through, I added my g-rail.mdl but for some reason it changes into a grenadelauncher every time I press 8?
Do you have an idea what could have gone wrong?
many thanks for your tutorial on QuakeSpleen2008!!!
I made a new Railgun and started the tutorial as you posted.
http://qexpo.tastyspleen.net/booth.php?id=131&page=323
To my surprise I received a Quake map with all I expected, except the Railgun changes into a Grenade Launcher.
The sprite comes through, I added my g-rail.mdl but for some reason it changes into a grenadelauncher every time I press 8?
Do you have an idea what could have gone wrong?
-

Madfox - Posts: 106
- Joined: Sat Jan 15, 2005 3:13 pm
- Location: Holland
Re: Railgun
Madfox wrote:Dr.Shadowborgh...
many thanks for your tutorial on QuakeSpleen2008!!!
I made a new Railgun and started the tutorial as you posted.
http://qexpo.tastyspleen.net/booth.php?id=131&page=323
To my surprise I received a Quake map with all I expected, except the Railgun changes into a Grenade Launcher.
The sprite comes through, I added my g-rail.mdl but for some reason it changes into a grenadelauncher every time I press 8?
Do you have an idea what could have gone wrong?
That's because you need a v_rail.mdl too. (for the view model)
- Code: Select all
else if (self.weapon == IT_EXTRA_WEAPON)
{
self.currentammo = floor(self.ammo_cells / 5);
self.weaponmodel = "progs/v_rock.mdl";
self.weaponframe = 0;
self.items = self.items | IT_CELLS;
}
Just change the self.weaponmodel = "progs/v_rock.mdl"; to self.weaponmodel = "progs/whatever_your_new_view_model_is_named.mdl"; and you should be good to go.
-

Dr. Shadowborg - InsideQC Staff
- Posts: 1110
- Joined: Sat Oct 16, 2004 3:34 pm
Re: Railgun
That is fantastic!
Only queer point I'm ending now is when I make a map with the railgun it doesn't appear.
It is there, because I can grab it, but it doesn't seem to spawn.
http://members.home.nl/gimli/railgun.jpg
Only queer point I'm ending now is when I make a map with the railgun it doesn't appear.
It is there, because I can grab it, but it doesn't seem to spawn.
http://members.home.nl/gimli/railgun.jpg
-

Madfox - Posts: 106
- Joined: Sat Jan 15, 2005 3:13 pm
- Location: Holland
Re: Railgun
Madfox wrote:Only queer point I'm ending now is when I make a map with the railgun it doesn't appear.
It is there, because I can grab it, but it doesn't seem to spawn.
That's because it needs to be positioned in the model file. Right now you can't see it because it's probably inside the brush.
Here's a repackage of what you PMed me earlier.
http://tlb.quakedev.com/files/unsupported/madfox-railgun.zip
Just use the g_rail05.mdl for your weapon pickup model, and the v_rail05.mdl for your view model when using the weapon.
-

Dr. Shadowborg - InsideQC Staff
- Posts: 1110
- Joined: Sat Oct 16, 2004 3:34 pm
Re: Railgun
Perfekt! I hope you like the model.
I only received a "SV_Modelindex: model progs/ v_rail.mdl was not precached.", but that was only a add at world.qc
Looks fine now, somewhat low without hub but clearly going.
Many Thanks!!!

I only received a "SV_Modelindex: model progs/ v_rail.mdl was not precached.", but that was only a add at world.qc
Looks fine now, somewhat low without hub but clearly going.
Many Thanks!!!
-

Madfox - Posts: 106
- Joined: Sat Jan 15, 2005 3:13 pm
- Location: Holland
5 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest