Making two or more models for a monster

Making two or more models for a monster

Re: Making two or more models for a monster Posted by tnkqwe on Fri Aug 1st 2008 at 6:14pm
tnkqwe
560 posts
Posted 2008-08-01 6:14pm
tnkqwe
member
560 posts 684 snarkmarks Registered: Mar 31st 2007 Occupation: High school student Location: Bulgaria
I have seen this thing in Afraid Of Monsters (AOM) for the zombies.But I want to do this for the a_slaves and a_grunts.Doese anyone knows how to do this? :confused:
Never think about bad things!
TNKqwe:The New Killer qwe
[img]http://images.quiz.wegame.com/production/personalities/22/badge.jpg[/img]
I am Engineer - Play Free Online Games
[img]http://media.moddb.com/images/global/moddb_88x31_v12.png[/img]
Citizen Arms
Re: Making two or more models for a monster Posted by Le Chief on Sat Aug 2nd 2008 at 12:34am
Le Chief
2605 posts
Posted 2008-08-02 12:34am
Le Chief
member
2605 posts 937 snarkmarks Registered: Jul 28th 2006 Location: Sydney, Australia
You can do this easily with Spirit of Half-life. All monsters have an option to use a custom model instead of the default one.

Other than that, some minor programming and some slight changes to your FGD will allow you to do this, but its probably just easier using Spirit of Half-life.
Aaron's Stuff
Re: Making two or more models for a monster Posted by tnkqwe on Sat Aug 2nd 2008 at 6:13am
tnkqwe
560 posts
Posted 2008-08-02 6:13am
tnkqwe
member
560 posts 684 snarkmarks Registered: Mar 31st 2007 Occupation: High school student Location: Bulgaria
OK.Helpful.
But I'm making the maps for OP4.So now I need to know how to join OP4 and Spirit...Hmmm...Maybe is in the coding.If I can use the OP4 and Spirit Source code...
But I can try this If I can find the codes.
Never think about bad things!
TNKqwe:The New Killer qwe
[img]http://images.quiz.wegame.com/production/personalities/22/badge.jpg[/img]
I am Engineer - Play Free Online Games
[img]http://media.moddb.com/images/global/moddb_88x31_v12.png[/img]
Citizen Arms
Re: Making two or more models for a monster Posted by Le Chief on Sun Aug 3rd 2008 at 5:03am
Le Chief
2605 posts
Posted 2008-08-03 5:03am
Le Chief
member
2605 posts 937 snarkmarks Registered: Jul 28th 2006 Location: Sydney, Australia
Well, using opposing force is going to be a problem. There is no way to merge Spirit of Half-life and opposing force, and its difficult to create the opposing force monsters and weapons in Spirit of Half-life or even normal Half-life because Gearbox (The folks behind Opposing Force) never released the Opposing Force source code, although some people have done it.

