Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline mr_hymn_  
#1 Posted : Monday, April 3, 2017 10:59:38 PM(UTC)
mr_hymn_
Major
Joined: 2/28/2017(UTC)
Posts: 410
Thailand
Location: Bangkok

Thanks: 63 times
Was thanked: 145 time(s) in 127 post(s)
I am finally made something weird. It's a camp for infantry since I see infantry is kinda underpowered.
So I made a stinger site and renamed it "Ranger Camp" Just to provide a little extra protection against tanks.

The difference is no spawn unit, weaker version and provide no score but fast to build and cheap to build too.
Code is nearly the same only SpawnBehavior is replaced with GarrisonContain.

Behavior = GarrisonContain ModuleTag_07
ContainMax = 3
EnterSound = GarrisonEnter
ExitSound = GarrisonExit
ImmuneToClearBuildingAttacks = Yes
DamagePercentToUnits = 0%

IsEnclosingContainer = No

End

Let say all empty and need to be garrisoned by any kind of infantry. max to 3 units.

It works so great and I love it but the only thing that disturbing me the most is the way they get into that thing.

It's not stay at the spawn point but rather gathered around the building.
UserPostedImage

Any advices?
thanks 1 user thanked mr_hymn_ for this useful post.
elliesy on 4/9/2017(UTC)
Sponsor
Offline acidbrain  
#2 Posted : Tuesday, April 4, 2017 12:50:12 AM(UTC)
acidbrain
General
Joined: 12/30/2011(UTC)
Posts: 982

Thanks: 95 times
Was thanked: 574 time(s) in 364 post(s)
Good idea sir...
Maybe you can load the model into gmax/renx and check what the names of the bones are, if im not mistaking you can use some firebase logic to get those soldiers inside of the camp...
Panem et kirkinses
Offline mr_hymn_  
#3 Posted : Tuesday, April 4, 2017 1:22:47 AM(UTC)
mr_hymn_
Major
Joined: 2/28/2017(UTC)
Posts: 410
Thailand
Location: Bangkok

Thanks: 63 times
Was thanked: 145 time(s) in 127 post(s)
Originally Posted by: acidbrain Go to Quoted Post
Good idea sir...
Maybe you can load the model into gmax/renx and check what the names of the bones are, if im not mistaking you can use some firebase logic to get those soldiers inside of the camp...


I tried the firebase logic and it doesn't work. Put in ExtraPublicBone or even run with SpawnPoint01 SpawnPoint02 SpawnPoint03 doesn't help.
I might have to look up in Gmax.
Offline acidbrain  
#4 Posted : Tuesday, April 4, 2017 3:35:04 AM(UTC)
acidbrain
General
Joined: 12/30/2011(UTC)
Posts: 982

Thanks: 95 times
Was thanked: 574 time(s) in 364 post(s)
I think you have to edit the model if you want the firebase logic to work, you have to add some bones where the troops show up if they enter the model...
Panem et kirkinses
thanks 1 user thanked acidbrain for this useful post.
Gameanater on 4/4/2017(UTC)
Offline mr_hymn_  
#5 Posted : Tuesday, April 4, 2017 3:38:05 AM(UTC)
mr_hymn_
Major
Joined: 2/28/2017(UTC)
Posts: 410
Thailand
Location: Bangkok

Thanks: 63 times
Was thanked: 145 time(s) in 127 post(s)
Originally Posted by: acidbrain Go to Quoted Post
I think you have to edit the model if you want the firebase logic to work, you have to add some bones where the troops show up if they enter the model...


I am thinking the same thing.
Offline Gameanater  
#6 Posted : Tuesday, April 4, 2017 9:31:25 PM(UTC)
Gameanater
General
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 5/13/2013(UTC)
Posts: 1,537
United States
Location: Right Behind You

Thanks: 574 times
Was thanked: 166 time(s) in 144 post(s)
I like this idea.

If you do edit the Stinger Site model, could you upload a copy of it here for others to use if you don't mind?
Maybe also make it a separate model so it doesn't override the existing one.
Any old friends still on here can add me on discord @jcdenton2187. I'm far more likely to respond there.
Offline mr_hymn_  
#7 Posted : Tuesday, April 4, 2017 9:50:43 PM(UTC)
mr_hymn_
Major
Joined: 2/28/2017(UTC)
Posts: 410
Thailand
Location: Bangkok

