Helping me get gadgets to work will get you into a playtest

Helping me get gadgets to work will get you into a playtest

A fresh perspective on battle for control of Earth, brought to you by Sanada and Snoop.

Moderators: Moderators, Content Developer

Post Reply
User avatar
oksnoop2
Posts: 1207
Joined: 29 Aug 2009, 20:12

Helping me get gadgets to work will get you into a playtest

Post by oksnoop2 »

*http://springrts.com/phpbb/viewtopic.php?f=14&t=22887 Quantum is writing it thanks!

*Upgrade Gadget: seen in spring44, works now, thanks FLOZi

*Jump-jet Gadget: seen in CA, Works now, thanks Carrepairer

*Carrier Drone Gadget: seen in CA, have not messed with yet.

*Partisan Spawn Gadget: seen in Spring 44, have not messed with yet.

*Tera forming: seen in CA and ABA, kind of works, waiting to see if the no assist gadget will work better.

*Make the game compatible with world builder and feature placer, I think this is tied to modular lups. ? No one has explained this to me yet.

*The gadget to let aircraft factories dictate if newly built planes fly or not after they're finished, have not messed with yet.

I'm no wizard so if someone or the authors want to help me getting this stuff implemented it to a satisfactory degree, you can get into a playtest.


I wonder how many times i can pull the playtest card before people stop caring..
Last edited by oksnoop2 on 10 Jun 2010, 05:29, edited 6 times in total.
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6241
Joined: 29 Apr 2005, 01:14

Re: Lua Stuff I want to get working

Post by FLOZi »

I take it you must mean game_partisanSpawn.lua, it's very simple - however, it currently uses hardcoded unitdef names rather than a config file, and is limited to spawning one type of unit around one type of structure.
User avatar
oksnoop2
Posts: 1207
Joined: 29 Aug 2009, 20:12

Re: Lua Stuff I want to get working

Post by oksnoop2 »

So that's a no right now, on the partisanspawn? oh and how do i get such and such developer to appear over my avatar?
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6241
Joined: 29 Apr 2005, 01:14

Re: Lua Stuff I want to get working

Post by FLOZi »

No to what? :shock:

I'll help you sure, but it depends what you want to do with it exactly how much help you'll need. The code is S44 specific, in part because I thought the idea was (but mostly I'm lazy).

As for the title, there's an option in your profile, but you may well have to bug an admin (neddie is the usual target) to set up the rank group.
User avatar
oksnoop2
Posts: 1207
Joined: 29 Aug 2009, 20:12

Re: Lua Stuff I want to get working

Post by oksnoop2 »

Oh sorry for my communication skills. Anyway I would gladly take any help you can give on "de-44ify" partisan spawn. But i'll be honest. Jump jets(see games and mod thread) , and Tera forming are next on my
list-o-Lua stuff to get operational. I will though remember that you offered and send a PM to you when i get that far.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: Lua Stuff I want to get working

Post by AF »

I would personally advise against the terraforming gadget as it just looks fugleh
User avatar
oksnoop2
Posts: 1207
Joined: 29 Aug 2009, 20:12

Re: Lua Stuff I want to get working

Post by oksnoop2 »

Like the act of terra forming or the gadget?
Kenku
Posts: 134
Joined: 26 Feb 2010, 06:19

Re: Lua Stuff I want to get working

Post by Kenku »

Right now terraforming is kinda fugly. In changing the terrain on the map, you stretch the ground textures, which can make it look rather bad(especially with big walls).
User avatar
SanadaUjiosan
Conflict Terra Developer
Posts: 907
Joined: 21 Jan 2010, 06:21

Re: Lua Stuff I want to get working

Post by SanadaUjiosan »

I was personally unphased by this "fugliness", so I'll just ask out of curiosity, what would a prettier way to do terraforming look like?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: Lua Stuff I want to get working

Post by AF »

to be honest, terraforming will always look fugleh in the current map format, your only choice really is to cover it up with features, I would suggest a tower with a panel with the tower at 0 height, and sides which are very long on all sides. Its far from an elegant solution but its a superior one to what we have, and it doesnt account for lowered terrain, only raised blocky terrain.
User avatar
oksnoop2
Posts: 1207
Joined: 29 Aug 2009, 20:12

Re: Lua Stuff I want to get working

Post by oksnoop2 »

Tried to get TerraForming working. It was a big ol failstorm. Made a post about it in games and mods.
Google_Frog
Moderator
Posts: 2464
Joined: 12 Oct 2007, 09:24

Re: Lua Stuff I want to get working

Post by Google_Frog »

When last did anyone that says terraforming is fugleh test it? The pyramids on the sides make it look much nicer as there is a lot less stretching and it still looks decent from far away with low terrain detail.

What exactly are you looking to do with terraforming? There are a few CA specific bits there(such as clogger mounds). I'd suggest you put a lot of thought into what you want terraforming to do and then tell me so I can make any alterations.
User avatar
oksnoop2
Posts: 1207
Joined: 29 Aug 2009, 20:12

Re: Lua Stuff I want to get working

Post by oksnoop2 »

Let me say, thanks googlefrog you are being super helpful. I want to be able to make Trenches, Walls, and Ramps.
Google_Frog
Moderator
Posts: 2464
Joined: 12 Oct 2007, 09:24

Re: Lua Stuff I want to get working

Post by Google_Frog »

Let me say, thanks googlefrog you are being super helpful. I want to be able to make Trenches, Walls, and Ramps.
That is not exactly what you want to do. There are many ways to make trenches, walls and ramps.

Read the manual and play around with CA terraforming http://trac.caspring.org/wiki/Terraforming.

Terraforming in CA has 2 major gameplay changing features (as opposed to UI).

Firstly buildings cannot be moved vertically using terraforming and if moved by explosion deformation they are moved back to their original height via a slow update.

Secondly the terrain must have a gradient less than a certain amount while terraforming(I call these pyramids). As height above the surrounding ground increases the cost of making something higher increases as it requires a larger base. This fixes CA's massive spire problem while maintaining the same cost/elmo^3 for all terraforming. As a side effect terraformed cliffs are much nicer looking and it is easier to shoot at things in holes.

http://trac.caspring.org/attachment/wik ... smooth.PNG
See this image on left. Note that most images in the manual are older than pyramids. The gradient of this slope is maxHeightDifference(found in config at line 100)/8. Up until recently pyramids had a higher gradient when reaching diagonally from a point.

Also note that removing immobile buildings and not removing pyramids would take actual work.

Don't hesitate to add terraforming effects to weapon explosions, unit deaths or a constant unit aura. These are ridiculously easy to do.

Your game might be made in such a way that you want terraform do some things that have been blocked in CA as in CA the features had gameplay problems. Though if you don't know exactly what terraform will do in your game I would recommend taking all the features from CA terraform and seeing how they work out. maxHeightDifference and cost/elmo^3 should give you enough tools to balance it.

The minimun work required to implement terraform would be to remove CA's weapon explosion and unit death terraform, add a unit called terraunit with an appropriate model and minimal script, set which units should be able to terraform in UnitCreated at line 2556 and copy over the gui_lasso_terraform.lua. There may be something else that CA has to make the buttons work though the buttons are added in the gadget so they should work afaik.
Attachments
terraunit.lua
(1.54 KiB) Downloaded 26 times
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: Lua Stuff I want to get working

Post by AF »

We did trenches in WW1, and it didnt work, and we've moved on since then.

What makes you think a civilisation capable of putting cruisers in the air is going to bother with something as backwards as trenches?
User avatar
oksnoop2
Posts: 1207
Joined: 29 Aug 2009, 20:12

Re: Lua Stuff I want to get working

Post by oksnoop2 »

Eh I think it would be fun. No real reason to back it up. Why do I like Jet? I don't know I just do.
User avatar
Das Bruce
Posts: 3544
Joined: 23 Nov 2005, 06:16

Re: Lua Stuff I want to get working

Post by Das Bruce »

Trenches =/= trench warfare. Dug in or fortified positions are still in use by modern militaries.
User avatar
SanadaUjiosan
Conflict Terra Developer
Posts: 907
Joined: 21 Jan 2010, 06:21

Re: Lua Stuff I want to get working

Post by SanadaUjiosan »

Addition to list of Lua to get working:

The gadget to let aircraft factories dictate if newly built planes fly or not after they're finished.
User avatar
oksnoop2
Posts: 1207
Joined: 29 Aug 2009, 20:12

Re: Lua Stuff I want to get working

Post by oksnoop2 »

*http://springrts.com/phpbb/viewtopic.php?f=14&t=22887

*Upgrade Gadget: seen in spring44, i think Sanada tried and failed

*Jump-jet Gadget: seen in CA, Works now, thanks Carrepairer

*Carrier Drone Gadget: seen in CA, have not messed with yet.

*Partisan Spawn Gadget: seen in Spring 44, have not messed with yet.

*Tera forming: seen in CA and ABA, kind of works, awaiting reply from someone else.

*Make the game compatible with world builder and feature placer, I think this is tied to modular lups. ? No one has explained this to me yet.

*The gadget to let aircraft factories dictate if newly built planes fly or not after they're finished, have not messed with yet.
User avatar
oksnoop2
Posts: 1207
Joined: 29 Aug 2009, 20:12

Re: Helping me get gadgets to work will get you into a playtest

Post by oksnoop2 »

Upgrade works.
Post Reply

Return to “Conflict Terra”