| View previous topic :: View next topic |
| Author |
Message |
zypres1
Level: 43

Position: Registered User
Joined: 24 Oct 2011
Posts: 209
Kel: 22 [ Donate ]
Online Status: Offline
|
Posted: Mon Dec 19, 2011 1:22 am Post subject: Tower game with Volkov and other things |
|
|
I am creating a towergame from blarget2's idea and map.
I also stole twarpie's Volkov soldier
The game have different rules than normal.
Todo
- fix tower expansion, givebuildable
- Fix so booth get turret (weird bug?)
typo, same with medic not fixed
- fix spawnpoints
- make it more equal for allies and soviet
- Fix bug
txh chrisf
Pros
- new unit from Twarpie
- Starting with buildings
- One place to fight
Cons
- Not a "tower" game yet
- Not sure about economy
- Spawn points can change
- Stupid Ai does not attack
| Code: | Rules:
PROC:
Buildable:
-Owner:
-MustBeDestroyed:
GUN:
Buildable:
Prerequisties: anypower ->typo fixed
Owner: soviet,allies
GivesBuildableArea:
Building:
Adjacent: 8
RevealsShroud:
Range: 7
PBOX:
Buildable:
-Owner:
HBOX:
Buildable:
-Owner:
SILO:
Buildable:
-Owner:
-MustBeDestroyed:
FACT:
Buildable:
-Owner:
HARV:
Buildable:
-Owner:
POWR:
Buildable:
-Owner:
-MustBeDestroyed:
APWR:
Buildable:
-Owner:
-MustBeDestroyed:
SYRD:
Buildable:
-Owner:
SPEN:
Buildable:
-Owner:
FTUR:
Buildable:
Prerequisties: anypower
Owner: soviet,allies
GivesBuildableArea:
Range: 7
Building:
Adjacent: 8
RevealsShroud:
Range: 7
FCOM:
Buildable:
-Owner:
Valued:
Cost: 1400
Tooltip:
Name: FCOM
Description: Supplies a steady income
Icon: PROC
Building:
Power: 50
Sellable:
RepairableBuilding:
GivesBuildableArea:
RevealsShroud:
Range: 66
IronCurtainable:
CashTrickler:
Period: 50
Amount: 20 -> added 50 or so
Health:
HP: 600
E1:
Selectable:
Voice: VolkovVoice
Buildable:
Prerequisties: anypower
Owner: soviet,allies
Tooltip:
Name: Volkov
Description: Cybernetic Soldier (misses Chitkoi)
Icon: e8icon
Valued:
Cost: 200
Health:
HP: 60
Mobile:
Speed: 6
RevealsShroud:
Range: 6
AttackFrontal:
PrimaryWeapon: M1Carbine
MEDI:
Buildable:
Prerequisties: anypower -->typo not fixed
Owner: soviet,allies
DOG:
Buildable:
Prerequisties: anypower
Owner: soviet,allies
Valued:
Cost: 100
Player:
PlayerResources:
InitialCash: 1666
ConquestVictoryConditions:
WinNotification: misnlst1.aud
LoseNotification: misnwon1.aud
Sequences:
Weapons:
Voices:
VolkovVoice:
Voices:
Select: iromsec,iromsee
Move: iromata,iromatb,iromatc,iromatd,iromate,irommoc,irommod,irommoe
and added DIE things, caused that was needed |
-blarget2's idea
Please make maps based on this
| Attachment: |
| Filename: |
td2.oramap |
| Description: |
Version 2, bigger file than normal |
| 172.37 KB :: Downloaded 105 Time(s) :: [ Download ] |
|
|
|
| Back to top |
|
 |
twarpie
Level: 41
Position: Registered User
Joined: 26 Jun 2011
Posts: 60
Kel: 65 [ Donate ]
Online Status: Offline
|
Posted: Mon Dec 19, 2011 8:09 am Post subject: Re: Tower game with Volkov and other things |
|
|
| zypres1 wrote (View Post): | I am creating a towergame from blarget2's idea and map.
I also stole twarpie's Volkov soldier |
See my response here, but just to reiterate: the Volkov unit is not mine.
Nice idea for a map this btw.
|
|
| Back to top |
|
 |