Thanks: 63 times
Was thanked: 145 time(s) in 127 post(s)
Originally Posted by: Gameanater Go to Quoted Post
I like this idea.

If you do edit the Stinger Site model, could you upload a copy of it here for others to use if you don't mind?
Maybe also make it a separate model so it doesn't override the existing one.


Sure and I am learning how to reskin it too.
thanks 2 users thanked mr_hymn_ for this useful post.
Gameanater on 4/4/2017(UTC), zero hour mad map maker on 4/10/2017(UTC)
Offline mr_hymn_  
#8 Posted : Saturday, April 8, 2017 2:14:58 PM(UTC)
mr_hymn_
Major
Joined: 2/28/2017(UTC)
Posts: 410
Thailand
Location: Bangkok

Thanks: 63 times
Was thanked: 145 time(s) in 127 post(s)
I made another code I called RGStingerS Instead of UBStingerS

And everything works properly but the texture is screwed up. What should I do?
UserPostedImage

Do I need to do something with texture?
Offline mr_hymn_  
#9 Posted : Saturday, April 8, 2017 2:16:47 PM(UTC)
mr_hymn_
Major
Joined: 2/28/2017(UTC)
Posts: 410
Thailand
Location: Bangkok

Thanks: 63 times
Was thanked: 145 time(s) in 127 post(s)
As I looked through the RenX I saw the bone was called SPAWNPOINT01 SPAWNPOINT02 SPAWNPOINT03

But I can't use them so I changed those bones to STATION01 STATION02 STATION03 same as FireBase bone. It works but texture.... I am only need this and I could work with anything
Offline acidbrain  
#10 Posted : Sunday, April 9, 2017 6:03:19 AM(UTC)
acidbrain
General
Joined: 12/30/2011(UTC)
Posts: 982

Thanks: 95 times
Was thanked: 574 time(s) in 364 post(s)
Made the models for ya...

You can use the code below for the first draw module, i also added some smoke bones for the damaged states, you can enter the camp with 4 soldiers, didnt create scaffolding so atm only gla scaffolds can be used, if you want usa or china scaffolding and construction cranes just let me know and i'll fix it for ya...
I made models for all the condition states, took the vanilla stingersite and modded it into a bit different thingy, new damaged states and such, if you find something that is not ok you know where to find me...


Greetz...Cool

Edited by user Sunday, April 9, 2017 6:18:15 AM(UTC)  | Reason: Secret

File Attachment(s):
RangerCamp.rar (231kb) downloaded 26 time(s).
Panem et kirkinses
thanks 5 users thanked acidbrain for this useful post.
mr_hymn_ on 4/9/2017(UTC), CommieDog on 4/10/2017(UTC), zero hour mad map maker on 4/10/2017(UTC), Unknown Editor on 4/1/2018(UTC), rey on 4/9/2018(UTC)
Offline elliesy  
#11 Posted : Sunday, April 9, 2017 8:17:40 AM(UTC)
elliesy
Major
Joined: 2/26/2016(UTC)
Posts: 223
Philippines
Location: Manila

Thanks: 242 times
Was thanked: 10 time(s) in 9 post(s)
nice job i like that..:D
Offline mr_hymn_  
#12 Posted : Sunday, April 9, 2017 8:22:23 PM(UTC)
mr_hymn_
Major
Joined: 2/28/2017(UTC)
Posts: 410
Thailand
Location: Bangkok

Thanks: 63 times
Was thanked: 145 time(s) in 127 post(s)
Originally Posted by: acidbrain Go to Quoted Post
Made the models for ya...

You can use the code below for the first draw module, i also added some smoke bones for the damaged states, you can enter the camp with 4 soldiers, didnt create scaffolding so atm only gla scaffolds can be used, if you want usa or china scaffolding and construction cranes just let me know and i'll fix it for ya...
I made models for all the condition states, took the vanilla stingersite and modded it into a bit different thingy, new damaged states and such, if you find something that is not ok you know where to find me...


Greetz...Cool