Basically, these are your choices:
  • Stick with Opposing Force and only be able to use one model per monster.
  • Learn c++ and code in the opposing force monsters and/or weapons into Spirit of Half-life (There are a few tutorials and forum posts that explain how to implement the code for Opposing Force weapons/monsters).
  • Ask the folks who have recreated the Opposing Force weapons and models for Spirit of Half-life to give you their code, models etc.. (Don't count on it).
  • Use Spirit of Half-life and stick with the normal Half-life monsters.
Choose wisely :wink: .

Personally though, I would just stick with Opposing Force and take advantage of all those extra monsters and weapons added to the sandbox, allowing you to paint more fun into your maps, unlessss there are a few Spirit of Half-life features that are pretty important for what you want to do (Spirit of Half-life has some fantastic features that allow you to do some amazing things in Half-life).
Aaron's Stuff
Re: Making two or more models for a monster Posted by tnkqwe on Mon Aug 4th 2008 at 7:47am
tnkqwe
560 posts
Posted 2008-08-04 7:47am
tnkqwe
member
560 posts 684 snarkmarks Registered: Mar 31st 2007 Occupation: High school student Location: Bulgaria
Maybe it will be "- Learn c++ and code in the opposing force monsters and/or weapons into Spirit of Half-life (There are a few tutorials and forum posts that explain how to implement the code for Opposing Force weapons/monsters)"
But where are the tutorials?
Oh!And there is another thing.But I'll ask later.
And Gearbox made OP4,Blue Shift and helped for creating other games http://www.gearboxsoftware.com/index.php?p=games
Never think about bad things!
TNKqwe:The New Killer qwe
[img]http://images.quiz.wegame.com/production/personalities/22/badge.jpg[/img]
I am Engineer - Play Free Online Games
[img]http://media.moddb.com/images/global/moddb_88x31_v12.png[/img]
Citizen Arms
Re: Making two or more models for a monster Posted by tnkqwe on Thu Aug 28th 2008 at 7:15pm
tnkqwe
560 posts
Posted 2008-08-28 7:15pm
tnkqwe
member
560 posts 684 snarkmarks Registered: Mar 31st 2007 Occupation: High school student Location: Bulgaria
No wait!
It's the FGD!
Now the question is back to the models.What is the way to create the Submodels(different models for a monster)?
Re: Making two or more models for a monster Posted by Le Chief on Sat Aug 30th 2008 at 1:57am
Le Chief
2605 posts
Posted 2008-08-30 1:57am
Le Chief
member
2605 posts 937 snarkmarks Registered: Jul 28th 2006 Location: Sydney, Australia
tnkqwe said:
Now the question is back to the models.What is the way to create the Submodels(different models for a monster)?
aaron_da_killa said:
You can do this easily with Spirit of Half-life. All monsters have an option to use a custom model instead of the default one.

Other than that, some minor programming and some slight changes to your FGD will allow you to do this, but its probably just easier using Spirit of Half-life.

Aaron's Stuff
Re: Making two or more models for a monster Posted by tnkqwe on Sat Aug 30th 2008 at 7:37am
tnkqwe
560 posts
Posted 2008-08-30 7:37am
tnkqwe
member
560 posts 684 snarkmarks Registered: Mar 31st 2007 Occupation: High school student Location: Bulgaria
Afraid Of Monsters is using the HL.DLL and it has 11 models for a zombie.And I'm using the OPFOR.DLL.I'have seen the AOM's FGD:

@PointClass base(Monster) size(-16 -16 0, 16 16 72) = monster_zombie : "Scientist Zombie"
[
body(Choices) : "Body" : -1 =
[
-1 : "Random"
0 : "original"
1 : "no"
2 : "turken"
3 : "nono"
4 : "polisen"
5 : "bruden"
6 : "rymden"
7 : "groenus"
8 : "originalei"
9 : "vitei"
10 : "graglass"
]

The answer is in the FGD,not in the coding.So how can I create the SUBMODELS?
Never think about bad things!
TNKqwe:The New Killer qwe
[img]http://images.quiz.wegame.com/production/personalities/22/badge.jpg[/img]
I am Engineer - Play Free Online Games
[img]http://media.moddb.com/images/global/moddb_88x31_v12.png[/img]
Citizen Arms
Re: Making two or more models for a monster Posted by Le Chief on Sat Aug 30th 2008 at 9:07am
Le Chief
2605 posts
Posted 2008-08-30 9:07am
Le Chief
member
2605 posts 937 snarkmarks Registered: Jul 28th 2006 Location: Sydney, Australia
Nuh, the answer is in the code.

The purpose of the FGD is to create a middle man between the code and Hammer. Since Hammer can not read the code, a text file containing all the entities and their properties that would be useful for hammer to know is inside the FGD file. Remember, all the entities and their properties are contained inside the code, Hammer has no idea what entities are in the code, so the FGD tells it what entities are inside the code.

What you are seeing is all of the options for a specific entity so that hammer can knows what options to display, options such as targetname, render fx or whatever and all the flags.

Inside the code however, for the entity "Scientist Zombie", is lines of code saying, ok, for the option "3" (which humans will see as "nono"), we need to pre-cache this model into the game, than we need to apply it to this npc. There is also something that says, "ok, now this entity is called "PointClass, monster_zombie, Scientist Zombie", in the FGD file, so whenever I am reading the bsp file and I see hammer has placed something inside my map called "PointClass, monster_zombie, Scientist Zombie" I know that it wants a Scientist Zombie there.
Aaron's Stuff
Re: Making two or more models for a monster Posted by tnkqwe on Sat Aug 30th 2008 at 8:14pm
tnkqwe
560 posts
Posted 2008-08-30 8:14pm
tnkqwe
member
560 posts 684 snarkmarks Registered: Mar 31st 2007 Occupation: High school student Location: Bulgaria
You have a point.But how can I do the coding for OP4 knowing that there is no code in the internet.
aaron_da_killa said:- Learn c++ and code in the opposing force monsters and/or weapons into Spirit of Half-life (There are a few tutorials and forum posts that explain how to implement the code for Opposing Force weapons/monsters)
Where can I find the tutorials? :confused:
Re: Making two or more models for a monster Posted by tnkqwe on Tue Sep 9th 2008 at 6:12pm
tnkqwe
560 posts
Posted 2008-09-09 6:12pm
tnkqwe
member
560 posts 684 snarkmarks Registered: Mar 31st 2007 Occupation: High school student Location: Bulgaria
I'm waiting for an answer!
Re: Making two or more models for a monster Posted by tnkqwe on Wed Sep 10th 2008 at 9:17pm
tnkqwe
560 posts
Posted 2008-09-10 9:17pm
tnkqwe
member
560 posts 684 snarkmarks Registered: Mar 31st 2007 Occupation: High school student Location: Bulgaria
And I'm still waiting for an aswer for the tutorials.
Re: Making two or more models for a monster Posted by Le Chief on Fri Sep 12th 2008 at 7:18am
Le Chief
2605 posts
Posted 2008-09-12 7:18am
Le Chief
member
2605 posts 937 snarkmarks Registered: Jul 28th 2006 Location: Sydney, Australia
Oh, right, ummmm let me have a look and I'll get back to you in a day or whatever.
Aaron's Stuff
Re: Making two or more models for a monster Posted by tnkqwe on Fri Sep 12th 2008 at 7:57am
tnkqwe
560 posts
Posted 2008-09-12 7:57am
tnkqwe
member
560 posts 684 snarkmarks Registered: Mar 31st 2007 Occupation: High school student Location: Bulgaria
OK than!I'm will be waiting...and waiting...
Re: Making two or more models for a monster Posted by Le Chief on Fri Sep 12th 2008 at 8:57am
Le Chief
2605 posts
Posted 2008-09-12 8:57am
Le Chief
member
2605 posts 937 snarkmarks Registered: Jul 28th 2006 Location: Sydney, Australia
Sorry, I need to search for em. Most of the tutorials are in the form of forum posts which are buried away on various websites.

Try searching the Spirit of Half-life forums. I remember a few are there.

Also, try this for some coding practice :). I would have linked ya to that same tutorial on this website but I just updated it and its going through approval.
Aaron's Stuff
Re: Making two or more models for a monster Posted by Riven on Sat Sep 13th 2008 at 12:13am
Riven
1640 posts
Posted 2008-09-13 12:13am
Riven
Wuch ya look'n at?
super admin
1640 posts 1266 snarkmarks Registered: May 2nd 2005 Occupation: Architect Location: Austin, Texas, USA
The article has been approved now, you can reach it here.

-Sorry for the delay ~o)
Blog: www.playingarchitecture.net
LinkedIn: Eric Lancon
Twitter:@Riven202
Re: Making two or more models for a monster Posted by Le Chief on Sat Sep 13th 2008 at 7:25am
Le Chief
2605 posts
Posted 2008-09-13 7:25am
Le Chief
member
2605 posts 937 snarkmarks Registered: Jul 28th 2006 Location: Sydney, Australia
Riven said:
The article has been approved now, you can reach it here.

-Sorry for the delay smiley
Your able to approve the tutorials?
Aaron's Stuff