Search found 111 matches
- 18 Mar 2011, 04:38
- Forum: Game Development
- Topic: AirField/Neutral Side/Radar Icons
- Replies: 15
- Views: 4688
Re: AirField/Neutral Side/Radar Icons
Hey. I did some try out for the radar. I created a widget that will read the value I want for the radar icon. Different unit different value. Code here: function widget:GetInfo(0 return { name = "Radar Icon Sizing", desc = " Different Radar Icon Size for different unit", author =...
- 18 Mar 2011, 01:47
- Forum: Game Development
- Topic: AirField/Neutral Side/Radar Icons
- Replies: 15
- Views: 4688
Re: AirField/Neutral Side/Radar Icons
For the radaricon, if I would like to resize it based on the unit footprint? I should script it in icontypes.lua too? Basically there is no building of aircraft, the aircraft spawns with the airfield at the begining of the game and it will return/land to the start point at low fuel/health. Neddie, t...
- 17 Mar 2011, 08:49
- Forum: Game Development
- Topic: AirField/Neutral Side/Radar Icons
- Replies: 15
- Views: 4688
Re: AirField/Neutral Side/Radar Icons
Hey! Am looking an aircraft with its own landing field. Don't need much fancy infranstructure maybe a circle to represent. The aircraft with the landing field will spawn with individual aircraft. And when health/fuels reaches a certain level the aircraft will return to the airfield automatically to ...
- 16 Mar 2011, 07:52
- Forum: Game Development
- Topic: AirField/Neutral Side/Radar Icons
- Replies: 15
- Views: 4688
Re: AirField/Neutral Side/Radar Icons
Thanks SirMaverick! Your link to the neutral units really helped alot =) For the airfield, any idea how it is scripted? or how should I go about doing it? For RadarIcon types, say I would like to resize the size of the icon. I won't be able to do it in gamedata/icontypes.lua correct? Thanks! =D
- 16 Mar 2011, 07:49
- Forum: Game Development
- Topic: Weapons Selection
- Replies: 21
- Views: 2491
Re: Weapons Selection
Spring.SetUnitTarget??
I couldn't find anything on Spring.SetWeaponTarget
How I should go about writing the script/gadget?
I couldn't find anything on Spring.SetWeaponTarget
How I should go about writing the script/gadget?
- 15 Mar 2011, 11:34
- Forum: Game Development
- Topic: AirField/Neutral Side/Radar Icons
- Replies: 15
- Views: 4688
AirField/Neutral Side/Radar Icons
Hey! I was wondering if it is possible to do the following: 1. Create an airfield and have aircrafts land at the airfield when fuel/ammo low or after completing the attack mission? 2. Neutral Side Is it possible to create a neutral side that on sight of it our units won't fire at them? Basically thi...
- 15 Mar 2011, 11:29
- Forum: Game Development
- Topic: Weapons Selection
- Replies: 21
- Views: 2491
Re: Weapons Selection
Dgun doesn't seem to work as well as it meant to. Sometimes I can fire the weapon from my ship sometimes I couldn't. Anyway, I was thinking of creating a button that fires weapon 1 to where the cursor is. I know how to create a new command and draw the box etc. But how do I call the command attack f...
- 11 Mar 2011, 08:05
- Forum: Game Development
- Topic: Weapons Selection
- Replies: 21
- Views: 2491
Weapons Selection
Hi, I was wondering if it is possible to like create a button for each specific weapon of a unit so the user could choose which weapon and select which enemy to attack? For e.g. If I have a tank, and have weapon 1 and weapon 2 Is it possible for the user to select weapon 1 then the enemy 1 to use we...
- 11 Mar 2011, 04:38
- Forum: Game Development
- Topic: Content Error
- Replies: 6
- Views: 886
Re: Content Error
yup. I deleted the in /bitmaps/projectiletextures. however the errror still exist.
- 11 Mar 2011, 03:03
- Forum: Game Development
- Topic: Content Error
- Replies: 6
- Views: 886
Re: Content Error
I have deleted the thumbs.db files I can find in my spring folder. but the same error occurs. Any suggestions?
Thanks
Thanks
- 11 Mar 2011, 02:22
- Forum: Game Development
- Topic: Content Error
- Replies: 6
- Views: 886
Content Error
After doing modification for a few days when I want to start a game I will receive the error:
Content Error
Could not load texture from file/bitmaps/projectiletextures/thumbs.db
However I have make no changes in the bitmaps folder.
Does any receive the same errors as well?
Content Error
Could not load texture from file/bitmaps/projectiletextures/thumbs.db
However I have make no changes in the bitmaps folder.
Does any receive the same errors as well?
- 03 Mar 2011, 11:01
- Forum: Game Development
- Topic: Font:WrapText
- Replies: 6
- Views: 1237
Re: Font:WrapText
Thanks lots!
I manage to get it to work =D
I manage to get it to work =D
- 03 Mar 2011, 01:59
- Forum: Game Development
- Topic: Font:WrapText
- Replies: 6
- Views: 1237
Re: Font:WrapText
I tried this:
wrappedText, lineCount = myFont:WrapText("text to wrapped", 30, 30, 30 )
myFont:Print(wrappedText,x,y,fontsize,"O")
My results are:
text to ...
it doesn't seem to insert \n
Any ideas?
wrappedText, lineCount = myFont:WrapText("text to wrapped", 30, 30, 30 )
myFont:Print(wrappedText,x,y,fontsize,"O")
My results are:
text to ...
it doesn't seem to insert \n
Any ideas?
- 03 Mar 2011, 01:13
- Forum: Game Development
- Topic: Font:WrapText
- Replies: 6
- Views: 1237
Re: Font:WrapText
if you write it with the [] brackets it doesn't work at all.
I think they are use to explain how it works.
Any ideas? thanks.
I think they are use to explain how it works.
Any ideas? thanks.
- 02 Mar 2011, 05:38
- Forum: Game Development
- Topic: Customise Command Bar
- Replies: 3
- Views: 1148
Re: Customise Command Bar
Using this command you could change the image.
Spring.EditUnitCmdDesc(u,cmdID, {name="", texture="file location",})
name="", so you remove the text and the image will be what at the file location.
Spring.EditUnitCmdDesc(u,cmdID, {name="", texture="file location",})
name="", so you remove the text and the image will be what at the file location.
- 02 Mar 2011, 05:09
- Forum: Game Development
- Topic: Font:WrapText
- Replies: 6
- Views: 1237
Font:WrapText
Hi hi,
Anyone know how does Font:WrapText work?
I wrote this line:
FontWrapText("Please press Shift and type you current plan.",15,10,15)
but nothing was printed.
Thanks.
Anyone know how does Font:WrapText work?
I wrote this line:
FontWrapText("Please press Shift and type you current plan.",15,10,15)
but nothing was printed.
Thanks.
- 28 Feb 2011, 02:18
- Forum: Game Development
- Topic: Customise Command Bar
- Replies: 3
- Views: 1148
Re: Customise Command Bar
yup! after much attempt and reserach I manage to customise the move button etc.
However, is it possible to remove the text 'MOVE' ? or 'STOP' etc?
However, is it possible to remove the text 'MOVE' ? or 'STOP' etc?
- 25 Feb 2011, 02:18
- Forum: Game Development
- Topic: Customise Command Bar
- Replies: 3
- Views: 1148
Customise Command Bar
Hi hi!
Does anyone know if it is possible to change the default command for eg. 'ATTACK', 'MOVE' to images instead?
How should I go about it?
Thanks!
Does anyone know if it is possible to change the default command for eg. 'ATTACK', 'MOVE' to images instead?
How should I go about it?
Thanks!
- 24 Feb 2011, 01:24
- Forum: Map Tutorials & Resources
- Topic: New Mapping Tool - "SpringMapEdit" - r321
- Replies: 391
- Views: 121540
Re: New Mapping Tool - "SpringMapEdit" - r1335
SpringLobby.
When I load the map and want to start the game that error pop out. =X
When I load the map and want to start the game that error pop out. =X
- 23 Feb 2011, 09:45
- Forum: Map Tutorials & Resources
- Topic: New Mapping Tool - "SpringMapEdit" - r321
- Replies: 391
- Views: 121540
Re: New Mapping Tool - "SpringMapEdit" - r1335
Yup, I did that.
I met with the following error
Content Error MapInfo
Thanks
I met with the following error
Content Error MapInfo
Thanks