Thank you very much. Really appreciate your kindness.
Offline elliesy  
#13 Posted : Sunday, April 9, 2017 10:06:17 PM(UTC)
elliesy
Major
Joined: 2/26/2016(UTC)
Posts: 223
Philippines
Location: Manila

Thanks: 242 times
Was thanked: 10 time(s) in 9 post(s)
what is the new output..
.
.

:D
Offline mr_hymn_  
#14 Posted : Monday, April 10, 2017 2:19:59 AM(UTC)
mr_hymn_
Major
Joined: 2/28/2017(UTC)
Posts: 410
Thailand
Location: Bangkok

Thanks: 63 times
Was thanked: 145 time(s) in 127 post(s)
Awesome result.
UserPostedImage

But I am really want to know too if I did it wrong because I duplicate the stinger site model and import to Gmax then rename the SPAWNPOINT to STATION, export then placed in the game to try but why texture is gone wrong?

Please help me I am really want to know it.
Offline mr_hymn_  
#15 Posted : Monday, April 10, 2017 2:46:12 AM(UTC)
mr_hymn_
Major
Joined: 2/28/2017(UTC)
Posts: 410
Thailand
Location: Bangkok

Thanks: 63 times
Was thanked: 145 time(s) in 127 post(s)
Can you help me with USA scaffolding please.
Offline acidbrain  
#16 Posted : Monday, April 10, 2017 3:49:09 AM(UTC)
acidbrain
General
Joined: 12/30/2011(UTC)
Posts: 982

Thanks: 95 times
Was thanked: 574 time(s) in 364 post(s)
Originally Posted by: Mr_Hymn_ Go to Quoted Post

But I am really want to know too if I did it wrong because I duplicate the stinger site model and import to Gmax then rename the SPAWNPOINT to STATION, export then placed in the game to try but why texture is gone wrong?

Please help me I am really want to know it.

If you have an object in Gmax/Renx which has multiple textures or multiple passes it only saves the first texture when you export it to W3D, the stinger site had combined objects with multiple textures.
If you want to edit the model you have to separate the main object into multiple object again and apply the right textures to the new objects.
The ground texture and the camonetting are textures with alpha blend transparency so if you load a W3D file, change the bones and export it again you don't have the transparency setting anymore, you have to redo those settings before you export your model.
The same goes for objects with multiple passes, night models and reflective glass have multiple passes and only one pass is saved when you export to W3D.
It is handy to save new models or edited models to a Gmax file and W3D because the Gmax file saves all the settings and W3D doesn't so if you want to edit your exported model again you can use the Gmax file.

Originally Posted by: Mr_Hymn_ Go to Quoted Post
Can you help me with USA scaffolding please.

No problem, i´ll fix those models for ya...
Do you only want to use the ranger camp for USA or also for other factions?
If you only want the camp for the USA I will rename the models to ´ABRngrCamp´ so the right naming convention is used...

Greetz

Edited by user Monday, April 10, 2017 3:57:54 AM(UTC)  | Reason: Secret

Panem et kirkinses
thanks 1 user thanked acidbrain for this useful post.
mr_hymn_ on 4/10/2017(UTC)
Offline mr_hymn_  
#17 Posted : Monday, April 10, 2017 5:03:26 AM(UTC)
mr_hymn_
Major
Joined: 2/28/2017(UTC)
Posts: 410
Thailand
Location: Bangkok

Thanks: 63 times
Was thanked: 145 time(s) in 127 post(s)
Currently would be a US first and I don't want to bother you too much. I am working on the Vehicle dig out too.
Offline acidbrain  
#18 Posted : Monday, April 10, 2017 10:14:17 AM(UTC)
acidbrain
General
Joined: 12/30/2011(UTC)
Posts: 982

Thanks: 95 times
Was thanked: 574 time(s) in 364 post(s)
You can use the construction zone fence and scaffolding from the supplydropzone, fits like a glove...:P
Here is the code:

Greetz
Panem et kirkinses
thanks 3 users thanked acidbrain for this useful post.
zero hour mad map maker on 4/10/2017(UTC), mr_hymn_ on 4/10/2017(UTC), Unknown Editor on 4/1/2018(UTC)
Users browsing this topic
Guest
Similar Topics
Garrisonable stinger site? (Generals: Modding)
by Deinon 3/31/2018 8:56:35 PM(UTC)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.