zypres1
Level: 43

Position: Registered User
Joined: 24 Oct 2011
Posts: 209
Kel: 22 [ Donate ]
Online Status: Offline
|
Posted: Wed Dec 21, 2011 3:40 am |
|
|
How can we make us build from turrets to next turrets?
now we use
| Code: | FTUR:
Buildable:
Prerequisties: anypower
Owner: soviet,allies
GivesBuildableArea:
Range: 7
Building:
Adjacent: 9
RevealsShroud:
Range: 7 |
That is not working, only makes us build from longer away.. Might be something wrong with gibesbuildableArea
|
|
| Back to top |
|
 |
Harisson
Level: 67

Position: Registered User
Joined: 13 Jan 2008
Posts: 128
Kel: 114 [ Donate ]
Online Status: Offline
|
Posted: Wed Dec 21, 2011 8:25 am |
|
|
I think, you need this:
| Code: | FTUR:
...
Building:
Adjacent: 1
...
GivesBuildableArea:
... |
|
|
| Back to top |
|
 |
zypres1
Level: 43

Position: Registered User
Joined: 24 Oct 2011
Posts: 209
Kel: 22 [ Donate ]
Online Status: Offline
|
Posted: Wed Dec 21, 2011 8:35 pm Post subject: Thanks |
|
|
Thank you for your help, but this code is not working:
| Code: | FTUR:
Buildable:
Prerequisties: anypower
Owner: soviet,allies
Building:
Adjacent: 1
GivesBuildableArea:
RevealsShroud:
Range: 7 |
|
|
| Back to top |
|
 |
BaronOfStuff
Level: 48
Position: Registered User
Joined: 22 May 2011
Posts: 313
Kel: 333 [ Donate ]
Online Status: Offline
|
Posted: Thu Dec 22, 2011 12:12 am |
|
|
| You need to add a 'range' to 'GivesBuildableArea'.
|
|
| Back to top |
|
 |
zypres1
Level: 43

Position: Registered User
Joined: 24 Oct 2011
Posts: 209
Kel: 22 [ Donate ]
Online Status: Offline
|
Posted: Thu Dec 22, 2011 12:41 am |
|
|
| BaronOfStuff wrote (View Post): | | You need to add a 'range' to 'GivesBuildableArea'. |
| Code: | FTUR:
Buildable:
Prerequisties: anypower
Owner: soviet,allies
Building:
Adjacent: 1
GivesBuildableArea:
Range: 7
RevealsShroud:
Range: 7
|
still not working, but thanks
|
|
| Back to top |
|
 |
chrisf
Level: 53
Position: Moderator
Joined: 06 Sep 2010
Posts: 243
Kel: 256 [ Donate ]
Online Status: Offline
|
Posted: Thu Dec 22, 2011 12:57 am |
|
|
There is no 'Range' parameter to GivesBuildableArea. In fact, it has nothing you can tweak at all, it's just a tag. Here is the definition:
| Code: | public class GivesBuildableAreaInfo : TraitInfo<GivesBuildableArea> {}
public class GivesBuildableArea {} |
|
|
| Back to top |
|
 |
zypres1
Level: 43

Position: Registered User
Joined: 24 Oct 2011
Posts: 209
Kel: 22 [ Donate ]
Online Status: Offline
|
Posted: Mon Dec 26, 2011 1:44 am Post subject: still no help |
|
|
| Still no help, please submit your code, or hints for us to get this working...
|
|
| Back to top |
|
 |
zypres1
Level: 43

Position: Registered User
Joined: 24 Oct 2011
Posts: 209
Kel: 22 [ Donate ]
Online Status: Offline
|
Posted: Sun Feb 12, 2012 9:55 am Post subject: Finish |
|
|
Please let us finish Blarget2's idea...
We now got negative prerequisites http://bugs.open-ra.org/issues/1323,
next step is fixing tower expansions, etc: building from tower...
I could have done anything wrong, or the code does not allows it currently..
|
|
| Back to top |
|
 |
|