|
|
#1 |
![]() Join Date: Nov 2008
Reputation: 0
Posts: 63
|
Source Scaling
Hello,
i worked for HL1 mapping over 10years and it has env_model to add models to a map wich has a "scaling" command to resize models in ur maps now in HL² theres no more env_models so i tried using npc_furniture but it doesnt have a Scaling command any wayto scale models in SourceSDK aka Hammer without having to decompile it? |
|
|
|
|
|
#2 |
![]() Join Date: Aug 2011
Reputation: 49
Posts: 1,120
|
you could use prop_scalable. drawback is it makes the model nonsolid means you gotta do the collision stuff yourself with brushes. if it's not too complex it might be no problem tho.
|
|
|
|
|
|
#3 |
![]() Join Date: Nov 2008
Reputation: 0
Posts: 63
|
Thanks, forgive my "noobness" but where do you ADD something here? theres no ADD button..
|
|
|
|
|
|
#4 |
![]() Join Date: Dec 2010
Reputation: 0
Posts: 33
|
Add to the outputs and target: $self
It will be red but ignore that because it works. However, if it doesn't have a spawn trigger or something, you can always use a logic_auto to trigger it. |
|
|
|
|
|
#5 |
![]() Join Date: Nov 2008
Reputation: 0
Posts: 63
|
did it... but no changes in Hammer and no model showing up ingame.
Last edited by Heffernan: 09-13-2012 at 04:33 PM. |
|
|
|
|
|
#6 |
![]() Join Date: Sep 2009
Reputation: 0
Posts: 122
|
|
|
|
|
|
|
#7 |
![]() Join Date: Nov 2008
Reputation: 0
Posts: 63
|
ok...
i used a logic_auto now to trigger "11" (the model) but "via this input" doesnt recognize SetScaleX and shows ERROR (logic_auto) has bad I/O Connections :/ |
|
|
|
|
|
#8 |
![]() Join Date: Oct 2008
Reputation: 16
Posts: 136
|
Use the drop down list in 'Via this input' to look for something similar to SetScaleX (so you get the right syntax).
|
|
|
|
|
|
#9 |
![]() Join Date: Nov 2008
Reputation: 0
Posts: 63
|
|
|
|
|
|
|
#10 |
![]() Join Date: Nov 2008
Reputation: 0
Posts: 63
|
tried again, theres no SetScale or similar to this in the logic_auto :/
|
|
|
|
|
|
#11 |
![]() Join Date: Dec 2010
Reputation: 0
Posts: 33
|
You used OnIgnite as trigger, do you really want the prop to get smaller when you set fire to it ?
The fields from 'Via this input' are limited by the target you're giving it, so make sure you're targeting the right entity... other than that, I dunno... maybe research: https://developer.valvesoftware.com/...ts_and_Outputs https://developer.valvesoftware.com/wiki/Prop_scalable |
|
|
|
|
|
#12 |
![]() Join Date: Nov 2008
Reputation: 0
Posts: 63
|
guess thats the problem...
"prop_scalable is a point entity available in all Source games since Episode Two. It creates a non-solid model that can be resized dynamically via inputs. It is used in Episode Two for the "superportal" effects and the beginning and end of the game. " im using it in Standard Halflife2 not Episode2, no wonder nothing will accept a SetScaleX/Y/Z so theres NO way to scale it out of decompiling? |
|
|
|
|
|
#13 |
![]() Join Date: Dec 2010
Reputation: 0
Posts: 33
|
If the entity is not in the FGD it's most likely that it won't work, so you shouldn't manually fill in entity names if you aren't sure they work.
But I guess there's no other way to do it but recompiling the model... you only need to decompile it, edit the .qc script to change the scale and recompile. |
|
|
|
![]() |
|
||||||
| Thread Tools | |
| Display Modes | |
|
|